mirror of
https://github.com/ld3z/new-manga.git
synced 2026-11-09 20:43:45 -07:00
add new background
This commit is contained in:
parent
cab117689a
commit
4d5aa3bc81
1 changed files with 33 additions and 21 deletions
|
|
@ -11,32 +11,44 @@ interface BackgroundImage {
|
|||
|
||||
export const backgrounds: BackgroundImage[] = [
|
||||
{
|
||||
url: 'https://cdn.donmai.us/original/97/c8/__citlali_genshin_impact_drawn_by_ryrmcher__97c810ff6e992f1789f93e2edbb683a3.jpg',
|
||||
title: 'Citlali (Genshin Impact)',
|
||||
artist: 'ryrmcher',
|
||||
source: 'https://danbooru.donmai.us/posts/6148600',
|
||||
url: "https://cdn.donmai.us/original/97/c8/__citlali_genshin_impact_drawn_by_ryrmcher__97c810ff6e992f1789f93e2edbb683a3.jpg",
|
||||
title: "Citlali (Genshin Impact)",
|
||||
artist: "ryrmcher",
|
||||
source: "https://danbooru.donmai.us/posts/6148600",
|
||||
socials: [
|
||||
{
|
||||
name: "Twitter Post",
|
||||
link: "https://x.com/ryrmcher/status/1878812100866560258"
|
||||
link: "https://x.com/ryrmcher/status/1878812100866560258",
|
||||
},
|
||||
{
|
||||
name: "Artist's Twitter",
|
||||
link: "https://x.com/ryrmcher"
|
||||
}
|
||||
]
|
||||
link: "https://x.com/ryrmcher",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
url: 'https://cdn.donmai.us/original/b9/f3/__original_drawn_by_ayanagi0319__b9f35c4a2460a2b9b3755a254f32624a.png',
|
||||
title: 'ひとりぼっちのあさ',
|
||||
artist: 'ayanagi0319',
|
||||
source: 'https://danbooru.donmai.us/posts/6900673',
|
||||
url: "https://cdn.donmai.us/original/b9/f3/__original_drawn_by_ayanagi0319__b9f35c4a2460a2b9b3755a254f32624a.png",
|
||||
title: "ひとりぼっちのあさ",
|
||||
artist: "ayanagi0319",
|
||||
source: "https://danbooru.donmai.us/posts/6900673",
|
||||
socials: [
|
||||
{
|
||||
name: "Twitter",
|
||||
link: "https://twitter.com/ayanagi0319"
|
||||
}
|
||||
]
|
||||
link: "https://twitter.com/ayanagi0319",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
url: "https://cdn.donmai.us/original/08/c3/__patchouli_knowledge_touhou_drawn_by_kame_kamepan44231__08c3d75d5ee4a046b2a0f2415f0add5a.jpg",
|
||||
title: "読書",
|
||||
artist: "かめぱすた",
|
||||
source: "https://danbooru.donmai.us/posts/8743208?",
|
||||
socials: [
|
||||
{
|
||||
name: "Twitter",
|
||||
link: "https://x.com/kamepan44231",
|
||||
},
|
||||
],
|
||||
},
|
||||
// Add more backgrounds here!
|
||||
// {
|
||||
|
|
@ -54,11 +66,11 @@ 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',
|
||||
title: 'Citlali (Genshin Impact)',
|
||||
artist: 'ryrmcher',
|
||||
source: 'https://danbooru.donmai.us/posts/6148600',
|
||||
socials: []
|
||||
url: "https://cdn.donmai.us/original/97/c8/__citlali_genshin_impact_drawn_by_ryrmcher__97c810ff6e992f1789f93e2edbb683a3.jpg",
|
||||
title: "Citlali (Genshin Impact)",
|
||||
artist: "ryrmcher",
|
||||
source: "https://danbooru.donmai.us/posts/6148600",
|
||||
socials: [],
|
||||
};
|
||||
}
|
||||
return backgrounds[Math.floor(Math.random() * backgrounds.length)];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue