diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index e4012d868..aefd62d23 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -21,10 +21,13 @@ import { siteConfig } from '../lib/config'; import type { ResourceType } from '../lib/resource-progress'; import Bluconic from '../components/Analytics/Bluconic.astro'; import OneTrust from '../components/Analytics/OneTrust.astro'; +import { cn } from '../lib/classname'; export interface Props { title: string; ogImageUrl?: string; + htmlClassName?: string; + bodyClassName?: string; // This isn't used anywhere except for the sponsor event labels briefTitle?: string; redirectUrl?: string; @@ -42,6 +45,8 @@ export interface Props { const { title = siteConfig.title, + htmlClassName, + bodyClassName, briefTitle, description = siteConfig.description, ogImageUrl = 'https://roadmap.sh/images/og-img.png', @@ -72,7 +77,7 @@ const gaPageIdentifier = Astro.url.pathname --- - +
@@ -156,10 +161,17 @@ const gaPageIdentifier = Astro.url.pathname { - hasVarify && !import.meta.env.DEV && ( + hasVarify && (