From c5af572d384f8ea705a12066dcac08ada500152d Mon Sep 17 00:00:00 2001 From: Firq Date: Tue, 2 Jan 2024 23:58:10 +0100 Subject: [PATCH] Formatted astro files --- src/components/Card.astro | 106 +++++++++++++++--------------- src/components/hero.astro | 12 +++- src/components/navbar.astro | 13 ++-- src/components/navbarEntry.astro | 2 +- src/components/questListing.astro | 5 +- src/components/taCard.astro | 16 ++--- src/layouts/Layout.astro | 4 +- src/pages/database.astro | 4 +- src/pages/index.astro | 2 +- 9 files changed, 91 insertions(+), 73 deletions(-) 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 --- 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}")` ---
- Website Logo + Website Logo
-