Show Goodreads books on about page

This commit is contained in:
SirBlob committed 2026-11-01 20:46:34 -05:00
1 parent a2ffd45442
commit 0cfebc385f
12 files changed
+673 -213

No files matched your search

+3
View File
@@ -11,9 +11,11 @@ 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 booksData from '#content/books.json';
import type {
AboutContent,
BlogSettings,
Book,
DesktopContent,
Experience,
Leadership,
@@ -37,6 +39,7 @@ export const blogSettings: BlogSettings = blogData;
export const playlist: Playlist = musicData;
export const researchGroups: ResearchGroup[] = researchData;
export const tcgDecks: TcgDeck[] = tcgDecksData as TcgDeck[];
export const books: Book[] = booksData as Book[];
function featuredFirst(projects: Project[]): Project[] {
return [...projects].sort((first, second) => Number(!!second.featured) - Number(!!first.featured));