diff --git a/package.json b/package.json index 6917af9..1bc5606 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "fgo-ta-com-website", "type": "module", - "version": "0.2.2-pre.14", + "version": "0.2.2-pre.15", "scripts": { "dev": "astro dev", "start": "astro dev", diff --git a/src/assets/ta_servants/167.png b/src/assets/ta_servants/167.png new file mode 100644 index 0000000..6bd7753 Binary files /dev/null and b/src/assets/ta_servants/167.png differ diff --git a/src/assets/ta_servants/340.png b/src/assets/ta_servants/340.png new file mode 100644 index 0000000..63b9e36 Binary files /dev/null and b/src/assets/ta_servants/340.png differ diff --git a/src/components/smallTitle.astro b/src/components/smallTitle.astro index 279cc44..c138276 100644 --- a/src/components/smallTitle.astro +++ b/src/components/smallTitle.astro @@ -11,12 +11,20 @@ export interface Props { const { maintext, subtext, fadeout, baseurl, returnbutton } = Astro.props const displayFadeout = fadeout ? "": "display: none" const displayBackButton = returnbutton ? "": "display: none" + +let text +if (baseurl) { + text = baseurl?.split("/").pop() + text = text?.replace("-", " ").replace("-", ".") + text = text?.includes('eq 20') ? text?.replace("eq", "EQ") : text +} + ---
{maintext}
{subtext}
- << Back to {baseurl} + << Back to {text}
diff --git a/src/content/config.ts b/src/content/config.ts index 267cd1f..14ecdfb 100644 --- a/src/content/config.ts +++ b/src/content/config.ts @@ -53,5 +53,6 @@ export const collections = { taInfoData: taData, teslafest: taData, groups: groupDescription, + teslafestgroups: groupDescription, changes: changes, } diff --git a/src/content/taInfoData/lostbelt-6-5/kiyohime.json b/src/content/taInfoData/lostbelt-6-5/kiyohime.json new file mode 100644 index 0000000..ae0ed8c --- /dev/null +++ b/src/content/taInfoData/lostbelt-6-5/kiyohime.json @@ -0,0 +1,48 @@ +{ + "info": { + "title": "Kiyohime", + "releaseDate": "2024-05-13", + "shortdescription": "Help, there is an angry dragon snek that wants to burn me for slightly lying to her", + "releaseNumber": 2 + }, + "quests": [ + { + "questTitle": "Kiyohime", + "description": "", + "data": [ + { + "title": "S.Karna Karna Arjuna Junao 5T", + "link": "https://youtu.be/f039x5OIl6E", + "date": "2024-05-18", + "servant": "247", + "turns": "5T", + "runner": "Akise" + }, + { + "title": "Baobhan Arash Habetrot 5T", + "link": "https://www.youtube.com/watch?v=a7V5W8MkxO8", + "date": "2024-05-31", + "servant": "311", + "turns": "5T", + "runner": "Mikazuki" + }, + { + "title": "Cindereli Habenya Douman Arash 5T", + "link": "https://www.youtube.com/watch?v=7Z0Fn8tBV4E", + "date": "2024-05-14", + "servant": "326", + "turns": "5T", + "runner": "Loki" + }, + { + "title": "Daikokuten 5T", + "link": "https://www.youtube.com/watch?v=Q7v_joSJmNg", + "date": "2024-05-20", + "servant": "340", + "turns": "5T", + "runner": "TokuHer0" + } + ] + } + ] +} diff --git a/src/content/taInfoData/lostbelt-6-5/kriemhild.json b/src/content/taInfoData/lostbelt-6-5/kriemhild.json new file mode 100644 index 0000000..9e4c422 --- /dev/null +++ b/src/content/taInfoData/lostbelt-6-5/kriemhild.json @@ -0,0 +1,64 @@ +{ + "info": { + "title": "Kriemhild", + "releaseDate": "2024-05-13", + "shortdescription": "Trying to get Kriemhild acting sane when she's a Berserker and pitted against her husband - Challenge Impossible", + "releaseNumber": 3 + }, + "quests": [ + { + "questTitle": "Kriemhild", + "description": "", + "data": [ + { + "title": "Skadi 2T", + "link": "https://youtu.be/OtNYsaM13G4", + "date": "2024-05-14", + "servant": "215", + "turns": "2T", + "runner": "Firq" + }, + { + "title": "Baobhan 2T", + "link": "https://www.youtube.com/watch?v=GmUUF0aiXik", + "date": "2024-05-18", + "servant": "311", + "turns": "2T", + "runner": "Mikazuki" + }, + { + "title": "Melusine 2T", + "link": "https://www.youtube.com/watch?v=9X5Znfw6dWk", + "date": "2024-05-20", + "servant": "312_aoe", + "turns": "2T", + "runner": "TokuHer0" + }, + { + "title": "Nero (Caster) 2T", + "link": "https://www.youtube.com/watch?v=-rK9rpJIFDA", + "date": "2024-05-20", + "servant": "175", + "turns": "2T", + "runner": "Lutrec" + }, + { + "title": "Morgan 2T", + "link": "https://www.youtube.com/watch?v=8mg123LnifQ", + "date": "2024-05-14", + "servant": "309", + "turns": "2T", + "runner": "Loki" + }, + { + "title": "Bazett 1T", + "link": "https://www.youtube.com/watch?v=Zgn8tlXStiI", + "date": "2024-05-22", + "servant": "336", + "turns": "1T", + "runner": "Mikazuki" + } + ] + } + ] +} diff --git a/src/content/taInfoData/lostbelt-6-5/moriarty.json b/src/content/taInfoData/lostbelt-6-5/moriarty.json new file mode 100644 index 0000000..593329c --- /dev/null +++ b/src/content/taInfoData/lostbelt-6-5/moriarty.json @@ -0,0 +1,80 @@ +{ + "info": { + "title": "Moriarty", + "releaseDate": "2024-05-13", + "shortdescription": "The epic showdown at the Reichenbach Falls - A worthy finale against the Big Bad Evil of this Lostbelt", + "releaseNumber": 4 + }, + "quests": [ + { + "questTitle": "Moriarty", + "description": "", + "data": [ + { + "title": "Nero Bride 4T", + "link": "https://www.youtube.com/watch?v=wWM5yvCeiIA", + "date": "2024-05-25", + "servant": "90", + "turns": "4T", + "runner": "Lutrec" + }, + { + "title": "Morgan 4T", + "link": "https://www.youtube.com/watch?v=42pTDuQwsQg", + "date": "2024-05-16", + "servant": "309", + "turns": "4T", + "runner": "Loki" + }, + { + "title": "Arjuna Alter 4T (FLO)", + "link": "https://www.youtube.com/watch?v=egmZQvRseX8", + "date": "2024-05-23", + "servant": "247", + "turns": "4T", + "runner": "Akise" + }, + { + "title": "Da Vinci Ruler 4T", + "link": "https://www.youtube.com/watch?v=LUFHZXy0F14", + "date": "2024-05-27", + "servant": "320", + "turns": "4T", + "runner": "Lutrec" + }, + { + "title": "Taira 4T", + "link": "https://www.youtube.com/watch?v=qU_9PFh04Og", + "date": "2024-05-19", + "servant": "303", + "turns": "4T", + "runner": "Patrick Bandeira" + }, + { + "title": "Taira 4T (Solo)", + "link": "https://www.youtube.com/watch?v=PaTeIqKSdVA", + "date": "2024-05-16", + "servant": "303", + "turns": "4T", + "runner": "Felt" + }, + { + "title": "Bazett 3T", + "link": "https://www.youtube.com/watch?v=_7vDBCqLlhU", + "date": "2024-05-21", + "servant": "336", + "turns": "3T", + "runner": "TokuHer0" + }, + { + "title": "Kiara 4T", + "link": "https://www.youtube.com/watch?v=gEa8VJOy2Eg", + "date": "2024-05-19", + "servant": "167", + "turns": "4T", + "runner": "im poketar" + } + ] + } + ] +} diff --git a/src/content/teslafest/cq-teslafest.json b/src/content/teslafest/challenge-quest.json similarity index 100% rename from src/content/teslafest/cq-teslafest.json rename to src/content/teslafest/challenge-quest.json diff --git a/src/content/teslafest/eq-2020-finale-ii.json b/src/content/teslafest/eq-2020/eq-2020-finale-ii.json similarity index 100% rename from src/content/teslafest/eq-2020-finale-ii.json rename to src/content/teslafest/eq-2020/eq-2020-finale-ii.json diff --git a/src/content/teslafest/eq-2020-flame-gate.json b/src/content/teslafest/eq-2020/eq-2020-flame-gate.json similarity index 100% rename from src/content/teslafest/eq-2020-flame-gate.json rename to src/content/teslafest/eq-2020/eq-2020-flame-gate.json diff --git a/src/content/teslafest/eq-2020-jaguar-forest.json b/src/content/teslafest/eq-2020/eq-2020-jaguar-forest.json similarity index 100% rename from src/content/teslafest/eq-2020-jaguar-forest.json rename to src/content/teslafest/eq-2020/eq-2020-jaguar-forest.json diff --git a/src/content/teslafest/eq-2020-pawn-shop.json b/src/content/teslafest/eq-2020/eq-2020-pawn-shop.json similarity index 100% rename from src/content/teslafest/eq-2020-pawn-shop.json rename to src/content/teslafest/eq-2020/eq-2020-pawn-shop.json diff --git a/src/content/teslafest/eq-2020-rice-ball-shop.json b/src/content/teslafest/eq-2020/eq-2020-rice-ball-shop.json similarity index 100% rename from src/content/teslafest/eq-2020-rice-ball-shop.json rename to src/content/teslafest/eq-2020/eq-2020-rice-ball-shop.json diff --git a/src/content/teslafest/eq-2020-skyscraper-monster.json b/src/content/teslafest/eq-2020/eq-2020-skyscraper-monster.json similarity index 100% rename from src/content/teslafest/eq-2020-skyscraper-monster.json rename to src/content/teslafest/eq-2020/eq-2020-skyscraper-monster.json diff --git a/src/content/teslafest/eq-2020-sweet-universe.json b/src/content/teslafest/eq-2020/eq-2020-sweet-universe.json similarity index 100% rename from src/content/teslafest/eq-2020-sweet-universe.json rename to src/content/teslafest/eq-2020/eq-2020-sweet-universe.json diff --git a/src/content/teslafest/eq-2021-bewitched.json b/src/content/teslafest/eq-2021/eq-2021-bewitched.json similarity index 100% rename from src/content/teslafest/eq-2021-bewitched.json rename to src/content/teslafest/eq-2021/eq-2021-bewitched.json diff --git a/src/content/teslafest/eq-2021-bride-main-event.json b/src/content/teslafest/eq-2021/eq-2021-bride-main-event.json similarity index 100% rename from src/content/teslafest/eq-2021-bride-main-event.json rename to src/content/teslafest/eq-2021/eq-2021-bride-main-event.json diff --git a/src/content/teslafest/eq-2021-catch-the-clown.json b/src/content/teslafest/eq-2021/eq-2021-catch-the-clown.json similarity index 100% rename from src/content/teslafest/eq-2021-catch-the-clown.json rename to src/content/teslafest/eq-2021/eq-2021-catch-the-clown.json diff --git a/src/content/teslafest/eq-2021-crimson-hero.json b/src/content/teslafest/eq-2021/eq-2021-crimson-hero.json similarity index 100% rename from src/content/teslafest/eq-2021-crimson-hero.json rename to src/content/teslafest/eq-2021/eq-2021-crimson-hero.json diff --git a/src/content/teslafest/eq-2021-finale-ii.json b/src/content/teslafest/eq-2021/eq-2021-finale-ii.json similarity index 100% rename from src/content/teslafest/eq-2021-finale-ii.json rename to src/content/teslafest/eq-2021/eq-2021-finale-ii.json diff --git a/src/content/teslafest/eq-2021-gorgon-sisters.json b/src/content/teslafest/eq-2021/eq-2021-gorgon-sisters.json similarity index 100% rename from src/content/teslafest/eq-2021-gorgon-sisters.json rename to src/content/teslafest/eq-2021/eq-2021-gorgon-sisters.json diff --git a/src/content/teslafest/eq-2021-green-comet.json b/src/content/teslafest/eq-2021/eq-2021-green-comet.json similarity index 100% rename from src/content/teslafest/eq-2021-green-comet.json rename to src/content/teslafest/eq-2021/eq-2021-green-comet.json diff --git a/src/content/teslafest/gc-akihabara-explosion.json b/src/content/teslafest/giga-coil/gc-akihabara-explosion.json similarity index 100% rename from src/content/teslafest/gc-akihabara-explosion.json rename to src/content/teslafest/giga-coil/gc-akihabara-explosion.json diff --git a/src/content/teslafest/gc-fate-requiem.json b/src/content/teslafest/giga-coil/gc-fate-requiem.json similarity index 100% rename from src/content/teslafest/gc-fate-requiem.json rename to src/content/teslafest/giga-coil/gc-fate-requiem.json diff --git a/src/content/teslafest/gc-gudaguda-2021.json b/src/content/teslafest/giga-coil/gc-gudaguda-2021.json similarity index 100% rename from src/content/teslafest/gc-gudaguda-2021.json rename to src/content/teslafest/giga-coil/gc-gudaguda-2021.json diff --git a/src/content/teslafest/gc-saber-wars-2.json b/src/content/teslafest/giga-coil/gc-saber-wars-2.json similarity index 100% rename from src/content/teslafest/gc-saber-wars-2.json rename to src/content/teslafest/giga-coil/gc-saber-wars-2.json diff --git a/src/content/teslafest/gc-summer-2021.json b/src/content/teslafest/giga-coil/gc-summer-2021.json similarity index 100% rename from src/content/teslafest/gc-summer-2021.json rename to src/content/teslafest/giga-coil/gc-summer-2021.json diff --git a/src/content/teslafest/gc-valentines-2023.json b/src/content/teslafest/giga-coil/gc-valentines-2023.json similarity index 100% rename from src/content/teslafest/gc-valentines-2023.json rename to src/content/teslafest/giga-coil/gc-valentines-2023.json diff --git a/src/content/teslafest/gc-white-day-2023.json b/src/content/teslafest/giga-coil/gc-white-day-2023.json similarity index 100% rename from src/content/teslafest/gc-white-day-2023.json rename to src/content/teslafest/giga-coil/gc-white-day-2023.json diff --git a/src/content/teslafest/mc-amazoness-crisis.json b/src/content/teslafest/mega-coil/mc-amazoness-crisis.json similarity index 100% rename from src/content/teslafest/mc-amazoness-crisis.json rename to src/content/teslafest/mega-coil/mc-amazoness-crisis.json diff --git a/src/content/teslafest/mc-christmas-2018.json b/src/content/teslafest/mega-coil/mc-christmas-2018.json similarity index 100% rename from src/content/teslafest/mc-christmas-2018.json rename to src/content/teslafest/mega-coil/mc-christmas-2018.json diff --git a/src/content/teslafest/mc-halloween-2019.json b/src/content/teslafest/mega-coil/mc-halloween-2019.json similarity index 100% rename from src/content/teslafest/mc-halloween-2019.json rename to src/content/teslafest/mega-coil/mc-halloween-2019.json diff --git a/src/content/teslafest/mc-summer-2018.json b/src/content/teslafest/mega-coil/mc-summer-2018.json similarity index 100% rename from src/content/teslafest/mc-summer-2018.json rename to src/content/teslafest/mega-coil/mc-summer-2018.json diff --git a/src/content/teslafest/mc-summer-2019.json b/src/content/teslafest/mega-coil/mc-summer-2019.json similarity index 100% rename from src/content/teslafest/mc-summer-2019.json rename to src/content/teslafest/mega-coil/mc-summer-2019.json diff --git a/src/content/teslafest/mc-valentines-2021.json b/src/content/teslafest/mega-coil/mc-valentines-2021.json similarity index 100% rename from src/content/teslafest/mc-valentines-2021.json rename to src/content/teslafest/mega-coil/mc-valentines-2021.json diff --git a/src/content/teslafest/mc-white-day-2021.json b/src/content/teslafest/mega-coil/mc-white-day-2021.json similarity index 100% rename from src/content/teslafest/mc-white-day-2021.json rename to src/content/teslafest/mega-coil/mc-white-day-2021.json diff --git a/src/content/teslafestgroups/eq-2020.json b/src/content/teslafestgroups/eq-2020.json new file mode 100644 index 0000000..83fc9cf --- /dev/null +++ b/src/content/teslafestgroups/eq-2020.json @@ -0,0 +1,9 @@ +{ + "info": { + "title": "Exhibition Quests 2020", + "releaseDate": "2024-03-15", + "shortdescription": "The return of the 2020 Nerofest Exhibition Quests - time to go for round 2", + "releaseNumber": 1, + "type": "group" + } +} diff --git a/src/content/teslafestgroups/eq-2021.json b/src/content/teslafestgroups/eq-2021.json new file mode 100644 index 0000000..a39f126 --- /dev/null +++ b/src/content/teslafestgroups/eq-2021.json @@ -0,0 +1,9 @@ +{ + "info": { + "title": "Exhibition Quests 2021", + "releaseDate": "2024-03-15", + "shortdescription": "The return of the 2021 Ishtarfest Exhibition Quests - time to run those again", + "releaseNumber": 2, + "type": "group" + } +} diff --git a/src/content/teslafestgroups/giga-coil.json b/src/content/teslafestgroups/giga-coil.json new file mode 100644 index 0000000..68148a5 --- /dev/null +++ b/src/content/teslafestgroups/giga-coil.json @@ -0,0 +1,9 @@ +{ + "info": { + "title": "Giga Coil", + "releaseDate": "2024-03-15", + "shortdescription": "The second collection of old Challenge Quests that requires strategic of servants - let's go again", + "releaseNumber": 4, + "type": "group" + } +} diff --git a/src/content/teslafestgroups/mega-coil.json b/src/content/teslafestgroups/mega-coil.json new file mode 100644 index 0000000..e2d8afb --- /dev/null +++ b/src/content/teslafestgroups/mega-coil.json @@ -0,0 +1,9 @@ +{ + "info": { + "title": "Mega Coil", + "releaseDate": "2024-03-15", + "shortdescription": "A collection of old Challenge Quests that requires strategic use of a full servant roster - be prepared", + "releaseNumber": 3, + "type": "group" + } +} \ No newline at end of file diff --git a/src/layouts/baseSection.astro b/src/layouts/baseSection.astro index 2bf0cad..eea3647 100644 --- a/src/layouts/baseSection.astro +++ b/src/layouts/baseSection.astro @@ -1,15 +1,17 @@ --- export interface Props { title: string + hidetitle?: boolean description: string } -const { title, description } = Astro.props +const { title, hidetitle, description } = Astro.props +const override = hidetitle ? "display: None" : "" ---
-

{title}

-

{description}

+

{title}

+

{description}

diff --git a/src/layouts/taShowcaseLayout.astro b/src/layouts/taShowcaseLayout.astro index c2f77a1..a9eb502 100644 --- a/src/layouts/taShowcaseLayout.astro +++ b/src/layouts/taShowcaseLayout.astro @@ -17,6 +17,7 @@ const { collection, collectionKey, baseurl } = Astro.props const taEntry = await plsLoadTAEntry(collectionKey, collection) const pagetitle = `${taEntry.info.title} - FGO TA` const displaystate = taEntry.quests[0].data.length > 0 ? 'none' : 'flex' +const hidetitle = taEntry.quests.length <= 1 --- 0 ? 'none' : 'flex' /> { taEntry.quests.map((item) => ( - + {item.data .sort((a, b) => b.date.valueOf() - a.date.valueOf()) .map((item) => ( diff --git a/src/pages/database/[...slug].astro b/src/pages/database/[...slug].astro index 9dad6f4..e425539 100644 --- a/src/pages/database/[...slug].astro +++ b/src/pages/database/[...slug].astro @@ -78,6 +78,12 @@ export async function getStaticPaths() { } const { key, group, questinfo, pageinfo } = Astro.props + +let baseurl_return = "database" +if (key.includes("/")) { + baseurl_return = baseurl_return + "/" + key.split("/", 1)[0] +} + --- { @@ -85,7 +91,7 @@ const { key, group, questinfo, pageinfo } = Astro.props ) } diff --git a/src/pages/teslafest/[...slug].astro b/src/pages/teslafest/[...slug].astro new file mode 100644 index 0000000..2527418 --- /dev/null +++ b/src/pages/teslafest/[...slug].astro @@ -0,0 +1,122 @@ +--- +import { getCollection } from 'astro:content' +import TaShowcaseLayout from '../../layouts/taShowcaseLayout.astro' +import Layout from '../../layouts/Layout.astro' +import DatabaseSection from '../../layouts/databaseSection.astro' +import QuestListing from '../../components/listings/questListingCard.astro' +import SmallTitle from '../../components/smallTitle.astro' + +interface store { + slug: string + group: boolean + questinfo: + | undefined + | { + slug: string + info: { + title: string + releaseDate: Date + shortdescription: string + releaseNumber: number + } + }[] + pageinfo: + | undefined + | { + title: string + shortdescription: string + } +} + +export async function getStaticPaths() { + const fulldata = await getCollection('teslafest') + const slugdata: store[] = fulldata.map((data) => { + return { + slug: data.id, + group: false, + questinfo: undefined, + pageinfo: undefined, + } + }) + + const groupdata = await getCollection('teslafestgroups') + const groups: store[] = groupdata.map((data) => { + return { + slug: data.id, + group: true, + questinfo: undefined, + pageinfo: undefined, + } + }) + + 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) + data.questinfo = coll.map((d) => { + return { slug: d.id, info: d.data.info } + }) + data.questinfo.sort( + (a, b) => + b.info.releaseDate.valueOf() - a.info.releaseDate.valueOf() || + b.info.releaseNumber - a.info.releaseNumber + ) + const page = groupdata.find((d) => d.id === data.slug) + data.pageinfo = page?.data.info + } + }) + + return full.map((data) => ({ + params: { slug: data.slug }, + props: { + key: data.slug, + group: data.group, + questinfo: data.questinfo, + pageinfo: data.pageinfo, + }, + })) +} + +const { key, group, questinfo, pageinfo } = Astro.props + +let baseurl_return = "teslafest" +if (key.includes("/")) { + baseurl_return = baseurl_return + "/" + key.split("/", 1)[0] +} + +--- + +{ + !group && ( + + ) +} +{ + group && ( + + + + {questinfo!.map((quest) => ( + + ))} + + + ) +} diff --git a/src/pages/teslafest/[slug].astro b/src/pages/teslafest/[slug].astro deleted file mode 100644 index efc33a1..0000000 --- a/src/pages/teslafest/[slug].astro +++ /dev/null @@ -1,13 +0,0 @@ ---- -import { getCollection } from 'astro:content'; -import TaShowcaseLayout from '../../layouts/taShowcaseLayout.astro' - -export async function getStaticPaths() { - const fulldata = (await getCollection('teslafest')).map((data) => data.id) - return fulldata.map((slug) => ({ params: { slug } })) -} - -const { slug } = Astro.params ---- - - diff --git a/src/pages/teslafest/index.astro b/src/pages/teslafest/index.astro index 4314c3a..3d576b8 100644 --- a/src/pages/teslafest/index.astro +++ b/src/pages/teslafest/index.astro @@ -1,23 +1,28 @@ --- -import { getCollection } from 'astro:content'; +import { getCollection } from 'astro:content' import Layout from '../../layouts/Layout.astro' -import QuestListing from '../../components/listings/questListingCard.astro' +import QuestListing from '../../components/listings/questListingLine.astro' import DatabaseSection from '../../layouts/databaseSection.astro' -import SmallTitle from '../../components/smallTitle.astro'; +import SmallTitle from '../../components/smallTitle.astro' -const description = 'One of the most anticipated events of 2024 - Teslafest. Were the two weeks of time enough for all those quests, even with a parallel lottery?' +const description = + 'One of the most anticipated events of 2024 - Teslafest. Were the two weeks of time enough for all those quests, even with a parallel lottery?' const fulldata = await getCollection('teslafest') +const groups = await getCollection('teslafestgroups') -fulldata.sort( - (a, b) => b.data.info.releaseDate.valueOf() - a.data.info.releaseDate.valueOf() || b.data.info.releaseNumber - a.data.info.releaseNumber +let combined = fulldata +for (const group of groups) { + combined = combined.filter((data) => !data.id.startsWith(group.id)) +} +combined = combined.concat(groups as any) + +combined.sort( + (a, b) => + b.data.info.releaseDate.valueOf() - a.data.info.releaseDate.valueOf() || + b.data.info.releaseNumber - a.data.info.releaseNumber ) -const gc = fulldata.filter((value) => value.id.startsWith("gc-")) -const mc = fulldata.filter((value) => value.id.startsWith("mc-")) -const cq = fulldata.filter((value) => value.id.startsWith("cq-")) -const eq_2021 = fulldata.filter((value) => value.id.startsWith("eq-2021")) -const eq_2020 = fulldata.filter((value) => value.id.startsWith("eq-2020")) - +console.log(combined) --- value.id.startsWith("eq-2020")) currentpage="teslafest" descriptionOverride={description} > - - - {cq.map((quest) => )} - - - {gc.map((quest) => )} - - - {mc.map((quest) => )} - - - {eq_2020.map((quest) => )} - - - {eq_2021.map((quest) => )} + + + { + combined.map((quest) => { return ()}) + }