fixed icons and links (and ci?)

This commit is contained in:
Firq 2025-04-07 22:47:03 +02:00
parent 1782b69664
commit 7d6f6eb4d5
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
7 changed files with 16 additions and 27 deletions

View file

@ -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

4
package-lock.json generated
View file

@ -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",

View file

@ -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",

Binary file not shown.

Before

(image error) Size: 20 KiB

After

(image error) Size: 22 KiB

View file

@ -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>

View file

@ -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 />

View file

@ -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>