Skip to content

Commit 7030129

Browse files
Update home.html
1 parent 44534c4 commit 7030129

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

layouts/home.html

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,14 @@ <h1 class="text-5xl font-medium">{{ .Title }}</h1>
7474
<div class="lg:px-11 w-full flex flex-col gap-3">
7575
<h2 class="text-5xl font-medium" id="operate">Get Started</h2>
7676

77-
{{% redis-cli %}}
78-
SET mykey "Hello"
79-
GET mykey
80-
81-
SET anotherkey "will expire in a minute" EX 60
82-
{{% /redis-cli %}}
77+
<div class="bg-slate-900 border-b border-slate-700 rounded-t-xl px-4 py-3 w-full flex">
78+
{{ partial "icons/cli-circle" (dict "class" "shrink-0 h-[1.0625rem] w-[1.0625rem] fill-slate-50") }}
79+
{{ partial "icons/cli-triangle" (dict "class" "shrink-0 h-[1.0625rem] w-[1.0625rem] fill-slate-50") }}
80+
{{ partial "icons/cli-star" (dict "class" "shrink-0 h-[1.0625rem] w-[1.0625rem] fill-slate-50") }}
81+
</div>
82+
<form class="redis-cli overflow-y-auto max-h-80">
83+
{{- .Inner -}}
84+
</form>
8385

8486
{{ partial "docs-section.html" (dict
8587
"Title" "Quickly set up a Redis cache, primary, vector, or custom database"
@@ -135,11 +137,14 @@ <h2 class="text-5xl font-medium" id="operate">Get Started</h2>
135137
<div class="lg:px-11 w-full flex flex-col gap-3">
136138
<h2 class="text-5xl font-medium" id="operate">Deploy</h2>
137139

138-
{{% redis-cli %}}
139-
SET mykey "10"
140-
INCR mykey
141-
GET mykey
142-
{{% /redis-cli %}}
140+
<div class="bg-slate-900 border-b border-slate-700 rounded-t-xl px-4 py-3 w-full flex">
141+
{{ partial "icons/cli-circle" (dict "class" "shrink-0 h-[1.0625rem] w-[1.0625rem] fill-slate-50") }}
142+
{{ partial "icons/cli-triangle" (dict "class" "shrink-0 h-[1.0625rem] w-[1.0625rem] fill-slate-50") }}
143+
{{ partial "icons/cli-star" (dict "class" "shrink-0 h-[1.0625rem] w-[1.0625rem] fill-slate-50") }}
144+
</div>
145+
<form class="redis-cli overflow-y-auto max-h-80">
146+
{{- .Inner -}}
147+
</form>
143148

144149
{{ partial "docs-section.html" (dict
145150
"Title" "Control your Redis deployments on-premises and on cloud platforms"

0 commit comments

Comments
 (0)