File tree Expand file tree Collapse file tree 3 files changed +20
-17
lines changed
Expand file tree Collapse file tree 3 files changed +20
-17
lines changed Original file line number Diff line number Diff line change 6363 < div class ="topbar-button w-full flex items-center gap-2 " id ="search-bar-container ">
6464 {{ partialCached "search-bar.html" "-" }}
6565 </ div >
66- < button class ="topbar-button w-full flex items-center gap-2 "
67- href ="https://hub.docker.com/support/contact "
68- aria-label ="Contact support " class ="flex items-center gap-2 w-full ">
69- < span > Contact support</ span >
70- < span class ="icon-svg icon-sm ">
71- {{ partial "utils/svg.html" "/icons/headset.svg" }}
72- </ span >
73- </ a >
74- </ button >
66+ {{ partial "contact-support-button.html" .}}
7567 < button
7668 aria-label ="Theme switch "
7769 id ="theme-switch "
Original file line number Diff line number Diff line change 1+ {{ $class := "" }}
2+ {{ if eq . "notext" }}
3+ {{ $class = "hidden lg:inline" }}
4+ {{ end }}
5+ < a class ="topbar-button w-full flex items-center gap-2 "
6+ href ="https://hub.docker.com/support/contact "
7+ aria-label ="Contact support ">
8+ < span class ="{{ $class }} "> Contact support</ span >
9+ < span class ="icon-svg icon-sm ">
10+ {{ partial "utils/svg.html" "/icons/headset.svg" }}
11+ </ span >
12+ </ a >
Original file line number Diff line number Diff line change 6262 {{ partialCached "search-bar.html" "-" }}
6363 </ div >
6464
65- < button class ="topbar-button " href ="https://hub.docker.com/support/contact "
66- aria-label ="Contact support ">
67- < span class ="hidden lg:inline "> Contact support</ span >
68- < span class ="icon-svg icon-sm ">
69- {{ partial "utils/svg.html" "/icons/headset.svg" }}
70- </ span >
71- </ a >
72- </ button >
65+ {{ partial "contact-support-button.html" "notext" }}
7366
7467 < button
7568 aria-label ="Theme switch "
9386 <!-- On sm screens, hide all buttons here (they will be in sidebar) -->
9487 </ div >
9588 </ div >
89+ </ header >
90+ </ button>
91+ </ div>
92+ <!-- On sm screens, hide all buttons here (they will be in sidebar) -->
93+ </ div>
94+ </ div>
9695</ header>
You can’t perform that action at this time.
0 commit comments