Add desktop games, robot pet and TCG app
This commit is contained in:
1 parent
812503251b
commit
c664f573b8
55 files changed
+5090
-15
No files matched your search
@@ -10,6 +10,7 @@ import packagesData from '#content/projects/packages.json';
|
||||
import hackathonsData from '#content/projects/hackathons.json';
|
||||
import researchData from '#content/projects/research.json';
|
||||
import organizationsData from '#content/projects/organizations.json';
|
||||
import tcgDecksData from '#content/tcgDecks.json';
|
||||
import type {
|
||||
AboutContent,
|
||||
BlogSettings,
|
||||
@@ -21,7 +22,8 @@ import type {
|
||||
Project,
|
||||
ProjectCategory,
|
||||
ProjectCategoryId,
|
||||
ResearchGroup
|
||||
ResearchGroup,
|
||||
TcgDeck
|
||||
} from './types';
|
||||
|
||||
export type * from './types';
|
||||
@@ -34,6 +36,7 @@ export const desktop: DesktopContent = desktopData;
|
||||
export const blogSettings: BlogSettings = blogData;
|
||||
export const playlist: Playlist = musicData;
|
||||
export const researchGroups: ResearchGroup[] = researchData;
|
||||
export const tcgDecks: TcgDeck[] = tcgDecksData as TcgDeck[];
|
||||
|
||||
function featuredFirst(projects: Project[]): Project[] {
|
||||
return [...projects].sort((first, second) => Number(!!second.featured) - Number(!!first.featured));
|
||||
|
||||
Reference in new issue
Block a user