diff --git a/package.json b/package.json
index 6b3f413..371d7f0 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "@firq/fgosite",
"type": "module",
- "version": "0.2.0-pre.17",
+ "version": "0.2.0-pre.18",
"private": true,
"scripts": {
"dev": "astro dev",
diff --git a/src/components/cards/favouriteCard.astro b/src/components/cards/favouriteCard.astro
index 7d7ada7..91c7c35 100644
--- a/src/components/cards/favouriteCard.astro
+++ b/src/components/cards/favouriteCard.astro
@@ -25,7 +25,7 @@ const loadedImage = plsLoadImage(images, imagePath)
aria-label=`${name} - new window`
>
{name}
-
+
{origin}
diff --git a/src/components/cards/servantCard.astro b/src/components/cards/servantCard.astro
index 608cdd6..74d808c 100644
--- a/src/components/cards/servantCard.astro
+++ b/src/components/cards/servantCard.astro
@@ -12,9 +12,10 @@ export interface Props {
bondceImageFile: string
ml: string
bond10: boolean
+ index: number
}
-const { bond10, ml, bondceImageFile, servantImageFile, np, skills, level, name } = Astro.props
+const { bond10, ml, bondceImageFile, servantImageFile, np, skills, level, name, index } = Astro.props
const servantImagePath = `/src/assets/servant/${servantImageFile}`
const bondceImagePath = `/src/assets/ce/bond-ce/${bondceImageFile}`
const images_servants = import.meta.glob('/src/assets/servant/*.{png,webp}')
@@ -27,10 +28,12 @@ let bondce_css: string = 'bond-ce'
if (bond10 === false) {
bondce_css += ' unobtained'
}
+
+let loading: "eager" | "lazy" = index <= 5 ? "eager" : "lazy";
---
-
+