diff --git a/TODO.md b/TODO.md index 8bbf0ce..4387284 100644 --- a/TODO.md +++ b/TODO.md @@ -7,7 +7,6 @@ - Create a tool to upload scans images and apply them to collectible - Automatically generate different sizes of images - Handle relationship in RichText Content -- On most pages (collectibles + pages), there is a gap in the breakpoints where no thumbnail is displayed. - Add proper localization for formatFilesize, formatInches, formatMillimeters, formatPounds, and formatGrams ## Mid term diff --git a/src/components/AppLayout/AppEmptyLayout.astro b/src/components/AppLayout/AppEmptyLayout.astro index 03d05cb..4da9246 100644 --- a/src/components/AppLayout/AppEmptyLayout.astro +++ b/src/components/AppLayout/AppEmptyLayout.astro @@ -2,18 +2,25 @@ import Html from "./components/Html.astro"; import Topbar from "./components/Topbar/Topbar.astro"; import Footer from "./components/Footer.astro"; -import type { EndpointSource, PayloadImage } from "src/shared/payload/payload-sdk"; +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; - backgroundImage?: PayloadImage | undefined; + hideHomeButton?: boolean; } -const { openGraph, hideFooterLinks = false, parentPages, backgroundImage } = Astro.props; +const { + openGraph, + parentPages, + backgroundImage, + hideFooterLinks = false, + hideHomeButton = false, +} = Astro.props; --- {/* ------------------------------------------- HTML ------------------------------------------- */} @@ -21,7 +28,7 @@ const { openGraph, hideFooterLinks = false, parentPages, backgroundImage } = Ast
{backgroundImage && } - +