Skip to content

Commit 4443d36

Browse files
committed
hugo: update layout architecture
Signed-off-by: David Karlsson <[email protected]>
1 parent d078a3b commit 4443d36

File tree

28 files changed

+246
-193
lines changed

28 files changed

+246
-193
lines changed

.prettierrc

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
11
{
2-
"plugins": ["prettier-plugin-tailwindcss"]
2+
"plugins": [
3+
"prettier-plugin-go-template",
4+
"prettier-plugin-tailwindcss"
5+
],
6+
"overrides": [
7+
{
8+
"files": [
9+
"*.html"
10+
],
11+
"options": {
12+
"parser": "go-template"
13+
}
14+
}
15+
]
316
}

assets/css/global.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
/* global styles */
22

33
@layer base {
4-
[x-cloak] {
4+
[x-cloak=""] {
55
display: none !important;
66
}
7+
/* alpine cloak for small screens only */
8+
[x-cloak="sm"] {
9+
@media (width <= 768px) {
10+
display: none !important;
11+
}
12+
}
713

814
:root {
915
-webkit-font-smoothing: antialiased;

assets/css/kapa.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
.mantine-Modal-root {
2+
.mantine-Modal-inner { inset: 0; }
3+
24
ol {
35
list-style-type: decimal;
46
}

content/get-started/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Get started
33
keywords: Docker, get started
44
description: Get started with Docker
55
notoc: true
6-
6+
layout: wide
77
get-started:
88
- title: Get Docker
99
description: Choose the best installation path for your setup.

content/guides/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Guides
33
keywords: Docker guides
44
description: Explore the Docker guides
55
notoc: true
6-
6+
layout: wide
77
dive-deeper:
88
- title: Language-specific guides
99
description: Learn how to containerize, develop, and test language-specific apps using Docker.

content/learning-paths/_index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
---
22
title: Learning paths
3-
cascade:
4-
layout: wide
53
description: |
64
Docker Learning Paths offer structured guides to help you master Docker.
75
keywords: docker, learning, paths, tutorials, resources

content/manuals/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ description: Learn how to install, set up, configure, and use Docker products wi
44
keywords: docker, docs, manuals, products, user guides, how-to
55
# hard-code the URL of this page
66
url: /manuals/
7+
layout: wide
78
notoc: true
89
development:
910
- title: Docker Desktop

content/reference/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: Reference documentation
3+
layout: wide
34
description: Find reference documentation for the Docker platform’s various APIs, CLIs, and file formats
45
notoc: true
56
grid_files:

content/tags/_index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
---
22
title: Tags
3-
cascade:
4-
layout: wide
53
---
64

75
Here you can browse Docker docs by tag.

hugo_stats.json

Lines changed: 29 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,20 @@
33
"tags": null,
44
"classes": [
55
"!mt-0",
6+
"-",
67
"--mount",
78
"--tmpfs",
89
"-mb-3",
10+
"-mr-8",
911
"-mt-0.5",
1012
"-mt-1",
1113
"-mt-4",
14+
"-mt-8",
1215
"-top-16",
1316
"-v",
1417
"-z-10",
1518
".NET",
19+
"64px)]",
1620
"Admin-Console",
1721
"After",
1822
"Angular",
@@ -142,6 +146,7 @@
142146
"bg-amber-light",
143147
"bg-amber-light-200",
144148
"bg-background-light",
149+
"bg-black/50",
145150
"bg-black/70",
146151
"bg-blue-light",
147152
"bg-blue-light-400",
@@ -152,7 +157,6 @@
152157
"bg-gradient-to-t",
153158
"bg-gray-light-100",
154159
"bg-gray-light-200",
155-
"bg-gray-light-200/50",
156160
"bg-gray-light-400",
157161
"bg-gray-light-700",
158162
"bg-green-light",
@@ -188,7 +192,6 @@
188192
"border-violet-light",
189193
"border-white",
190194
"bottom-0",
191-
"box-content",
192195
"build-push-action",
193196
"chroma",
194197
"col-start-2",
@@ -203,7 +206,6 @@
203206
"dark:bg-gray-dark-100",
204207
"dark:bg-gray-dark-200",
205208
"dark:bg-gray-dark-300",
206-
"dark:bg-gray-dark-300/50",
207209
"dark:bg-gray-dark-400",
208210
"dark:bg-green-dark",
209211
"dark:bg-green-dark-400",
@@ -222,12 +224,12 @@
222224
"dark:border-l-magenta-dark",
223225
"dark:border-red-dark",
224226
"dark:border-violet-dark",
225-
"dark:decoration-blue-dark",
226227
"dark:fill-blue-dark",
227228
"dark:focus:ring-blue-dark",
228229
"dark:from-background-dark",
229230
"dark:from-blue-dark-200",
230231
"dark:from-blue-dark-400",
232+
"dark:from-gray-dark-100",
231233
"dark:hidden",
232234
"dark:hover:bg-blue-dark",
233235
"dark:hover:bg-blue-dark-500",
@@ -241,6 +243,7 @@
241243
"dark:text-blue-dark",
242244
"dark:text-divider-dark",
243245
"dark:text-gray-dark",
246+
"dark:text-gray-dark-300",
244247
"dark:text-gray-dark-500",
245248
"dark:text-gray-dark-600",
246249
"dark:text-gray-dark-700",
@@ -250,10 +253,9 @@
250253
"dark:text-red-dark",
251254
"dark:text-violet-dark",
252255
"dark:text-white",
256+
"dark:to-background-dark",
253257
"dark:to-blue-dark-100",
254258
"dark:to-magenta-dark-400",
255-
"decoration-2",
256-
"decoration-blue-light",
257259
"docker/bake-action",
258260
"docker/build-push-action",
259261
"drop-shadow",
@@ -263,15 +265,18 @@
263265
"fixed",
264266
"flex",
265267
"flex-1",
268+
"flex-[2_2_0%]",
266269
"flex-col",
267270
"flex-col-reverse",
268271
"flex-grow",
272+
"flex-none",
269273
"flex-wrap",
270274
"focus:ring-blue-light",
271275
"font-medium",
272276
"footnote-backref",
273277
"footnote-ref",
274278
"footnotes",
279+
"from-20%",
275280
"from-background-light",
276281
"from-blue-light-400",
277282
"from-blue-light-600",
@@ -296,7 +301,9 @@
296301
"h-48",
297302
"h-8",
298303
"h-96",
304+
"h-[calc(100vh-64px)]",
299305
"h-auto",
306+
"h-fit",
300307
"h-full",
301308
"h-max",
302309
"h-screen",
@@ -313,7 +320,6 @@
313320
"hover:dark:border-gray-dark",
314321
"hover:dark:text-blue-dark",
315322
"hover:drop-shadow-lg",
316-
"hover:opacity-75",
317323
"hover:opacity-90",
318324
"hover:text-black",
319325
"hover:text-blue-light",
@@ -339,9 +345,7 @@
339345
"lg:block",
340346
"lg:grid-cols-2",
341347
"lg:grid-cols-3",
342-
"lg:grid-cols-main-lg",
343348
"lg:hidden",
344-
"lg:max-w-[300px]",
345349
"lg:no-underline",
346350
"lg:pb-2",
347351
"lg:scale-100",
@@ -354,7 +358,9 @@
354358
"m-auto",
355359
"macOS",
356360
"max-h-full",
361+
"max-w-4xl",
357362
"max-w-56",
363+
"max-w-[1920px]",
358364
"max-w-[840px]",
359365
"max-w-full",
360366
"max-w-none",
@@ -368,14 +374,18 @@
368374
"md:gap-8",
369375
"md:grid-cols-2",
370376
"md:grid-cols-3",
371-
"md:grid-cols-main-md",
372377
"md:h-[334px]",
378+
"md:h-[calc(100vh",
373379
"md:hidden",
374380
"md:max-w-[66%]",
375381
"md:px-20",
376382
"md:scale-100",
383+
"md:text-sm",
384+
"md:w-[300px]",
385+
"md:z-auto",
377386
"min-h-screen",
378387
"min-w-0",
388+
"min-w-52",
379389
"ml-3",
380390
"ml-auto",
381391
"mt-1",
@@ -399,7 +409,7 @@
399409
"overflow-clip",
400410
"overflow-hidden",
401411
"overflow-x-hidden",
402-
"overflow-y-scroll",
412+
"overflow-y-auto",
403413
"p-1",
404414
"p-2",
405415
"p-4",
@@ -410,7 +420,6 @@
410420
"pb-0.5",
411421
"pb-1",
412422
"pb-2",
413-
"pb-32",
414423
"pb-4",
415424
"pl-1",
416425
"pl-2",
@@ -419,7 +428,6 @@
419428
"pl-5",
420429
"place-items-center",
421430
"placeholder:text-white",
422-
"pr-2",
423431
"prose",
424432
"pt-0",
425433
"px-1",
@@ -439,6 +447,7 @@
439447
"right-8",
440448
"ring-[1.5px]",
441449
"ring-gray-light-200",
450+
"rotate-180",
442451
"rotate-45",
443452
"rounded",
444453
"rounded-[6px]",
@@ -463,6 +472,7 @@
463472
"sm:items-center",
464473
"sm:w-full",
465474
"space-x-2",
475+
"space-y-2",
466476
"space-y-4",
467477
"sticky",
468478
"svg-container",
@@ -477,6 +487,7 @@
477487
"text-center",
478488
"text-divider-light",
479489
"text-gray-light",
490+
"text-gray-light-200",
480491
"text-gray-light-300",
481492
"text-gray-light-500",
482493
"text-gray-light-600",
@@ -491,18 +502,22 @@
491502
"text-white",
492503
"text-xl",
493504
"text-xs",
505+
"to-30%",
494506
"to-50%",
495507
"to-75%",
496508
"to-blue-light",
497509
"to-magenta-light-400",
498510
"to-transparent",
511+
"to-white",
499512
"toc",
500513
"top-0",
501514
"top-16",
502515
"top-3",
503516
"top-6",
504517
"top-full",
518+
"transform",
505519
"transition",
520+
"transition-transform",
506521
"truncate",
507522
"underline",
508523
"underline-offset-2",
@@ -518,13 +533,13 @@
518533
"w-screen",
519534
"xl:grid-cols-3",
520535
"xl:grid-cols-4",
521-
"xl:grid-cols-main-xl",
522536
"xl:w-[1200px]",
523537
"xl:w-[400px]",
524538
"youtube-video",
525539
"z-10",
526540
"z-20",
527541
"z-30",
542+
"z-40",
528543
"z-50"
529544
],
530545
"ids": null

0 commit comments

Comments
 (0)