From 0e637384b6488d406e888763a68c5943c7627642 Mon Sep 17 00:00:00 2001 From: Firq Date: Tue, 22 Oct 2024 23:29:08 +0200 Subject: [PATCH] Eager load less --- package.json | 2 +- src/components/cards/servantCard.astro | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 90c6d6c..fe11659 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@firq/fgosite", "type": "module", - "version": "0.2.0-pre.25", + "version": "0.2.0-pre.26", "private": true, "scripts": { "dev": "astro dev", diff --git a/src/components/cards/servantCard.astro b/src/components/cards/servantCard.astro index 74d808c..54ffa19 100644 --- a/src/components/cards/servantCard.astro +++ b/src/components/cards/servantCard.astro @@ -29,7 +29,7 @@ if (bond10 === false) { bondce_css += ' unobtained' } -let loading: "eager" | "lazy" = index <= 5 ? "eager" : "lazy"; +let loading: "eager" | "lazy" = index <= 3 ? "eager" : "lazy"; ---