Skip to content

Commit 0c1e92b

Browse files
committed
style: update CustomHeader and documentation hero section
- Modified the CustomHeader component to hide certain elements on smaller screens for improved responsiveness. - Corrected the class for the hero section title in documentation to ensure proper text styling and spacing.
1 parent c8742da commit 0c1e92b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/ui/CustomHeader.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import ThemeSelect from "@astrojs/starlight/components/ThemeSelect.astro";
66

77
<nav class="flex items-center justify-between">
88
<h1 class="font-[Geist] text-xl flex items-center">
9-
<span>tutorials.</span>
9+
<span class="hidden md:block">tutorials.</span>
1010
<span class="text-[#02BCFF]">angular.</span>
11-
<span>courses</span>
11+
<span class="hidden md:block">courses</span>
1212
</h1>
1313
<Search />
1414
<div class="flex items-center gap-6">

src/content/docs/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ hero:
66
title: |
77
<span class="font-[BungeeHairline]">Start learning</span>
88
<span
9-
class="text-7xluppercase font-bold font-[BungeeInline]">
9+
class="text-7xl uppercase font-bold font-[BungeeInline]">
1010
Angular
1111
</span>
1212
tagline: Discover Angular with our community tutorial

0 commit comments

Comments
 (0)