diff --git a/emdash-env.d.ts b/emdash-env.d.ts index fa5cf27..433f3d8 100644 --- a/emdash-env.d.ts +++ b/emdash-env.d.ts @@ -3,7 +3,7 @@ /// -import type { ContentBylineCredit, PortableTextBlock } from "emdash"; +import type { ContentBylineCredit, TaxonomyTerm, PortableTextBlock } from "emdash"; export interface Page { id: string; @@ -15,6 +15,7 @@ export interface Page { updatedAt: Date; publishedAt: Date | null; bylines?: ContentBylineCredit[]; + terms?: Record; } export interface Post { @@ -28,6 +29,7 @@ export interface Post { updatedAt: Date; publishedAt: Date | null; bylines?: ContentBylineCredit[]; + terms?: Record; } declare module "emdash" { diff --git a/public/landing/hero/hero-dash-dark.png b/public/landing/hero/hero-dash-dark.png new file mode 100644 index 0000000..9059b69 Binary files /dev/null and b/public/landing/hero/hero-dash-dark.png differ diff --git a/public/landing/hero/hero-dash.png b/public/landing/hero/hero-dash-light.png similarity index 100% rename from public/landing/hero/hero-dash.png rename to public/landing/hero/hero-dash-light.png diff --git a/src/components/SiteHeader.astro b/src/components/SiteHeader.astro index 0864219..7108bfa 100644 --- a/src/components/SiteHeader.astro +++ b/src/components/SiteHeader.astro @@ -276,7 +276,7 @@ const navItems = safeMenuItems.filter((item) => !isGitHubItem(item)); } .site-logo-img { - height: 36px; + height: clamp(28px, 3vw, 32px); width: auto; display: block; } diff --git a/src/components/blocks/Hero.astro b/src/components/blocks/Hero.astro index 73a829e..e7e032e 100644 --- a/src/components/blocks/Hero.astro +++ b/src/components/blocks/Hero.astro @@ -1,7 +1,8 @@ --- import { sanitizeHref } from "emdash"; import { Image } from "astro:assets"; -import heroDash from "../../../public/landing/hero/hero-dash.png"; +import heroDashDark from "../../../public/landing/hero/hero-dash-dark.png"; +import heroDashLight from "../../../public/landing/hero/hero-dash-light.png"; import arrowRightSvg from "../../icons/arrow-right.svg?raw"; interface Props { @@ -69,9 +70,18 @@ const secondaryCta =
EmDash CMS dashboard + EmDash CMS dashboard .blog-index { overflow: hidden; + min-height: calc(100vh - 200px); background: color-mix(in srgb, var(--color-bg) 50%, var(--color-surface)); }