Add wallpaper picker and compression script

This commit is contained in:
SirBlob committed 2026-11-01 22:05:40 -05:00
1 parent d81ec1b057
commit 8342304354
11 files changed
+392 -7

No files matched your search

+4 -1
View File
@@ -12,6 +12,7 @@ import researchData from '#content/projects/research.json';
import organizationsData from '#content/projects/organizations.json';
import tcgDecksData from '#content/tcgDecks.json';
import booksData from '#content/books.json';
import wallpapersData from '#content/wallpapers.json';
import type {
AboutContent,
BlogSettings,
@@ -25,7 +26,8 @@ import type {
ProjectCategory,
ProjectCategoryId,
ResearchGroup,
TcgDeck
TcgDeck,
Wallpaper
} from './types';
export type * from './types';
@@ -40,6 +42,7 @@ export const playlist: Playlist = musicData;
export const researchGroups: ResearchGroup[] = researchData;
export const tcgDecks: TcgDeck[] = tcgDecksData as TcgDeck[];
export const books: Book[] = booksData as Book[];
export const wallpapers: Wallpaper[] = wallpapersData as Wallpaper[];
function featuredFirst(projects: Project[]): Project[] {
return [...projects].sort((first, second) => Number(!!second.featured) - Number(!!first.featured));