Add wallpaper picker and compression script
This commit is contained in:
1 parent
d81ec1b057
commit
8342304354
11 files changed
+392
-7
No files matched your search
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user