File tree Expand file tree Collapse file tree 2 files changed +16
-6
lines changed Expand file tree Collapse file tree 2 files changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -124,18 +124,20 @@ <h1>Commands</h1>
124
124
< div id ="commands-grid " class ="flex flex-col md:grid grid-cols-[repeat(auto-fit,minmax(18rem,1fr))] gap-4 text-redis-ink-900 mx-auto ">
125
125
{{ range $index, $page := $pages }}
126
126
< article
127
- class ="flex flex-col justify-start transition relative h-full p-6 text-sm text-redis-ink-900 hover:text-red-900 focus-within:text-red-900 bg-white hover:bg-red-50/50 focus-within:bg-red-50/50 border border-redis-ink-900 focus-within:ring-red-200 focus-within:ring-[3px] focus-within:outline-none bg-clip-padding rounded-md "
127
+ class ="flex flex-col gap-2 transition relative h-full py-4 text-sm text-redis-ink-900 hover:text-red-900 focus-within:text-red-900 bg-white hover:bg-red-50/50 focus-within:bg-red-50/50 border border-redis-pen-800 focus-within:ring-red-200 focus-within:ring-[3px] focus-within:outline-none bg-clip-padding rounded-md group "
128
128
data-name ="{{ .Title }} "
129
129
data-group ="{{ .Params.group }} "
130
130
data-version
131
131
data-top
132
132
>
133
- < h1 class ="truncate font-mono font-medium mb-1.5 ">
133
+ < h1 class ="truncate font-mono font-medium text-lg mb-1.5 px-6 ">
134
134
{{ .Title }}
135
135
</ h1 >
136
- < p class ="opacity-70 ">
136
+ < p class ="px-6 ">
137
137
{{ .Params.summary }}
138
138
</ p >
139
+ < div class ="grow "> </ div >
140
+ < div class ="text-xs font-mono group-hover:underline px-6 "> Learn more →</ div >
139
141
< a class ="absolute inset-0 outline-0 " href ="{{ .RelPermalink }} ">
140
142
< span class ="sr-only "> Read more</ span >
141
143
</ a >
Original file line number Diff line number Diff line change @@ -53,20 +53,28 @@ <h1>{{ .Title }}</h1>
53
53
</ form >
54
54
55
55
< div id ="commands-grid " class ="flex flex-col md:grid grid-cols-[repeat(auto-fit,minmax(18rem,1fr))] gap-4 text-slate-500 mx-auto ">
56
+ {{ $labelColors := (dict "library" "bg-redis-yellow-500" "framework" "bg-violet-300" "observability" "bg-blue-300" "provisioning" "bg-redis-red-500" "mig" "bg-pink-300" "di" "bg-teal-300" "cloud-service" "bg-rose-300") }}
57
+ {{ $labelText := (dict "mig" "data migration" "di" "data integration" "cloud-service" "cloud service") }}
56
58
{{ range .CurrentSection.Sections }}
57
59
< article
58
- class ="flex flex-col justify-start transition relative h-full p-6 text-sm text- redis-ink-900 hover:text-red-900 focus-within:text-red-900 bg-white hover:bg-red-50/50 focus-within:bg-red-50/50 border border-redis-ink-900 focus-within:ring-red-200 focus-within:ring-[3px] focus-within:outline-none bg-clip-padding rounded-md "
60
+ class ="flex flex-col gap-2 relative transition h-full text-redis-ink-900 hover:text-red-900 focus-within:text-red-900 bg-white hover:bg-red-50/50 focus-within:bg-red-50/50 border border-redis-pen-800 focus-within:ring-red-200 focus-within:ring-[3px] focus-within:outline-none bg-clip-padding rounded-md group "
59
61
data-name ="{{ .Title }} "
60
62
data-group ="{{ .Params.group }} "
61
63
data-version
62
64
data-top
63
65
>
64
- < h1 class ="truncate font-mono font-medium mb-1.5 ">
66
+ < div class ="flex flex-row items-center gap-1 uppercase font-mono text-xs border-b border-redis-pen-800 px-6 py-2 ">
67
+ < div class ='h-3 w-3 rounded-md border border-redis-pen-600 {{ index $labelColors .Params.group | default "bg-green-300" }} '> </ div >
68
+ {{ index $labelText .Params.group | default .Params.group }}
69
+ </ div >
70
+ < h1 class ="text-xl leading-tight px-6 py-4 ">
65
71
{{ .Title }}
66
72
</ h1 >
67
- < p class ="opacity-70 ">
73
+ < p class ="text-sm px-6 ">
68
74
{{ .Params.summary }}
69
75
</ p >
76
+ < div class ="grow "> </ div >
77
+ < div class ="text-xs font-mono group-hover:underline px-6 pb-4 "> Learn more →</ div >
70
78
< a class ="absolute inset-0 outline-0 " href ="{{ .RelPermalink }} ">
71
79
< span class ="sr-only "> Read more</ span >
72
80
</ a >
You can’t perform that action at this time.
0 commit comments