diff --git a/public/numi.webp b/public/numi.webp new file mode 100644 index 0000000..795eb44 Binary files /dev/null and b/public/numi.webp differ diff --git a/public/shylily.webp b/public/shylily.webp new file mode 100644 index 0000000..8b4561d Binary files /dev/null and b/public/shylily.webp differ diff --git a/src/config/backgrounds.ts b/src/config/backgrounds.ts index 4179bc8..724c8b1 100644 --- a/src/config/backgrounds.ts +++ b/src/config/backgrounds.ts @@ -11,7 +11,7 @@ interface BackgroundImage { export const backgrounds: BackgroundImage[] = [ { - url: '/citali.webp', + url: "/citali.webp", title: "Citlali (Genshin Impact)", artist: "ryrmcher", source: "https://danbooru.donmai.us/posts/6148600", @@ -42,7 +42,7 @@ export const backgrounds: BackgroundImage[] = [ url: "/original.webp", title: "読書", artist: "kamepan44231 - かめぱすた", - source: "https://danbooru.donmai.us/posts/8743208?", + source: "https://danbooru.donmai.us/posts/8743208", socials: [ { name: "Twitter", @@ -50,6 +50,30 @@ export const backgrounds: BackgroundImage[] = [ }, ], }, + { + url: "/numi.webp", + title: "Original", + artist: "Nnnoira", + source: "https://danbooru.donmai.us/posts/8571660", + socials: [ + { + name: "Twitter", + link: "https://x.com/Nnnoira", + }, + ], + }, + { + url: "/shylily.webp", + title: "Original", + artist: "greatodoggo", + source: "https://www.pixiv.net/en/artworks/124222053", + socials: [ + { + name: "Twitter", + link: "https://twitter.com/greatodoggo", + }, + ], + }, // Add more backgrounds here! // { // url: 'your-image-url', @@ -66,7 +90,7 @@ export function getRandomBackground(): BackgroundImage { if (backgrounds.length === 0) { // Fallback background if array is empty return { - url: "https://cdn.donmai.us/original/97/c8/__citlali_genshin_impact_drawn_by_ryrmcher__97c810ff6e992f1789f93e2edbb683a3.jpg", + url: "/citali.webp", title: "Citlali (Genshin Impact)", artist: "ryrmcher", source: "https://danbooru.donmai.us/posts/6148600", @@ -77,7 +101,7 @@ export function getRandomBackground(): BackgroundImage { } export function preloadBackgrounds() { - backgrounds.forEach(bg => { + backgrounds.forEach((bg) => { const img = new Image(); img.src = bg.url; });