diff --git a/.forgejo/workflows/unlighthouse.yml b/.forgejo/workflows/unlighthouse.yml index b11780d..a987c84 100644 --- a/.forgejo/workflows/unlighthouse.yml +++ b/.forgejo/workflows/unlighthouse.yml @@ -18,19 +18,20 @@ jobs: image: forgejo.neshweb.net/firq/firq-dev-website:${{ inputs.containertag }} options: >- --workdir / + --hostname website steps: - name: Checkout repository uses: https://code.forgejo.org/actions/checkout@v3 - name: Check availability run: | - while [ "$(curl -o /dev/null -s -w '%{http_code}' http://localhost:8081/)" -ne 200 ]; + while [ "$(curl -o /dev/null -s -w '%{http_code}' http://website/)" -ne 200 ]; do echo "Waiting..."; sleep 5; done; - name: Run unlighthouse - run: unlighthouse-ci --site "http://localhost:8081/" + run: unlighthouse-ci --site "http://website/" - name: Replace URLs - run: find ./unlighthouse-reports -type f | xargs sed -i "s|http://localhost:8081|https://preview.firq.dev|g"; + run: find ./unlighthouse-reports -type f | xargs sed -i "s|http://website|https://preview.firq.dev|g"; - name: Prepare artifacts run: cp serve.json unlighthouse-reports - name: Upload reports diff --git a/package-lock.json b/package-lock.json index 38fb906..b2b070b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@firq/fgosite", - "version": "0.2.0-pre.67", + "version": "0.2.0-pre.68", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@firq/fgosite", - "version": "0.2.0-pre.67", + "version": "0.2.0-pre.68", "dependencies": { "@astro-community/astro-embed-youtube": "^0.5.6", "@astrojs/check": "^0.9.4", diff --git a/package.json b/package.json index 4466a9c..b9c6ab7 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@firq/fgosite", "type": "module", - "version": "0.2.0-pre.67", + "version": "0.2.0-pre.68", "private": true, "scripts": { "dev": "astro dev", diff --git a/src/assets/okita.png b/src/assets/okita.png index 47c739d..b4ca0b7 100644 Binary files a/src/assets/okita.png and b/src/assets/okita.png differ diff --git a/src/components/navbar/navbarEntry.astro b/src/components/navbar/navbarEntry.astro index 2339040..95a2221 100644 --- a/src/components/navbar/navbarEntry.astro +++ b/src/components/navbar/navbarEntry.astro @@ -47,7 +47,6 @@ let extraattributes = navtype === 'mobile' ? { tabindex: '0' } : {} justify-content: center; text-align: left; display: flex; - width: 200px; } li > a { @@ -84,4 +83,10 @@ let extraattributes = navtype === 'mobile' ? { tabindex: '0' } : {} width: 1.4em; height: 1.4em; } + + @media (min-width: 304px) { + li { + width: 200px; + } + } </style> diff --git a/src/layouts/customFooter.astro b/src/layouts/customFooter.astro index 00fb8c9..7abfcee 100644 --- a/src/layouts/customFooter.astro +++ b/src/layouts/customFooter.astro @@ -44,9 +44,9 @@ const release = `https://forgejo.neshweb.net/Firq/firq-dev-website/releases/tag/ rel="noopener noreferrer">Mitsunee</a > for the support when building this site. I could not have done it without you 🧡 Check out <a - href="https://fgo.mitsunee.com" + href="https://mitsunee.com" target="_blank" - rel="noopener noreferrer">FGO Timers here</a + rel="noopener noreferrer">her own website here</a > <div class="sticky-image-wrapper"> <Image src={foxcat} alt="Best Foxcat" /> @@ -64,7 +64,7 @@ const release = `https://forgejo.neshweb.net/Firq/firq-dev-website/releases/tag/ >his site here</a > <div class="sticky-image-wrapper"> - <Image src={okita} alt="" style="height:60px" /> + <Image src={okita} alt="" style="height:67px" /> </div> </div> <br /> diff --git a/src/pages/_index.astro.old b/src/pages/_index.astro.old deleted file mode 100644 index bc222b9..0000000 --- a/src/pages/_index.astro.old +++ /dev/null @@ -1,17 +0,0 @@ ---- -import Layout from '../layouts/Layout.astro'; - ---- - -<Layout title="Firq FGO Site"> - <Navbar/> - <Title/> - <Divider/> - <HomeLayout> - <AboutMe/> - <Favourites/> - </HomeLayout> -</Layout> - -<style> -</style>