diff --git a/frontend/src/components/ui/DesignSystemStyles.astro b/frontend/src/components/ui/DesignSystemStyles.astro index dc4cd69..8f0056b 100644 --- a/frontend/src/components/ui/DesignSystemStyles.astro +++ b/frontend/src/components/ui/DesignSystemStyles.astro @@ -503,6 +503,42 @@ margin: 0; } + .ui-hero { + padding: var(--ui-hero-pad, 1.25rem); + margin-bottom: var(--ui-hero-mb, 1rem); + } + + .ui-hero-top { + display: flex; + align-items: flex-start; + justify-content: space-between; + gap: 1rem; + flex-wrap: wrap; + } + + .ui-hero-title { + margin: 0; + font-size: 2.125rem; + letter-spacing: -0.02em; + } + + .ui-hero-title h1 { + margin: 0; + font-size: inherit; + letter-spacing: inherit; + } + + .ui-hero-subtitle { + margin: 0.25rem 0 0; + color: var(--color-text-muted); + } + + @media (max-width: 640px) { + .ui-hero-title { + font-size: 1.75rem; + } + } + .ui-auth-page { display: flex; justify-content: center; diff --git a/frontend/src/pages/communities/[slug]/index.astro b/frontend/src/pages/communities/[slug]/index.astro index 6217a1f..9114710 100644 --- a/frontend/src/pages/communities/[slug]/index.astro +++ b/frontend/src/pages/communities/[slug]/index.astro @@ -50,9 +50,9 @@ const { slug } = Astro.params; const communityDesc = community.description ? escapeHtml(community.description) : ''; container.innerHTML = ` -