Compare commits

..

No commits in common. "55231de6eccf366baf1d0e4769af776151f2457c" and "15ebe7873312710164865dd69b2da9a177086e66" have entirely different histories.

6 changed files with 2 additions and 120 deletions

View file

@ -1,7 +1,7 @@
{
"name": "fgo-ta-com-website",
"type": "module",
"version": "0.2.2-pre.12",
"version": "0.2.2-pre.11",
"scripts": {
"dev": "astro dev",
"start": "astro dev",

View file

@ -1,11 +0,0 @@
{
"info": {
"title": "Scathach-Skadi (Ruler)",
"releaseDate": "2024-07-24",
"shortdescription": "Release of Scathach-Skadi (Ruler) during the Arctic Summer World Event",
"releaseNumber": 1,
"type": "event"
},
"link": "https://apps.atlasacademy.io/db/NA/servant/357/",
"color": "#0eb31d"
}

View file

@ -1,10 +0,0 @@
{
"info": {
"title": "Lostbelt 6.5 - Traum",
"releaseDate": "2024-05-13",
"shortdescription": "An Interlude of sorts that brings some new challenging content centered around a nation build of servants",
"releaseNumber": 1,
"type": "group"
}
}

View file

@ -1,33 +0,0 @@
{
"info": {
"title": "Arctic Summer World",
"releaseDate": "2024-07-18",
"shortdescription": "An expedition to the endless summer festival at the North Pole, orchestrated by Skadi - what could possibly happen here?",
"releaseNumber": 1,
"type": "quest"
},
"quests": [
{
"questTitle": "Arctic Summer Memory",
"description": "Battling against the Valkyries and the whole cast of the event - definitely a fun experience",
"data": [
{
"title": "Summer Skadi 4T (FLO)",
"link": "https://www.youtube.com/watch?v=VD2FOa9lymE",
"date": "2024-07-28",
"servant": "summerskadi",
"turns": "4T",
"runner": "Firq"
},
{
"title": "Summer Skadi 4T (Lvl. 2)",
"link": "https://www.youtube.com/watch?v=ozgDQF_vMPQ",
"date": "2024-07-27",
"servant": "summerskadi",
"turns": "4T",
"runner": "Requiem"
}
]
}
]
}

View file

@ -1,64 +0,0 @@
{
"info": {
"title": "Zhang Jue",
"releaseDate": "2024-05-13",
"shortdescription": "A fight against a general that uses his servants as meat shields - what a way trying to survive an assassination.",
"releaseNumber": 1
},
"quests": [
{
"questTitle": "Zhang Jue",
"description": "",
"data": [
{
"title": "Skadi 2T",
"link": "https://youtu.be/OtNYsaM13G4",
"date": "2024-05-14",
"servant": "skadi",
"turns": "2T",
"runner": "Firq"
},
{
"title": "Baobhan 2T",
"link": "https://www.youtube.com/watch?v=GmUUF0aiXik",
"date": "2024-05-18",
"servant": "baobhansith",
"turns": "2T",
"runner": "Mikazuki"
},
{
"title": "Melusine 2T",
"link": "https://www.youtube.com/watch?v=9X5Znfw6dWk",
"date": "2024-05-20",
"servant": "melusine_aoe",
"turns": "2T",
"runner": "TokuHer0"
},
{
"title": "Nero (Caster) 2T",
"link": "https://www.youtube.com/watch?v=-rK9rpJIFDA",
"date": "2024-05-20",
"servant": "nerocaster",
"turns": "2T",
"runner": "Lutrec"
},
{
"title": "Morgan 2T",
"link": "https://www.youtube.com/watch?v=8mg123LnifQ",
"date": "2024-05-14",
"servant": "morgan",
"turns": "2T",
"runner": "Loki"
},
{
"title": "Bazett 1T",
"link": "https://www.youtube.com/watch?v=Zgn8tlXStiI",
"date": "2024-05-22",
"servant": "bazett",
"turns": "1T",
"runner": "Mikazuki"
}
]
}
]
}

View file

@ -52,7 +52,7 @@ export async function getStaticPaths() {
const full = slugdata.concat(groups as any)
full.map((data) => {
if (data.group) {
const coll = fulldata.filter((d) => d.id.split("/", 1)[0] == data.slug)
const coll = fulldata.filter((d) => d.id.startsWith(data.slug))
data.questinfo = coll.map((d) => {
return { slug: d.id, info: d.data.info }
})