diff --git a/src/components/Card.astro b/src/components/Card.astro
index a1e0ccf..251d6e8 100644
--- a/src/components/Card.astro
+++ b/src/components/Card.astro
@@ -1,63 +1,65 @@
---
interface Props {
- title: string;
- body: string;
- href: string;
+ title: string
+ body: string
+ href: string
}
-const { href, title, body } = Astro.props;
+const { href, title, body } = Astro.props
---
-
-
- {title}
- →
-
-
- {body}
-
-
+
+
+ {title}
+ →
+
+
+ {body}
+
+
diff --git a/src/components/hero.astro b/src/components/hero.astro
index a3ca227..65e753f 100644
--- a/src/components/hero.astro
+++ b/src/components/hero.astro
@@ -11,9 +11,17 @@ const release = `https://forgejo.neshweb.net/Firq/fgo-ta-com-website/releases/ta
In the future, it will be used to catalogue information around FGO TA and the
game in general.
- Feel free to check out my own site.
+ Feel free to check out my own site.
- (Website version: {version} )
+ (Website version: {version} )
diff --git a/src/components/navbar.astro b/src/components/navbar.astro
index eeaf8ba..6da6b7c 100644
--- a/src/components/navbar.astro
+++ b/src/components/navbar.astro
@@ -1,18 +1,23 @@
---
-import { Image } from 'astro:assets';
+import { Image } from 'astro:assets'
import logo from '../assets/logo.svg'
import hamburger from 'iconoir/icons/menu.svg'
-const hamburger_src_url = `url("${hamburger.src}")`;
+const hamburger_src_url = `url("${hamburger.src}")`
---
-
+
-
+
diff --git a/src/components/navbarEntry.astro b/src/components/navbarEntry.astro
index c452c47..ae15082 100644
--- a/src/components/navbarEntry.astro
+++ b/src/components/navbarEntry.astro
@@ -17,7 +17,7 @@ if (currentPage === slug) {
currPage = 'current'
}
-const icon_src_url = `url("${icon.src}")`;
+const icon_src_url = `url("${icon.src}")`
const fulllink = `/${slug}`
---
diff --git a/src/components/questListing.astro b/src/components/questListing.astro
index 1ec490a..f35d368 100644
--- a/src/components/questListing.astro
+++ b/src/components/questListing.astro
@@ -12,7 +12,10 @@ const options_date: Intl.DateTimeFormatOptions = {
day: '2-digit',
}
const { shortdescription, questReleaseDate, url, title } = Astro.props
-const render_date = new Date(questReleaseDate).toLocaleDateString('en-GB', options_date)
+const render_date = new Date(questReleaseDate).toLocaleDateString(
+ 'en-GB',
+ options_date
+)
---
diff --git a/src/components/taCard.astro b/src/components/taCard.astro
index dfbef7f..dd958ee 100644
--- a/src/components/taCard.astro
+++ b/src/components/taCard.astro
@@ -2,16 +2,15 @@
import type { ImageMetadata } from 'astro'
import { Image } from 'astro:assets'
export interface Props {
- title: string,
- link: string,
- date: string,
- servant: string,
- turns: string,
+ title: string
+ link: string
+ date: string
+ servant: string
+ turns: string
runner: string
}
-const { turns, runner, date, servant, link, title } =
- Astro.props
+const { turns, runner, date, servant, link, title } = Astro.props
const options_date: Intl.DateTimeFormatOptions = {
year: 'numeric',
@@ -25,12 +24,11 @@ const formatted_date = new Date(date).toLocaleDateString('de-DE', options_date)
const servant_images = import.meta.glob<{ default: ImageMetadata }>(
'/src/assets/ta_servants/*.png'
)
-
---
-
+
{title}
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro
index 5bf340f..996d772 100644
--- a/src/layouts/Layout.astro
+++ b/src/layouts/Layout.astro
@@ -15,7 +15,7 @@ export interface Props {
const icons: IconsLookup = {
home: home,
- database: database
+ database: database,
}
const { descriptionOverride, currentpage, title } = Astro.props
@@ -38,7 +38,7 @@ const mapped_navdata = navdata.map((item) => ({
}))
---
-
+
{title}
diff --git a/src/pages/database.astro b/src/pages/database.astro
index 94adee4..56b7f4e 100644
--- a/src/pages/database.astro
+++ b/src/pages/database.astro
@@ -9,7 +9,9 @@ const description =
'My own small blog. Topics include FGO, TA, Programming, web technologies and more!'
const questInfo = []
-const fulldata = import.meta.glob<{ default: filedata }>(`../content/data/*.json`)
+const fulldata = import.meta.glob<{ default: filedata }>(
+ `../content/data/*.json`
+)
for (const [key, value] of Object.entries(fulldata)) {
const url = `${Astro.url}/${findSlug(key)}`
diff --git a/src/pages/index.astro b/src/pages/index.astro
index b97ddf9..27d0182 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -11,7 +11,7 @@ const description =
currentpage="home"
descriptionOverride={description}
>
-
+