Compare commits

...

7 commits

Author SHA1 Message Date
629bf91d4f
Bumped astro and restructured
All checks were successful
/ get-version (push) Successful in 5s
/ astro-check (push) Successful in 14s
/ build-site (push) Successful in 1m17s
/ check-tag (push) Successful in 3s
/ auto-deploy-dockge (push) Successful in 7s
/ checking (push) Successful in 15s
/ create-release (push) Successful in 11s
2024-08-21 13:26:38 +02:00
949b05b192
smol changes
All checks were successful
/ get-version (push) Successful in 3s
/ astro-check (push) Successful in 12s
2024-08-16 18:44:31 +02:00
de3e262a3c
Content Collection Schemas
All checks were successful
/ astro-check (push) Successful in 13s
/ get-version (push) Successful in 3s
/ check-tag (push) Successful in 3s
/ checking (push) Successful in 14s
/ create-release (push) Successful in 7s
/ auto-deploy-dockge (push) Successful in 12s
/ build-site (push) Successful in 1m6s
2024-08-01 18:01:39 +02:00
27ee2de172
fixed typo
All checks were successful
/ get-version (push) Successful in 3s
/ astro-check (push) Successful in 17s
/ check-tag (push) Successful in 2s
/ checking (push) Successful in 15s
/ build-site (push) Successful in 59s
/ create-release (push) Successful in 10s
/ auto-deploy-dockge (push) Successful in 11s
2024-07-31 21:16:55 +02:00
95e8df6478
ver bump
All checks were successful
/ get-version (push) Successful in 2s
/ astro-check (push) Successful in 12s
/ check-tag (push) Successful in 2s
/ checking (push) Successful in 12s
/ auto-deploy-dockge (push) Successful in 16s
/ build-site (push) Successful in 1m12s
/ create-release (push) Successful in 7s
2024-07-30 22:50:41 +02:00
801c00375d
Kriemhild, fixed teslafest naming and slugs
Some checks failed
/ get-version (push) Successful in 3s
/ astro-check (push) Has been cancelled
2024-07-30 22:49:57 +02:00
fdb9fd183f
Updated Teslafest as well
All checks were successful
/ get-version (push) Successful in 3s
/ astro-check (push) Successful in 13s
/ check-tag (push) Successful in 2s
/ checking (push) Successful in 27s
/ build-site (push) Successful in 1m47s
/ auto-deploy-dockge (push) Successful in 11s
/ create-release (push) Successful in 28s
2024-07-30 22:01:06 +02:00
75 changed files with 1094 additions and 337 deletions

View file

@ -1,12 +1,12 @@
import { defineConfig } from 'astro/config';
import sitemap from '@astrojs/sitemap';
import metaTags from "astro-meta-tags";
import { defineConfig } from 'astro/config';
export default defineConfig({
sitemap: true,
base: '/',
outDir: 'dist',
publicDir: 'static',
publicDir: 'public',
site: 'https://fgo-ta.com/',
integrations: [sitemap(), metaTags()],
trailingSlash: "never"

781
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,7 +1,7 @@
{
"name": "fgo-ta-com-website",
"type": "module",
"version": "0.2.2-pre.14",
"version": "0.2.2-pre.19",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
@ -11,10 +11,10 @@
},
"dependencies": {
"@astro-community/astro-embed-youtube": "^0.5.2",
"@astrojs/check": "^0.8.1",
"@astrojs/check": "^0.9.3",
"@astrojs/sitemap": "^3.1.6",
"@fontsource/work-sans": "^5.0.18",
"astro": "^4.12.2",
"astro": "^4.14.3",
"astro-meta-tags": "^0.3.0",
"autoprefixer": "^10.4.19",
"iconoir": "^7.7.0",

View file

Before

Width:  |  Height:  |  Size: 123 KiB

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

View file

@ -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
}
---
<div class="wrap">
<div class="head">{maintext}</div>
<div class="sub">{subtext}</div>
<a href=`/${baseurl}` style={displayBackButton}>&lt&lt Back to {baseurl}</a>
<a href=`/${baseurl}` style={displayBackButton}>&lt&lt Back to {text}</a>
<div class="fade" style={displayFadeout}></div>
</div>
@ -62,14 +70,16 @@ const displayBackButton = returnbutton ? "": "display: none"
.head {
hyphens: auto;
padding-top: 2rem;
font-size: 2rem;
font-size: 3rem;
font-weight: 800;
font-family: 'Work Sans', 'Helvetica Neue', Helvetica, Helvetica, Arial,
sans-serif;
}
.sub {
font-size: 0.75rem;
padding-left: 0.5rem;
padding-right: 0.5rem;
font-size: 1rem;
font-weight: 600;
font-family: 'Work Sans', 'Helvetica Neue', Helvetica, Helvetica, Arial,
sans-serif;
@ -90,19 +100,19 @@ const displayBackButton = returnbutton ? "": "display: none"
@media (min-width: 620px) {
.head {
hyphens: none;
font-size: 3rem;
}
.sub {
font-size: 0.75rem;
}
}
@media (min-width: 1000px) {
.head {
font-size: 4rem;
}
.sub {
font-size: 1rem;
}
}
@media (min-width: 1000px) {
.head {
font-size: 6rem;
}
.sub {
font-size: 1rem;
}
}
</style>

View file

@ -45,6 +45,8 @@ const display = fadeout ? "": "display: none"
}
.sub {
padding-left: 0.5rem;
padding-right: 0.5rem;
font-size: 1.5rem;
font-weight: 800;
font-family: 'Work Sans', 'Helvetica Neue', Helvetica, Helvetica, Arial,

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../.astro/collections/changes.schema.json",
"info": {
"title": "Appends and Level 120",
"releaseDate": "2022-05-23",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../.astro/collections/changes.schema.json",
"info": {
"title": "Castoria",
"releaseDate": "2022-07-04",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../.astro/collections/changes.schema.json",
"info": {
"title": "Koyanskaya of Light",
"releaseDate": "2023-07-03",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../.astro/collections/changes.schema.json",
"info": {
"title": "Oberon",
"releaseDate": "2023-07-10",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../.astro/collections/changes.schema.json",
"info": {
"title": "Scathach-Skadi",
"releaseDate": "2020-07-06",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../.astro/collections/changes.schema.json",
"info": {
"title": "Scathach-Skadi (Ruler)",
"releaseDate": "2024-07-24",

View file

@ -53,5 +53,6 @@ export const collections = {
taInfoData: taData,
teslafest: taData,
groups: groupDescription,
teslafestgroups: groupDescription,
changes: changes,
}

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../.astro/collections/groups.schema.json",
"info": {
"title": "Lostbelt 6.5 - Traum",
"releaseDate": "2024-05-13",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../.astro/collections/groups.schema.json",
"info": {
"title": "Lostbelt 6 - Avalon le Fae",
"releaseDate": "2023-06-06",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../.astro/collections/taInfoData.schema.json",
"info": {
"title": "Arctic Summer World",
"releaseDate": "2024-07-24",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../.astro/collections/taInfoData.schema.json",
"info": {
"title": "Beast IV:L",
"releaseDate": "2023-12-26",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../.astro/collections/taInfoData.schema.json",
"info": {
"title": "Case Files Rerun 2024",
"releaseDate": "2024-01-10",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../.astro/collections/taInfoData.schema.json",
"info": {
"title": "Devilish Bodhisattva",
"releaseDate": "2019-04-23",

View file

@ -0,0 +1,49 @@
{
"$schema": "../../../../.astro/collections/taInfoData.schema.json",
"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"
}
]
}
]
}

View file

@ -0,0 +1,153 @@
{
"$schema": "../../../../.astro/collections/taInfoData.schema.json",
"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": "Nero Bride 3T (FLO)",
"link": "https://www.youtube.com/watch?v=iEOhDVhIKkw",
"date": "2024-05-22",
"servant": "90",
"turns": "3T",
"runner": "Lutrec"
},
{
"title": "Saber Diarmuid 3T",
"link": "https://www.youtube.com/watch?v=aBBY-smKj2I",
"date": "2024-05-27",
"servant": "223",
"turns": "3T",
"runner": "Volcanicz"
},
{
"title": "Muramasa 3T",
"link": "https://www.youtube.com/watch?v=Wejdo62W9Ng",
"date": "2024-05-16",
"servant": "302",
"turns": "3T",
"runner": "Loki"
},
{
"title": "Artoria 3T (FLO)",
"link": "https://www.youtube.com/watch?v=qkZji1N7oLs",
"date": "2024-05-25",
"servant": "2",
"turns": "3T",
"runner": "Fu Windsword"
},
{
"title": "Siegfried 3T (NPC)",
"link": "https://www.youtube.com/watch?v=BSPUS2kQyeE",
"date": "2024-05-20",
"servant": "6",
"turns": "3T",
"runner": "TokuHer0"
},
{
"title": "Jeanne Summer 3T",
"link": "https://www.youtube.com/watch?v=_1GgmzU8SJI",
"date": "2024-05-18",
"servant": "216",
"turns": "3T",
"runner": "im poketar"
},
{
"title": "Emiya 3T",
"link": "https://www.youtube.com/watch?v=hEuWchiPUcM",
"date": "2024-05-18",
"servant": "11",
"turns": "3T",
"runner": "Volcanicz"
},
{
"title": "Melusine 3T (Solo)",
"link": "https://www.youtube.com/watch?v=pH7iLqMKamE",
"date": "2024-05-16",
"servant": "312_st",
"turns": "3T",
"runner": "Felt"
},
{
"title": "Kagetora 3T (FLO)",
"link": "https://www.youtube.com/watch?v=j_S20-UZbqo",
"date": "2024-05-22",
"servant": "252",
"turns": "3T",
"runner": "Volcanicz"
},
{
"title": "Cindereli 3T",
"link": "https://www.youtube.com/watch?v=H_mUuNrZE0I",
"date": "2024-05-16",
"servant": "326",
"turns": "3T",
"runner": "Loki"
},
{
"title": "Rider Ishtar 3T",
"link": "https://www.youtube.com/watch?v=9jHuxjH6puw",
"date": "2024-05-19",
"servant": "182",
"turns": "3T",
"runner": "Volcanicz"
},
{
"title": "Cu Caster 3T (FLO)",
"link": "https://www.youtube.com/watch?v=N9ZZ-nuePmA",
"date": "2024-05-22",
"servant": "38",
"turns": "3T",
"runner": "Akise"
},
{
"title": "Skadi 3T",
"link": "https://www.youtube.com/watch?v=YrvWmFTgMUE",
"date": "2024-05-17",
"servant": "215",
"turns": "3T",
"runner": "Firq"
},
{
"title": "Merlin 3T",
"link": "https://www.youtube.com/watch?v=kPtC0P-XHag",
"date": "2024-05-20",
"servant": "150",
"turns": "3T",
"runner": "Ise(Kai)"
},
{
"title": "Morgan 3T",
"link": "https://www.youtube.com/watch?v=hJyf-FFRQUw",
"date": "2024-05-15",
"servant": "309",
"turns": "3T",
"runner": "Loki"
},
{
"title": "Astrea 3T (Lvl. 2)",
"link": "https://www.youtube.com/watch?v=EPZUkzN9ySQ",
"date": "2024-05-19",
"servant": "242",
"turns": "3T",
"runner": "Alastair Hale"
},
{
"title": "Summer BB 3T (4man)",
"link": "https://www.youtube.com/watch?v=k7btt-Vti2I",
"date": "2024-05-21",
"servant": "220",
"turns": "3T",
"runner": "Volcanicz"
}
]
}
]
}

View file

@ -0,0 +1,81 @@
{
"$schema": "../../../../.astro/collections/taInfoData.schema.json",
"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"
}
]
}
]
}

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../../.astro/collections/taInfoData.schema.json",
"info": {
"title": "Zhang Jue",
"releaseDate": "2024-05-13",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../../.astro/collections/taInfoData.schema.json",
"info": {
"title": "Albion",
"releaseDate": "2023-07-10",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../../.astro/collections/taInfoData.schema.json",
"info": {
"title": "Cernunnos",
"releaseDate": "2023-07-10",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../../.astro/collections/taInfoData.schema.json",
"info": {
"title": "Queen Morgan",
"releaseDate": "2023-06-20",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../.astro/collections/teslafest.schema.json",
"info": {
"title": "Lightning in Gilgilgamesh",
"releaseDate": "2024-03-23",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../../.astro/collections/teslafest.schema.json",
"info": {
"title": "Grand Finale - The Golden Metropolis Returns",
"releaseDate": "2024-03-18",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../../.astro/collections/teslafest.schema.json",
"info": {
"title": "Flame Gate",
"releaseDate": "2024-03-15",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../../.astro/collections/teslafest.schema.json",
"info": {
"title": "Welcome to Jaguar Country",
"releaseDate": "2024-03-16",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../../.astro/collections/teslafest.schema.json",
"info": {
"title": "Moolah's Pawn Shop",
"releaseDate": "2024-03-17",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../../.astro/collections/teslafest.schema.json",
"info": {
"title": "Rice Ball Franchise Shop No. 1",
"releaseDate": "2024-03-15",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../../.astro/collections/teslafest.schema.json",
"info": {
"title": "Skyscraper Monster",
"releaseDate": "2024-03-16",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../../.astro/collections/teslafest.schema.json",
"info": {
"title": "Sweets Universe",
"releaseDate": "2024-03-17",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../../.astro/collections/teslafest.schema.json",
"info": {
"title": "BE-Witched (Curse)",
"releaseDate": "2024-03-19",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../../.astro/collections/teslafest.schema.json",
"info": {
"title": "Main Event - Final Match",
"releaseDate": "2024-03-19",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../../.astro/collections/teslafest.schema.json",
"info": {
"title": "Capture the Clown!",
"releaseDate": "2024-03-20",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../../.astro/collections/teslafest.schema.json",
"info": {
"title": "Legend of the Crimson Hero - HD Remastered",
"releaseDate": "2024-03-21",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../../.astro/collections/teslafest.schema.json",
"info": {
"title": "Finale - The Eternal City Triumphus",
"releaseDate": "2024-03-22",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../../.astro/collections/teslafest.schema.json",
"info": {
"title": "The Lovely Gorgon Sisters",
"releaseDate": "2024-03-20",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../../.astro/collections/teslafest.schema.json",
"info": {
"title": "The Green Comet",
"releaseDate": "2024-03-21",

View file

@ -1,13 +1,14 @@
{
"$schema": "../../../../.astro/collections/teslafest.schema.json",
"info": {
"title": "Giga Coil - Singularity Gets Restored until You Reach Home",
"title": "Singularity Gets Restored until You Reach Home",
"releaseDate": "2024-03-15",
"shortdescription": "An interesting, multi-stage quest with plenty of interesting twists",
"releaseNumber": 2
},
"quests": [
{
"questTitle": "Giga Coil - Singularity Gets Restored until You Reach Home",
"questTitle": "Singularity Gets Restored until You Reach Home",
"description": "An interesting, multi-stage quest with plenty of interesting twists ... What do you mean 12 Guts stacks is bad quest design????",
"data": [
{

View file

@ -1,13 +1,14 @@
{
"$schema": "../../../../.astro/collections/teslafest.schema.json",
"info": {
"title": "Giga Coil - Child from the Netherworld",
"title": "Child from the Netherworld",
"releaseDate": "2024-03-15",
"shortdescription": "Can Erice stop the racers this time?",
"releaseNumber": 5
},
"quests": [
{
"questTitle": "Giga Coil - Child from the Netherworld",
"questTitle": "Child from the Netherworld",
"description": "Can Erice stop the racers this time? Well, she might just if she has more and more ghosts in stock. A real throwback to the Fate/Requiem Collab Event.",
"data": [
{

View file

@ -1,13 +1,14 @@
{
"$schema": "../../../../.astro/collections/teslafest.schema.json",
"info": {
"title": "Giga Coil - Raging Billows! Kakare Shibata!",
"title": "Raging Billows! Kakare Shibata!",
"releaseDate": "2024-03-15",
"shortdescription": "Stacking defences and damage cut - what an interesting strategy",
"releaseNumber": 6
},
"quests": [
{
"questTitle": "Giga Coil - Raging Billows! Kakare Shibata!",
"questTitle": "Raging Billows! Kakare Shibata!",
"description": "Stacking defences and damage cut - what an interesting strategy ... Let's see how it works out against the racers",
"data": [
{

View file

@ -1,13 +1,14 @@
{
"$schema": "../../../../.astro/collections/teslafest.schema.json",
"info": {
"title": "Giga Coil - Galaxy Guardian",
"title": "Galaxy Guardian",
"releaseDate": "2024-03-15",
"shortdescription": "The one to keep the Galaxy in order - will her two forms be enough against the racers?",
"releaseNumber": 3
},
"quests": [
{
"questTitle": "Giga Coil - Galaxy Guardian",
"questTitle": "Galaxy Guardian",
"description": "The one to keep the Galaxy in order - will her two forms be enough against the racers?",
"data": [
{

View file

@ -1,13 +1,14 @@
{
"$schema": "../../../../.astro/collections/teslafest.schema.json",
"info": {
"title": "Giga Coil - Western Ninja Arts Book",
"title": "Western Ninja Arts Book",
"releaseDate": "2024-03-15",
"shortdescription": "Can Fuuma, his clones and his arsenal of debuffs stop the racers?",
"releaseNumber": 1
},
"quests": [
{
"questTitle": "Giga Coil - Western Ninja Arts Book",
"questTitle": "Western Ninja Arts Book",
"description": "Can Fuuma, his clones and his arsenal of debuffs stop the racers? One of the most obnoxious quests in the history of Challenge Quests - and this time, with a harder cap on party cost.",
"data": [
{

View file

@ -1,13 +1,14 @@
{
"$schema": "../../../../.astro/collections/teslafest.schema.json",
"info": {
"title": "Giga Coil - True Love",
"title": "True Love",
"releaseDate": "2024-03-15",
"shortdescription": "Somehow, Orion can now transform - is he a Transformer then?",
"releaseNumber": 4
},
"quests": [
{
"questTitle": "Giga Coil - True Love",
"questTitle": "True Love",
"description": "Somehow, Orion can now transform - is he a Transformer then? But to be fair, he really fits in with all the other pigs.",
"data": [
{

View file

@ -1,13 +1,14 @@
{
"$schema": "../../../../.astro/collections/teslafest.schema.json",
"info": {
"title": "Giga Coil - Five Star Idol",
"title": "Five Star Idol",
"releaseDate": "2024-03-15",
"shortdescription": "A total of 10 HP Bars and some interesting field effects - what will happen on this stage?",
"releaseNumber": 7
},
"quests": [
{
"questTitle": "Giga Coil - Five Star Idol",
"questTitle": "Five Star Idol",
"description": "A total of 10 HP Bars and some interesting field effects - what will happen on this stage? Will the racers idol prevail? Let's enjoy the show and see ...",
"data": [
{

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../../.astro/collections/teslafest.schema.json",
"info": {
"title": "Until That Person's Defeated",
"releaseDate": "2024-03-15",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../../.astro/collections/teslafest.schema.json",
"info": {
"title": "March of the Holy Reindeer",
"releaseDate": "2024-03-15",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../../.astro/collections/teslafest.schema.json",
"info": {
"title": "Crime and Punishment - Gray Mustache Must Die",
"releaseDate": "2024-03-15",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../../.astro/collections/teslafest.schema.json",
"info": {
"title": "Super My Home Daddy",
"releaseDate": "2024-03-15",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../../.astro/collections/teslafest.schema.json",
"info": {
"title": "Heart Pounding! The Grand Decisive Swimsuit Battle!",
"releaseDate": "2024-03-15",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../../.astro/collections/teslafest.schema.json",
"info": {
"title": "The Librarian's Job",
"releaseDate": "2024-03-15",

View file

@ -1,4 +1,5 @@
{
"$schema": "../../../../.astro/collections/teslafest.schema.json",
"info": {
"title": "Rematch at Reichenbach Falls",
"releaseDate": "2024-03-15",

View file

@ -0,0 +1,10 @@
{
"$schema": "../../../.astro/collections/teslafestgroups.schema.json",
"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"
}
}

View file

@ -0,0 +1,10 @@
{
"$schema": "../../../.astro/collections/teslafestgroups.schema.json",
"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"
}
}

View file

@ -0,0 +1,10 @@
{
"$schema": "../../../.astro/collections/teslafestgroups.schema.json",
"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"
}
}

View file

@ -0,0 +1,10 @@
{
"$schema": "../../../.astro/collections/teslafestgroups.schema.json",
"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"
}
}

View file

@ -1,7 +1,7 @@
---
import Navbar from '../components/navbar.astro'
import NavbarEntry from '../components/navbarEntry.astro'
import navdata from '../../static/data/_navdata.json'
import navdata from '../data/_navdata.json'
import embed from '../assets/embed.png'
import home from 'iconoir/icons/home.svg'
import database from 'iconoir/icons/database.svg'

View file

@ -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" : ""
---
<div class="base">
<h1>{title}</h1>
<h2>{description}</h2>
<h1 style={override}>{title}</h1>
<h2 style={override}>{description}</h2>
<div>
<slot />
</div>

View file

@ -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
---
<Layout
@ -33,7 +34,7 @@ const displaystate = taEntry.quests[0].data.length > 0 ? 'none' : 'flex'
/>
{
taEntry.quests.map((item) => (
<BaseSection title={item.questTitle} description={item.description}>
<BaseSection title={item.questTitle} description={item.description} hidetitle={hidetitle}>
{item.data
.sort((a, b) => b.date.valueOf() - a.date.valueOf())
.map((item) => (

View file

@ -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
<TaShowcaseLayout
collection="taInfoData"
collectionKey={key}
baseurl="database"
baseurl={baseurl_return}
/>
)
}

View file

@ -12,7 +12,7 @@ const description =
currentpage="home"
descriptionOverride={description}
>
<Title maintext='FGO NA TA DATA&shy;BASE' subtext='The all-in-one lookup for your all TA needs'/>
<Title maintext='FGO NA TA DATA&shy;BASE' subtext='The all-in-one lookup for all your TA needs'/>
<Hero fadeout={true}/>
</Layout>

View file

@ -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 && (
<TaShowcaseLayout
collection="teslafest"
collectionKey={key}
baseurl={baseurl_return}
/>
)
}
{
group && (
<Layout
title={`${pageinfo!.title} - Teslafest - FGO TA`}
currentpage="teslafest"
descriptionOverride={pageinfo!.shortdescription}
>
<SmallTitle
maintext={pageinfo!.title}
subtext={pageinfo!.shortdescription}
fadeout={true}
baseurl="teslafest"
returnbutton={true}
/>
<DatabaseSection title="" titlehidden={true}>
{questinfo!.map((quest) => (
<QuestListing
{...{ ...quest.info, slug: quest.slug }}
baseurl="teslafest"
/>
))}
</DatabaseSection>
</Layout>
)
}

View file

@ -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
---
<TaShowcaseLayout collection="teslafest" collectionKey={slug} baseurl="teslafest" />

View file

@ -1,23 +1,26 @@
---
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"))
---
<Layout
@ -25,21 +28,11 @@ const eq_2020 = fulldata.filter((value) => value.id.startsWith("eq-2020"))
currentpage="teslafest"
descriptionOverride={description}
>
<SmallTitle maintext='TESLA&shy;FEST' subtext='' fadeout={true}/>
<DatabaseSection title="Challenge Quest">
{cq.map((quest) => <QuestListing { ...{...quest.data.info, slug: quest.id} } baseurl="teslafest" />)}
</DatabaseSection>
<DatabaseSection title="Giga Coil">
{gc.map((quest) => <QuestListing { ...{...quest.data.info, slug: quest.id} } baseurl="teslafest" />)}
</DatabaseSection>
<DatabaseSection title="Mega Coil">
{mc.map((quest) => <QuestListing { ...{...quest.data.info, slug: quest.id} } baseurl="teslafest" />)}
</DatabaseSection>
<DatabaseSection title="Exhibition Quests: 2020 Revival">
{eq_2020.map((quest) => <QuestListing { ...{...quest.data.info, slug: quest.id} } baseurl="teslafest" />)}
</DatabaseSection>
<DatabaseSection title="Exhibition Quests: 2021 Revival">
{eq_2021.map((quest) => <QuestListing { ...{...quest.data.info, slug: quest.id} } baseurl="teslafest" />)}
<SmallTitle maintext="TESLA­FEST" subtext={description} fadeout={true} />
<DatabaseSection title="NA Runs" titlehidden={true} displayLine={true}>
{
combined.map((quest) => { return (<QuestListing {...{ ...quest.data.info, slug: quest.id }} baseurl="teslafest" />)})
}
</DatabaseSection>
</Layout>