Skip to content

Commit 04ee86a

Browse files
committed
Test header
1 parent 25f54bf commit 04ee86a

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

layouts/partials/header.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
<span class="inline-block ml-2 mt-1 text-redis-red-500 group-hover:rotate-180 transition-all ease-in-out duration-200">{{ partial "icons/caret.html" }}</span>
1616
</div>
1717
{{ partial "header/products-dropdown.html" . }}
18+
<div class="group h-full px-2 xl:px-[14px]">
19+
<div class="flex flex-row h-full ml-2 items-center cursor-pointer w-[10ch]">
20+
<span class="inline-block group-hover:font-bold">Learn</span>
21+
<span class="inline-block ml-2 mt-1 text-redis-red-500 group-hover:rotate-180 transition-all ease-in-out duration-200">{{ partial "icons/caret.html" }}</span>
22+
</div>
23+
{{ partial "header/learn-dropdown.html" . }}
1824
</div>
19-
<div class="group px-2 xl:px-[14px] hidden lg:flex ">
20-
<div class="flex flex-row h-full ml-2 items-center cursor-pointer w-[10ch]">
21-
<span class="inline-block group-hover:font-bold">Learn</span>
22-
<span class="inline-block ml-2 mt-1 text-redis-red-500 group-hover:rotate-180 transition-all ease-in-out duration-200">{{ partial "icons/caret.html" }}</span>
23-
</div>
24-
{{ partial "header/learn-dropdown.html" . }}
2525
</div>
2626
<a class="hidden lg:flex group flex-row items-center mr-2 pr-2" href="https://redis.io/docs/latest/"><span class="group-hover:font-bold">Docs</span></a>
2727
<a class="hidden lg:flex group flex-row items-center ml-2 pl-4 xl:pl-[14px]" href="https://redis.io/pricing"><span class="group-hover:font-bold">Pricing</span></a>

layouts/partials/header/learn-dropdown.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="flex flex-col lg:hidden lg:group-hover:flex lg:absolute lg:-ml-60 lg:border lg:border-redis-pencil-300 bg-white lg:p-8 lg:flex-row lg:rounded-b-md gap-4 text-[15px]">
1+
<div class="flex flex-col lg:hidden lg:group-hover:flex lg:absolute lg:left-90 lg:border lg:border-redis-pencil-300 bg-white lg:p-8 lg:flex-row lg:rounded-b-md gap-8 text-[15px]">
22
<div class="lg:w-60">
33
<div class="flex flex-col gap-4">
44
<h3 class="uppercase font-mono mb-2">Learn</h3>

layouts/partials/header/products-dropdown.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="flex flex-col lg:hidden lg:group-hover:flex lg:absolute lg:left-11 lg:border lg:border-redis-pencil-300 bg-white lg:p-8 lg:flex-row lg:rounded-b-md gap-8 text-[15px]">
1+
<div class="flex flex-col lg:hidden lg:group-hover:flex lg:absolute lg:left-40 lg:border lg:border-redis-pencil-300 bg-white lg:p-8 lg:flex-row lg:rounded-b-md gap-8 text-[15px]">
22
<div class="lg:w-60">
33
<div class="flex flex-col gap-4">
44
<h3 class="uppercase font-mono mb-2">Products</h3>

0 commit comments

Comments
 (0)