--- import Html from "./components/Html.astro"; import Topbar from "./components/Topbar/Topbar.astro"; import Footer from "./components/Footer.astro"; import type { EndpointSource } from "src/shared/payload/payload-sdk"; import AppLayoutBackgroundImg from "./components/AppLayoutBackgroundImg.astro"; import type { ComponentProps } from "astro/types"; interface Props { openGraph?: ComponentProps["openGraph"]; parentPages?: EndpointSource[]; backgroundImage?: ComponentProps["img"] | undefined; hideFooterLinks?: boolean; hideHomeButton?: boolean; class?: string | undefined; } const { openGraph, parentPages, backgroundImage, hideFooterLinks = false, hideHomeButton = false, ...otherProps } = Astro.props; --- {/* ------------------------------------------- HTML ------------------------------------------- */} {backgroundImage && }