Skip to content

Commit c81fb3c

Browse files
Update docs-section.html
1 parent 2a53354 commit c81fb3c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

layouts/partials/docs-section.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
<div class="w-full flex flex-col gap-5">
2-
<div class="flex flex-row gap-5 border-t border-redis-pen-300 pt-5">
2+
<!-- First row of content without top border -->
3+
<div class="flex flex-row gap-5">
34
<h3 class="text-2xl">{{ .Title }}</h3>
45
<p>{{ .Description }}</p>
56
{{ partial "components/button-link.html" (dict "Href" .ButtonLink "Text" .ButtonLabel) }}
67
</div>
78

89
<div class="font-mono">
9-
<!-- First row of buttons with horizontal line -->
10+
<!-- First row of buttons with horizontal line only above this section -->
1011
<div class="flex flex-row gap-5 border-t border-redis-pen-300 pt-5">
1112
<p class="uppercase">{{ .LinksLeftTitle }}</p>
1213
{{ range .LinksLeft }}
1314
<a class="hover:text-redis-red-500 transition-colors text-balance" href="{{ .URL }}">{{ .Text }}&nbsp;→</a>
1415
{{ end }}
1516
</div>
1617

17-
<!-- Second row of buttons with horizontal line (if LinksRight is available) -->
18+
<!-- Second row of buttons with horizontal line only above this section -->
1819
{{ if .LinksRight }}
1920
<div class="flex flex-row gap-5 border-t border-redis-pen-300 pt-5">
2021
<p class="uppercase">{{ .LinksRightTitle }}</p>

0 commit comments

Comments
 (0)