diff --git a/src/components/AppLayout/components/AppLayoutTitle.astro b/src/components/AppLayout/components/AppLayoutTitle.astro index 1faf1d6..ac41859 100644 --- a/src/components/AppLayout/components/AppLayoutTitle.astro +++ b/src/components/AppLayout/components/AppLayoutTitle.astro @@ -11,11 +11,17 @@ const { title, subtitle, pretitle } = Astro.props; {/* ------------------------------------------- HTML ------------------------------------------- */}

- {pretitle && {pretitle} } - {title}  + { + pretitle && ( + + {pretitle}  + + ) + } + {title}  { subtitle && ( - + {subtitle} ) @@ -27,22 +33,18 @@ const { title, subtitle, pretitle } = Astro.props; diff --git a/src/pages/[locale]/_components/CategoryCard.astro b/src/pages/[locale]/_components/LibraryCard.astro similarity index 100% rename from src/pages/[locale]/_components/CategoryCard.astro rename to src/pages/[locale]/_components/LibraryCard.astro diff --git a/src/pages/[locale]/_components/LibraryGrid.astro b/src/pages/[locale]/_components/LibraryGrid.astro index 607563c..ac446a7 100644 --- a/src/pages/[locale]/_components/LibraryGrid.astro +++ b/src/pages/[locale]/_components/LibraryGrid.astro @@ -1,5 +1,5 @@ --- -import CategoryCard from "./CategoryCard.astro"; +import LibraryCard from "./LibraryCard.astro"; import { getI18n } from "src/i18n/i18n"; import { cache } from "src/utils/payload"; @@ -10,7 +10,7 @@ const { getLocalizedUrl, getLocalizedMatch } = await getI18n(Astro.locals.curren { cache.config.home.folders.map(({ slug, translations, darkThumbnail, lightThumbnail }) => ( -