resolution fix

This commit is contained in:
Firq 2025-04-07 23:17:32 +02:00
parent 7d6f6eb4d5
commit d19ded377f
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
6 changed files with 19 additions and 9 deletions

View file

@ -24,12 +24,13 @@ jobs:
uses: https://code.forgejo.org/actions/checkout@v3 uses: https://code.forgejo.org/actions/checkout@v3
- name: Check availability - name: Check availability
run: | run: |
while [ "$(curl -o /dev/null -s -w '%{http_code}' http://website/)" -ne 200 ]; while [ "$(curl -o /dev/null -s -w '%{http_code}' http://website)" -ne 200 ];
do echo "Waiting..."; do echo "Waiting...";
curl -X GET http://website;
sleep 5; sleep 5;
done; done;
- name: Run unlighthouse - name: Run unlighthouse
run: unlighthouse-ci --site "http://website/" run: unlighthouse-ci --site "http://website"
- name: Replace URLs - name: Replace URLs
run: find ./unlighthouse-reports -type f | xargs sed -i "s|http://website|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 - name: Prepare artifacts

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "@firq/fgosite", "name": "@firq/fgosite",
"version": "0.2.0-pre.68", "version": "0.2.0-pre.69",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@firq/fgosite", "name": "@firq/fgosite",
"version": "0.2.0-pre.68", "version": "0.2.0-pre.69",
"dependencies": { "dependencies": {
"@astro-community/astro-embed-youtube": "^0.5.6", "@astro-community/astro-embed-youtube": "^0.5.6",
"@astrojs/check": "^0.9.4", "@astrojs/check": "^0.9.4",

View file

@ -1,7 +1,7 @@
{ {
"name": "@firq/fgosite", "name": "@firq/fgosite",
"type": "module", "type": "module",
"version": "0.2.0-pre.68", "version": "0.2.0-pre.69",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "astro dev", "dev": "astro dev",

View file

@ -29,7 +29,6 @@ const hidden = titleHidden || false ? "visually-hidden" : ""
align-self: center; align-self: center;
display: flex; display: flex;
flex-flow: row wrap; flex-flow: row wrap;
padding: 1em;
position: relative; position: relative;
} }
h1 { h1 {

View file

@ -95,7 +95,7 @@ const line = displayLine ? "flex" : "none"
align-items: stretch; align-items: stretch;
align-content: center; align-content: center;
justify-content: space-around; justify-content: space-around;
padding: 1em; padding: 1em 0px;
color: var(--c-primary-text); color: var(--c-primary-text);
font-size: 1em; font-size: 1em;
position: relative; position: relative;
@ -114,6 +114,9 @@ const line = displayLine ? "flex" : "none"
margin-left: 3rem; margin-left: 3rem;
font-size: 1.85rem; font-size: 1.85rem;
} }
.wrapper {
padding: 1em;
}
} }
@media (min-width: 1100px) { @media (min-width: 1100px) {
.wrapper { .wrapper {

View file

@ -35,13 +35,20 @@ data.map((item) => { item.origin = "First 120 on NA" })
currentpage="fgo" currentpage="fgo"
descriptionOverride={description} descriptionOverride={description}
> >
<SmallTitle maintext="FGO Information" subtext={subtext} fadeout={true} /> <SmallTitle maintext="FGO Infos" subtext={subtext} fadeout={true} />
<BaseSection title="Highlights"> <BaseSection title="Highlights">
{data.map((item) => <FavouriteCard {...item} />)} {data.map((item) => <FavouriteCard {...item} />)}
</BaseSection> </BaseSection>
<div class="placeholder"></div>
<BaseSection title="Infos" titleHidden={true}> <BaseSection title="Infos" titleHidden={true}>
{projects.map((item) => <ProjectCard {...item} />)} {projects.map((item) => <ProjectCard {...item} />)}
</BaseSection> </BaseSection>
</Layout> </Layout>
<style></style> <style>
.placeholder {
visibility: hidden;
width: 100%;
height: 1.5rem;
}
</style>