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
- name: Check availability
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...";
curl -X GET http://website;
sleep 5;
done;
- name: Run unlighthouse
run: unlighthouse-ci --site "http://website/"
run: unlighthouse-ci --site "http://website"
- name: Replace URLs
run: find ./unlighthouse-reports -type f | xargs sed -i "s|http://website|https://preview.firq.dev|g";
- name: Prepare artifacts

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "@firq/fgosite",
"version": "0.2.0-pre.68",
"version": "0.2.0-pre.69",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@firq/fgosite",
"version": "0.2.0-pre.68",
"version": "0.2.0-pre.69",
"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.68",
"version": "0.2.0-pre.69",
"private": true,
"scripts": {
"dev": "astro dev",

View file

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

View file

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

View file

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