Skip to content

Commit 3d3dc40

Browse files
dvdksnclaude
andcommitted
guides: simplify landing page chrome and card hover
Remove the guide-count eyebrow above the H1, drop the numbered prefixes from the left-hand topic filter, and soften the featured card hover (neutral border, no background fill). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 879521b commit 3d3dc40

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

layouts/guides/landing.html

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,9 @@
3131
{{- partial "breadcrumbs.html" . }}
3232

3333
<div class="mt-4">
34-
<p class="text-xs font-semibold tracking-widest text-gray-400 uppercase dark:text-gray-500">
35-
{{- len .RegularPagesRecursive }} guides
36-
</p>
3734
<h1
3835
data-pagefind-weight="10"
39-
class="mt-2 scroll-mt-36 text-5xl font-bold tracking-tight"
36+
class="scroll-mt-36 text-5xl font-bold tracking-tight"
4037
>
4138
Guides
4239
</h1>
@@ -85,7 +82,6 @@
8582
:class="!filtering() ? 'text-black dark:text-white font-medium' : 'text-gray-500 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100'"
8683
>
8784
<span class="flex items-center gap-2.5">
88-
<span class="w-5"></span>
8985
<span>All guides</span>
9086
</span>
9187
<span class="text-xs tabular-nums text-gray-300 dark:text-gray-600">{{ len .RegularPagesRecursive }}</span>
@@ -101,9 +97,6 @@
10197
:class="tagFilter === '{{ $tag }}' ? 'text-black dark:text-white font-medium' : 'text-gray-500 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100'"
10298
>
10399
<span class="flex items-center gap-2.5">
104-
<span class="w-5 text-xs tabular-nums text-gray-300 dark:text-gray-600">
105-
{{- printf "%02d" (add $i 1) -}}
106-
</span>
107100
<span>{{ $tagData.title }}</span>
108101
</span>
109102
<span class="text-xs tabular-nums text-gray-300 dark:text-gray-600">{{ len $pages }}</span>
@@ -129,7 +122,7 @@
129122
{{- range .ByWeight }}
130123
<a
131124
href="{{ .Permalink }}"
132-
class="group flex flex-col gap-1.5 rounded-lg border border-gray-200 p-4 transition-colors hover:border-blue-300 hover:bg-gray-50 dark:border-gray-800 dark:hover:border-blue-800 dark:hover:bg-gray-900"
125+
class="group flex flex-col gap-1.5 rounded-lg border border-gray-200 p-4 transition-colors hover:border-gray-300 dark:border-gray-800 dark:hover:border-gray-700"
133126
>
134127
<span class="font-medium leading-snug text-gray-900 transition-colors group-hover:text-blue-600 dark:text-gray-100 dark:group-hover:text-blue-400">{{ .Title }}</span>
135128
<span class="line-clamp-2 text-sm leading-relaxed text-gray-500 dark:text-gray-400">{{ .Summary }}</span>

0 commit comments

Comments
 (0)