Merge pull request #47785 from sftim/20240904_tidy_docs_portal_cards

Revise docs landing page (Docsy alignment)
pull/47795/head
Kubernetes Prow Robot 2024-09-04 23:46:52 +01:00 committed by GitHub
commit 2c62b6b6f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 7 deletions

View File

@ -94,7 +94,7 @@ footer {
} }
main { main {
.button { .button, .portal-button {
display: inline-block; display: inline-block;
border-radius: 6px; border-radius: 6px;
padding: 6px 20px; padding: 6px 20px;

View File

@ -20,12 +20,9 @@
{{ end }} {{ end }}
{{ end }} {{ end }}
</ul> </ul>
{{ if .button }} {{- if .button -}}
<br> <button class="portal-button" id="btn-{{ replace .title " " "-" | lower }}" onClick="location.href='{{ .button_path | relLangURL }}';" aria-label="{{ .title }}">{{ .button }}</button>
<button id="btn-concepts" class="button" onClick="location.href='{{ .button_path | relLangURL }}';" aria-label="{{ .title }}">{{ .button }}</button> {{- end -}}
<br>
<br>
{{ end }}
</div> </div>
</div> </div>
{{ end }} {{ end }}