Skip to content

Commit c422b29

Browse files
committed
Mark the local test option as the quick start, and stack the cards below lg so the badge fits
1 parent 268ca16 commit c422b29

3 files changed

Lines changed: 10 additions & 3 deletions

File tree

‎i18n/de.yaml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,6 +1022,8 @@
10221022
translation: "Lokaler Test"
10231023
- id: hub_self_hosted_options_local_description
10241024
translation: "Teste Hub mit einem Docker-Compose-Befehl. Die Option nutzt nur HTTP und ist nicht für den Produktivbetrieb gedacht."
1025+
- id: hub_self_hosted_options_local_badge
1026+
translation: "Schnellstart"
10251027
- id: hub_self_hosted_options_compose_title
10261028
translation: "Docker Compose"
10271029
- id: hub_self_hosted_options_compose_description

‎i18n/en.yaml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,6 +1023,8 @@
10231023
translation: "Local Test"
10241024
- id: hub_self_hosted_options_local_description
10251025
translation: "Try Hub locally with one Docker Compose command. It uses plain HTTP and well-known passwords. It is not for production."
1026+
- id: hub_self_hosted_options_local_badge
1027+
translation: "Quick Start"
10261028
- id: hub_self_hosted_options_compose_title
10271029
translation: "Docker Compose"
10281030
- id: hub_self_hosted_options_compose_description

‎layouts/hub-self-hosted/single.html‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,16 @@ <h3 class="font-h3">
5151
<h2 id="deployment-options" class="font-h2 mb-4">{{ i18n "hub_self_hosted_options_title" . }}</h2>
5252
<p class="font-p mb-8">{{ i18n "hub_self_hosted_options_description" . }}</p>
5353

54-
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
54+
<div class="grid grid-cols-1 lg:grid-cols-3 gap-4">
5555
<!-- LOCAL TEST -->
56-
<div class="flex flex-col white-box">
57-
<div class="p-4 border-b border-hub">
56+
<div class="flex flex-col white-box ring-2 ring-hub">
57+
<div class="flex justify-between items-center gap-2 p-4 border-b border-hub">
5858
<h3 class="font-h3">
5959
<i class="fa-solid fa-laptop-code text-hub"></i> {{ i18n "hub_self_hosted_options_local_title" . }}
6060
</h3>
61+
<div class="shrink-0 inline-flex px-4 py-1 rounded-full text-xs lg:text-sm font-medium tracking-wide uppercase bg-hub/10 text-hub">
62+
{{ i18n "hub_self_hosted_options_local_badge" . }}
63+
</div>
6164
</div>
6265
<div class="flex flex-col justify-between h-full gap-8 p-4">
6366
<p class="font-p">{{ i18n "hub_self_hosted_options_local_description" . }}</p>

0 commit comments

Comments
 (0)