Skip to content

Commit 2ec839e

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

File tree

9 files changed

+2980
-554
lines changed

9 files changed

+2980
-554
lines changed

assets/css/utilities.css

Lines changed: 76 additions & 20 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;
@@ -151,8 +150,8 @@
151150
}
152151

153152
/* code in `inline code` style */
154-
:where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)),
155-
a>code {
153+
:where(code):not(:where([class~="not-prose"], [class~="not-prose"] *)),
154+
a > code {
156155
font-size: 0.875em;
157156
font-weight: 400 !important;
158157
border: 1px solid !important;
@@ -258,56 +257,113 @@
258257
}
259258

260259
@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;
260+
@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;
261+
@apply inline-flex items-center justify-center gap-1.5 transition-colors hover:border-blue-300 hover:bg-blue-400;
263262
svg {
264-
font-size: 19px;
263+
font-size: 19px;
265264
}
266265
}
267266
@utility topbar-button-clear {
268-
@apply text-center text-white/95 font-semibold min-h-9 px-0 hover:text-white/85 transition-colors;
267+
@apply min-h-9 px-0 text-center font-semibold text-white/95 transition-colors hover:text-white/85;
269268
svg {
270-
font-size: 19px;
269+
font-size: 19px;
271270
}
272271
}
273272

274273
.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;
274+
@apply ml-auto hidden flex-row justify-between gap-6 px-4 pt-6 pb-2 md:flex;
275+
@apply border-t border-gray-200 bg-gray-100 dark:border-gray-700 dark:bg-gray-900;
277276
@apply text-gray-600 dark:text-gray-400;
278-
a:hover{
277+
a:hover {
279278
@apply underline underline-offset-4;
280279
}
281280
}
282281

283282
.social {
284-
@apply items-center gap-1 flex-wrap min-w-20 flex;
283+
@apply flex min-w-20 flex-wrap items-center gap-1;
285284
}
286285

287286
.links {
288287
@apply flex items-center gap-3;
289288
}
290289

291290
.links a {
292-
@apply inline-flex whitespace-normal truncate min-w-15;
291+
@apply inline-flex min-w-15 truncate whitespace-normal;
293292
}
294293

295294
.secondaryLinks {
296-
@apply flex items-center;
297-
a, button{
295+
@apply flex items-center;
296+
a,
297+
button {
298298
@apply whitespace-normal md:truncate;
299299
}
300300
}
301301

302302
.secondaryLinks > *:not(:last-child)::after {
303303
content: "|";
304-
@apply text-gray-400 mx-1;
304+
@apply mx-1 text-gray-400;
305305
}
306306

307307
.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;
308+
@apply !text-gray-600 hover:!text-gray-800 dark:!text-gray-400 dark:hover:!text-gray-200;
309+
@apply !m-0 !min-w-15 !truncate !border-none !p-0 !text-sm;
310+
}
311+
#ot-sdk-btn.ot-sdk-show-settings:hover,
312+
#ot-sdk-btn.optanon-show-settings:hover {
313+
@apply !text-gray-600 underline decoration-1 underline-offset-4 hover:!bg-transparent dark:!text-gray-400;
310314
}
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;
315+
316+
/* Landing page AI components */
317+
.dotted-pattern {
318+
pointer-events: none;
319+
}
320+
321+
.ai-glow {
322+
position: relative;
323+
}
324+
325+
.ai-glow::before {
326+
content: "";
327+
position: absolute;
328+
inset: 0;
329+
border-radius: 1rem;
330+
opacity: 0;
331+
transition: opacity 300ms;
332+
background: radial-gradient(
333+
ellipse at center,
334+
rgba(37, 96, 255, 0.15),
335+
transparent 70%
336+
);
337+
pointer-events: none;
338+
}
339+
340+
.dark .ai-glow::before {
341+
background: radial-gradient(
342+
ellipse at center,
343+
rgba(75, 131, 241, 0.2),
344+
transparent 70%
345+
);
346+
}
347+
348+
.ai-glow:has(:focus)::before {
349+
opacity: 1;
350+
}
351+
352+
.card-hover {
353+
transition: all 200ms;
354+
}
355+
356+
.card-hover:hover {
357+
border-color: var(--color-blue-400);
358+
transform: translateY(-2px);
359+
box-shadow:
360+
0 10px 15px -3px rgba(0, 0, 0, 0.15),
361+
0 4px 6px -2px rgba(0, 0, 0, 0.1);
362+
}
363+
364+
.dark .card-hover:hover {
365+
border-color: var(--color-blue-500);
366+
box-shadow:
367+
0 10px 15px -3px rgba(0, 0, 0, 0.6),
368+
0 4px 6px -2px rgba(0, 0, 0, 0.4);
313369
}

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)