Compare commits

..

No commits in common. "main" and "0.1.26pre1" have entirely different histories.

11 changed files with 210 additions and 861 deletions

932
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,7 +1,7 @@
{
"name": "@firq/fgosite",
"type": "module",
"version": "0.1.27",
"version": "0.1.26",
"private": true,
"scripts": {
"dev": "astro dev",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 KiB

View file

@ -1,5 +1,5 @@
---
import { Image } from 'astro:assets'
import { Image } from 'astro:assets';
import type { GlobImage } from '../types/generic'
import { plsLoadImage } from '../utils/tools'
@ -12,18 +12,11 @@ export interface Props {
const { link, imageFile, origin, name } = Astro.props
const imagePath = `/src/assets/favourites/${imageFile}`
const images = import.meta.glob<GlobImage>(
'/src/assets/favourites/*.{png,webp}'
)
const images = import.meta.glob<GlobImage>('/src/assets/favourites/*.{png,webp}')
const loadedImage = plsLoadImage(images, imagePath)
---
<a
href={link}
target="_blank"
rel="noopener noreferrer"
aria-label=`${name} - new window`
>
<a href={link} target="_blank" rel="noopener noreferrer" aria-label=`${name} - new window`>
<div class="heading">{name}</div>
<Image src={loadedImage} alt={name} />
<h2 class="subtext">
@ -45,6 +38,10 @@ const loadedImage = plsLoadImage(images, imagePath)
align-items: center;
}
a:hover {
transform: scale(var(--hover-scale));
}
a {
border-radius: 1rem;
display: flex;
@ -60,27 +57,25 @@ const loadedImage = plsLoadImage(images, imagePath)
text-align: center;
transition: transform var(--speed) var(--ease);
text-decoration: none;
&:hover {
transform: scale(var(--hover-scale));
}
img {
a > img {
padding: 0px 0.25em;
width: 90%;
height: auto;
}
}
@media (min-width: 512px) {
a {
padding: 10px 10px;
width: auto;
height: auto;
img {
}
a > img {
padding: 0px 1.5em;
width: 200px;
}
height: auto;
}
}

View file

@ -17,7 +17,7 @@ const description = "Error. This shouldn't happen :/"
<Image src={sadshishou} alt="Sad Shishou" />
<h2>Well ... you were not supposed to end up here.</h2>
<a href="/" aria-label="Home" rel="noopener noreferrer">
&lt;&lt; Go back home
<i class="iconoir-fast-arrow-left"></i>Go back home
</a>
</div>
</BaseSection>
@ -50,10 +50,10 @@ const description = "Error. This shouldn't happen :/"
text-decoration: none;
font-size: 1.5rem;
font-weight: bold;
&:hover {
color: var(--c-darkpurple);
}
a:hover {
color: var(--c-darkpurple);
}
img {

View file

@ -1,14 +1,4 @@
[
{
"name": "Scathach",
"level": "120",
"np": "5",
"skills": "10 / 10 / 10",
"ml": "10",
"servantImageFile": "scathach_03.png",
"bondceImageFile": "scathach.png",
"bond10": true
},
{
"name": "Skadi",
"level": "120",
@ -47,14 +37,14 @@
"ml": "Not Unlocked",
"servantImageFile": "koyanlight_01.png",
"bondceImageFile": "koyanlight.png",
"bond10": true
"bond10": false
},
{
"name": "Castoria",
"level": "90",
"np": "1",
"skills": "10 / 10 / 10 ",
"ml": "10",
"ml": "7",
"servantImageFile": "castoria_02.png",
"bondceImageFile": "castoria.png",
"bond10": true
@ -74,10 +64,10 @@
"level": "90",
"np": "1",
"skills": "10 / 10 / 10 ",
"ml": "1",
"ml": "Not Unlocked",
"servantImageFile": "oberon_02.png",
"bondceImageFile": "oberon.png",
"bond10": true
"bond10": false
},
{
"name": "Merlin",
@ -154,7 +144,7 @@
"level": "90",
"np": "1",
"skills": "9 / 9 / 10 ",
"ml": "10",
"ml": "Not Unlocked",
"servantImageFile": "douman_01.png",
"bondceImageFile": "douman.png",
"bond10": false
@ -169,41 +159,21 @@
"bondceImageFile": "himiko.png",
"bond10": false
},
{
"name": "Sherlock Holmes",
"level": "90",
"np": "1",
"skills": "9 / 10 / 9",
"ml": "Not Unlocked",
"servantImageFile": "sherlock_03.png",
"bondceImageFile": "sherlock.png",
"bond10": false
},
{
"name": "Nero (Bride)",
"level": "90",
"np": "1",
"skills": "10 / 10 / 10",
"skills": "10 / 10 / 9 ",
"ml": "Not Unlocked",
"servantImageFile": "bride_03.png",
"bondceImageFile": "bride.png",
"bond10": false
},
{
"name": "Taigon Wang",
"level": "70",
"np": "1",
"skills": "10 / 9 / 10",
"ml": "Not Unlocked",
"servantImageFile": "taigong_03.png",
"bondceImageFile": "taigong.png",
"bond10": false
},
{
"name": "Nightingale (Santa)",
"level": "80",
"np": "5",
"skills": "9 / 10 / 9",
"skills": "9 / 10 / 10 ",
"ml": "Not Unlocked",
"servantImageFile": "santagale_01.png",
"bondceImageFile": "santagale.png",
@ -233,7 +203,7 @@
"name": "Wu Zetian",
"level": "60",
"np": "1",
"skills": "10 / 9 / 10",
"skills": "9 / 1 / 9 ",
"ml": "Not Unlocked",
"servantImageFile": "wu_01.png",
"bondceImageFile": "wu.png",
@ -243,7 +213,7 @@
"name": "Ibaraki-Douji",
"level": "40",
"np": "1",
"skills": "9 / 10 / X ",
"skills": "8 / 8 / X ",
"ml": "Not Unlocked",
"servantImageFile": "ibaraki_02.png",
"bondceImageFile": "ibaraki.png",
@ -263,7 +233,7 @@
"name": "Chiron",
"level": "60",
"np": "1",
"skills": "1 / 10 / 10",
"skills": "1 / 9 / 9 ",
"ml": "Not Unlocked",
"servantImageFile": "chiron_01.png",
"bondceImageFile": "chiron.png",