Skip to content

Commit 319b3c7

Browse files
committed
site: update landing page layout
Signed-off-by: David Karlsson <[email protected]>
1 parent 64afb7e commit 319b3c7

File tree

9 files changed

+2934
-586
lines changed

9 files changed

+2934
-586
lines changed

assets/css/utilities.css

Lines changed: 21 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
}
1717
}
1818

19-
2019
@utility icon-lg {
2120
svg {
2221
font-size: 32px;
@@ -39,46 +38,13 @@
3938
@apply dark:hue-rotate-180 dark:invert dark:filter;
4039
}
4140

42-
@utility bg-pattern-blue {
43-
background-color: rgba(255, 255, 255, 0.5);
44-
background-image: url("/assets/images/bg-pattern-blue.webp");
45-
background-blend-mode: overlay;
46-
background-size: cover;
47-
background-repeat: no-repeat;
48-
.dark & {
49-
background-color: rgba(0, 0, 0, 0.741);
50-
}
51-
}
52-
53-
@utility bg-pattern-purple {
54-
background-color: rgba(255, 255, 255, 0.5);
55-
background-image: url("/assets/images/bg-pattern-purple.webp");
56-
background-blend-mode: overlay;
57-
background-size: cover;
58-
background-repeat: no-repeat;
59-
.dark & {
60-
background-color: rgba(0, 0, 0, 0.741);
61-
}
62-
}
63-
6441
@utility bg-background-toc {
6542
background-color: var(--color-navbar-bg);
6643
.dark & {
6744
background-color: var(--color-navbar-bg-dark);
6845
}
6946
}
7047

71-
@utility bg-pattern-verde {
72-
background-color: rgba(255, 255, 255, 0.5);
73-
background-image: url("/assets/images/bg-pattern-verde.webp");
74-
background-blend-mode: overlay;
75-
background-size: cover;
76-
background-repeat: no-repeat;
77-
.dark & {
78-
background-color: rgba(0, 0, 0, 0.741);
79-
}
80-
}
81-
8248
@utility icon-svg {
8349
svg {
8450
font-size: 24px;
@@ -151,8 +117,8 @@
151117
}
152118

153119
/* code in `inline code` style */
154-
:where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)),
155-
a>code {
120+
:where(code):not(:where([class~="not-prose"], [class~="not-prose"] *)),
121+
a > code {
156122
font-size: 0.875em;
157123
font-weight: 400 !important;
158124
border: 1px solid !important;
@@ -258,56 +224,58 @@
258224
}
259225

260226
@utility topbar-button {
261-
@apply text-center max-w-40 text-white font-semibold min-h-10 px-2 bg-(--topnav-button-bg) rounded-md border-1 border-blue-300;
262-
@apply inline-flex justify-center items-center gap-1.5 hover:bg-blue-400 hover:border-blue-300 transition-colors;
227+
@apply min-h-10 max-w-40 rounded-md border-1 border-blue-300 bg-(--topnav-button-bg) px-2 text-center font-semibold text-white;
228+
@apply inline-flex items-center justify-center gap-1.5 transition-colors hover:border-blue-300 hover:bg-blue-400;
263229
svg {
264-
font-size: 19px;
230+
font-size: 19px;
265231
}
266232
}
267233
@utility topbar-button-clear {
268-
@apply text-center text-white/95 font-semibold min-h-9 px-0 hover:text-white/85 transition-colors;
234+
@apply min-h-9 px-0 text-center font-semibold text-white/95 transition-colors hover:text-white/85;
269235
svg {
270-
font-size: 19px;
236+
font-size: 19px;
271237
}
272238
}
273239

274240
.footer {
275-
@apply hidden md:flex flex-row ml-auto justify-between px-4 pt-6 pb-2 gap-6;
276-
@apply bg-gray-100 dark:bg-gray-900 border-t border-gray-200 dark:border-gray-700;
241+
@apply ml-auto hidden flex-row justify-between gap-6 px-4 pt-6 pb-2 md:flex;
242+
@apply border-t border-gray-200 bg-gray-100 dark:border-gray-700 dark:bg-gray-900;
277243
@apply text-gray-600 dark:text-gray-400;
278-
a:hover{
244+
a:hover {
279245
@apply underline underline-offset-4;
280246
}
281247
}
282248

283249
.social {
284-
@apply items-center gap-1 flex-wrap min-w-20 flex;
250+
@apply flex min-w-20 flex-wrap items-center gap-1;
285251
}
286252

287253
.links {
288254
@apply flex items-center gap-3;
289255
}
290256

291257
.links a {
292-
@apply inline-flex whitespace-normal truncate min-w-15;
258+
@apply inline-flex min-w-15 truncate whitespace-normal;
293259
}
294260

295261
.secondaryLinks {
296-
@apply flex items-center;
297-
a, button{
262+
@apply flex items-center;
263+
a,
264+
button {
298265
@apply whitespace-normal md:truncate;
299266
}
300267
}
301268

302269
.secondaryLinks > *:not(:last-child)::after {
303270
content: "|";
304-
@apply text-gray-400 mx-1;
271+
@apply mx-1 text-gray-400;
305272
}
306273

307274
.ot-sdk-show-settings {
308-
@apply !text-gray-600 dark:!text-gray-400 hover:!text-gray-800 dark:hover:!text-gray-200;
309-
@apply !text-sm !border-none !p-0 !m-0 !truncate !min-w-15;
275+
@apply !text-gray-600 hover:!text-gray-800 dark:!text-gray-400 dark:hover:!text-gray-200;
276+
@apply !m-0 !min-w-15 !truncate !border-none !p-0 !text-sm;
310277
}
311-
#ot-sdk-btn.ot-sdk-show-settings:hover, #ot-sdk-btn.optanon-show-settings:hover{
312-
@apply hover:!bg-transparent !text-gray-600 dark:!text-gray-400 underline underline-offset-4 decoration-1;
278+
#ot-sdk-btn.ot-sdk-show-settings:hover,
279+
#ot-sdk-btn.optanon-show-settings:hover {
280+
@apply !text-gray-600 underline decoration-1 underline-offset-4 hover:!bg-transparent dark:!text-gray-400;
313281
}

content/_index.md

Lines changed: 0 additions & 166 deletions
Original file line numberDiff line numberDiff line change
@@ -2,170 +2,4 @@
22
title: Home
33
description: Docker Documentation is the official Docker library of resources, manuals, and guides to help you containerize applications.
44
keywords: Docker, documentation, manual, guide, reference, api, samples
5-
grid:
6-
- title: Docker Desktop
7-
icon: computer
8-
description: |
9-
Manage containers, applications, and images directly from your machine.
10-
links:
11-
- text: "Overview"
12-
url: "/desktop/"
13-
- text: "Explore Docker Desktop"
14-
url: "/desktop/use-desktop/"
15-
- text: "Release notes"
16-
url: "/desktop/release-notes/"
17-
- title: Docker Hardened Images
18-
icon: /icons/dhi.svg
19-
description: |
20-
Secure, minimal images for trusted software delivery.
21-
links:
22-
- text: "Overview"
23-
url: "/dhi/"
24-
- text: "Quickstart"
25-
url: "/dhi/get-started/"
26-
- text: "Use an image"
27-
url: "/dhi/how-to/use/"
28-
- title: Docker MCP Catalog and Toolkit
29-
icon: /icons/toolkit.svg
30-
description: |
31-
Augment your AI workflows with MCP servers.
32-
links:
33-
- text: "Overview"
34-
url: "/ai/mcp-catalog-and-toolkit/"
35-
- text: "Quickstart"
36-
url: "/ai/mcp-catalog-and-toolkit/get-started/"
37-
- text: "Explore the MCP Toolkit"
38-
url: "/ai/mcp-catalog-and-toolkit/toolkit/"
39-
- title: Docker Engine
40-
icon: developer_board
41-
description: |
42-
The definitive open source container client and runtime.
43-
links:
44-
- text: "Overview"
45-
url: "/engine/"
46-
- text: "Install"
47-
url: "/engine/install/"
48-
- text: "Release notes"
49-
url: "/engine/release-notes/"
50-
- title: Docker Build
51-
icon: build
52-
description: |
53-
Package, test, and ship your applications.
54-
links:
55-
- text: "Overview"
56-
url: "/build/"
57-
- text: "Packaging your software"
58-
url: "/build/building/packaging/"
59-
- text: "Release notes"
60-
url: "/build/release-notes/"
61-
- title: Docker Build Cloud
62-
icon: cloud
63-
description: |
64-
Run your builds in the cloud.
65-
links:
66-
- text: "Overview"
67-
url: "/build-cloud/"
68-
- text: "Setup"
69-
url: "/build-cloud/setup/"
70-
- text: "Release notes"
71-
url: "/build-cloud/release-notes/"
72-
- title: Docker Compose
73-
icon: polyline
74-
description: |
75-
Define and run multi-container applications with Docker.
76-
links:
77-
- text: "Overview"
78-
url: "/compose/"
79-
- text: "Try Docker Compose"
80-
url: "/compose/gettingstarted/"
81-
- text: "Release notes"
82-
url: "/compose/releases/release-notes/"
83-
- title: Docker Hub
84-
icon: device_hub
85-
description: |
86-
Find and share container images and other artifacts.
87-
links:
88-
- text: "Overview"
89-
url: "/docker-hub/"
90-
- text: "Create an account"
91-
url: "/accounts/create-account/"
92-
- text: "Create a repository"
93-
url: "/docker-hub/repos/create/"
94-
- title: Docker Scout
95-
icon: query_stats
96-
description: |
97-
Strengthen your software supply chain with Docker Scout.
98-
links:
99-
- text: "Overview"
100-
url: "/scout/"
101-
- text: "Quickstart"
102-
url: "/scout/quickstart/"
103-
- text: "Image analysis"
104-
url: "/scout/image-analysis/"
105-
- title: Subscription
106-
icon: card_membership
107-
description: |
108-
Licensing for commercial use of Docker components.
109-
links:
110-
- text: "Overview"
111-
url: "/subscription/"
112-
- text: "Subscriptions and features"
113-
url: "/subscription/details/"
114-
- text: "Change subscription"
115-
url: "/subscription/change/"
116-
- title: Billing
117-
icon: payments
118-
description: |
119-
Manage your billing and payment settings for your subscription.
120-
links:
121-
- text: "Overview"
122-
url: "/billing/"
123-
- text: "Update payment method"
124-
url: "/billing/payment-method/"
125-
- text: "View billing history"
126-
url: "/billing/history/"
127-
- title: Administration
128-
icon: admin_panel_settings
129-
description: |
130-
Manage company and organization users, permissions, and more.
131-
links:
132-
- text: "Overview"
133-
url: "/admin/company/"
134-
- text: "Organization administration"
135-
url: "/admin/organization/"
136-
- text: "Company administration"
137-
url: "/admin/company/"
138-
- title: Security
139-
icon: shield
140-
description: |
141-
Security guardrails for both administrators and developers.
142-
links:
143-
- text: "Overview"
144-
url: "/security/"
145-
- text: "SSO"
146-
url: "/security/for-admins/single-sign-on/"
147-
- text: "SCIM"
148-
url: "/security/for-admins/provisioning/scim/"
149-
- title: Testcontainers Cloud
150-
icon: cloud
151-
description: |
152-
Testcontainers Cloud lets you run heavy test workloads remotely.
153-
links:
154-
- text: "Overview"
155-
url: "https://testcontainers.com/cloud/docs/"
156-
- text: "Getting started"
157-
url: "https://testcontainers.com/cloud/docs/#getting-started"
158-
- text: "TCC for CI"
159-
url: "https://testcontainers.com/cloud/docs/#tcc-for-ci"
160-
- title: Docker Offload
161-
icon: cloud
162-
description: |
163-
Build and run containers in the cloud.
164-
links:
165-
- text: "Overview"
166-
url: "/offload/"
167-
- text: "Quickstart"
168-
url: "/offload/quickstart/"
169-
- text: "About Docker Offload"
170-
url: "/offload/about/"
1715
---

0 commit comments

Comments
 (0)