--- import Html from "./components/Html.astro"; import AppLayoutBackgroundImg from "./components/AppLayoutBackgroundImg.astro"; import Topbar from "./components/Topbar/Topbar.astro"; import Footer from "./components/Footer.astro"; import AppLayoutTitle from "./components/AppLayoutTitle.astro"; import type { ComponentProps } from "astro/types"; interface Props { parentPages?: ComponentProps["parentPages"]; pretitle?: string | undefined; title: string; subtitle?: string | undefined; description?: string | undefined; illustration?: string; illustrationSize?: string; illustrationPosition?: string; backgroundIllustration?: string | undefined; hideFooterLinks?: boolean; hideHomeButton?: boolean; } const { title, subtitle, pretitle, description, illustration, backgroundIllustration, parentPages, illustrationSize = "contain", illustrationPosition = "center", hideFooterLinks = false, hideHomeButton = false, } = Astro.props; --- {/* ------------------------------------------- HTML ------------------------------------------- */}
{backgroundIllustration && } { (

{description}

{illustration &&
}
) }