File tree 3 files changed +8
-7
lines changed
src/Elastic.Markdown/Slices/Layout
3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 12
12
<h1 class =" text-4xl font-bold font-sans text-black" >Elastic documentation</h1 >
13
13
<p class =" mt-4" >Find the help you need, wherever you are in your Elastic journey.</p >
14
14
<div class =" flex md:inline-flex gap-3 mt-9" >
15
- <a href =" @Model.Link(" /get-started " )" class =" grow select-none cursor-pointer text-white text-nowrap bg-blue-elastic hover:bg-blue-elastic-110 focus:ring-4 focus:ring-blue-elastic-50 font-semibold font-sans rounded-sm px-6 py-2 focus:outline-none h-10 flex items-center justify-center" >
15
+ <a href =" @Model.Link(" /get-started / " )" class =" grow select-none cursor-pointer text-white text-nowrap bg-blue-elastic hover:bg-blue-elastic-110 focus:ring-4 focus:ring-blue-elastic-50 font-semibold font-sans rounded-sm px-6 py-2 focus:outline-none h-10 flex items-center justify-center" >
16
16
Get started
17
17
</a >
18
18
</div >
Original file line number Diff line number Diff line change 18
18
<ul class =" flex gap-6" >
19
19
<li class =" text-nowrap hover:text-blue-elastic active:text-blue-elastic-100" >
20
20
<a
21
- href =" @Model.Link(" /release-notes " )"
21
+ href =" @Model.Link(" /release-notes / " )"
22
22
@Htmx.GetHxAttributes(
23
- targetUrl: Model.Link( " /release-notes" ),
23
+ targetUrl: Model.Link( " /release-notes/ " ),
24
24
hxSwapOob: " #main-container"
25
25
)
26
26
>
29
29
</li >
30
30
<li class =" text-nowrap hover:text-blue-elastic active:text-blue-elastic-100" >
31
31
<a
32
- href =" @Model.Link(" /troubleshoot " )"
32
+ href =" @Model.Link(" /troubleshoot / " )"
33
33
@Htmx.GetHxAttributes(
34
- targetUrl: Model.Link( " /troubleshoot" ),
34
+ targetUrl: Model.Link( " /troubleshoot/ " ),
35
35
hxSwapOob: " #main-container"
36
36
)
37
37
>
40
40
</li >
41
41
<li class =" text-nowrap hover:text-blue-elastic active:text-blue-elastic-100" >
42
42
<a
43
- href =" @Model.Link(" /reference " )"
43
+ href =" @Model.Link(" /reference / " )"
44
44
@Htmx.GetHxAttributes(
45
- Model.Link( " /reference" ),
45
+ Model.Link( " /reference/ " ),
46
46
hxSwapOob: " #main-container"
47
47
)
48
48
>
Original file line number Diff line number Diff line change 11
11
<summary class =" grid grid-cols-[1fr_auto] cursor-pointer font-semibold gap-1 hover:text-black pl-4 pr-2 py-2 group-open:border-b-1 border-grey-20" >
12
12
<span >
13
13
<a
14
+ onclick =" this.closest('details').removeAttribute('open')"
14
15
class =" hover:underline text-blue-elastic hover:text-blue-elastic-100"
15
16
href =" @current.Group.Index?.Url"
16
17
@Htmx.GetHxAttributes(current.Group.Index?.Url!, true)
You can’t perform that action at this time.
0 commit comments