diff --git a/.vscode/docker.code-snippets b/.vscode/docker.code-snippets index 200264824d67..18fde97b1548 100644 --- a/.vscode/docker.code-snippets +++ b/.vscode/docker.code-snippets @@ -39,4 +39,9 @@ ], "description": "Insert a Hugo tabs block with two tabs and snippet stops for names and content", }, + "Insert a Button": { + "prefix": ["button"], + "body": ["{{< button url=\"$1\" text=\"$2\" >}}"], + "description": "Insert a Hugo button", + }, } diff --git a/assets/css/components.css b/assets/css/components.css index c77f6ec01a45..bfb1ef702cdb 100644 --- a/assets/css/components.css +++ b/assets/css/components.css @@ -94,6 +94,9 @@ @apply h-12 w-12 overflow-hidden; } } +.button { + @apply mt-1 inline-block rounded-sm bg-blue-500 p-1 px-3 text-blue-50 text-white hover:bg-blue-600 dark:bg-blue-500 hover:dark:bg-blue-400; +} .summary-bar { @apply my-1 mt-4 flex flex-col rounded-sm border-1 border-gray-100 bg-gray-50 p-4 dark:border-gray-800 dark:bg-gray-900; diff --git a/assets/css/utilities.css b/assets/css/utilities.css index 9141f145f05a..99471943da6d 100644 --- a/assets/css/utilities.css +++ b/assets/css/utilities.css @@ -251,3 +251,6 @@ } } } +@utility chip { + @apply border-divider-light dark:border-divider-dark inline-flex items-center gap-1 rounded-full border bg-gray-100 px-2 text-sm text-gray-800 select-none dark:bg-gray-700 dark:text-gray-200; +} diff --git a/content/get-started/introduction/get-docker-desktop.md b/content/get-started/introduction/get-docker-desktop.md index 7bb25be36e60..5b6ff9d5e088 100644 --- a/content/get-started/introduction/get-docker-desktop.md +++ b/content/get-started/introduction/get-docker-desktop.md @@ -26,6 +26,7 @@ This guide will walk you through the installation process, enabling you to exper > Commercial use of Docker Desktop in larger enterprises (more than 250 > employees OR more than $10 million USD in annual revenue) requires a [paid subscription](https://www.docker.com/pricing/?_gl=1*1nyypal*_ga*MTYxMTUxMzkzOS4xNjgzNTM0MTcw*_ga_XJWPQMJYHQ*MTcxNjk4MzU4Mi4xMjE2LjEuMTcxNjk4MzkzNS4xNy4wLjA.). +
{{< card title="Docker Desktop for Mac" description="[Download (Apple Silicon)](https://desktop.docker.com/mac/main/arm64/Docker.dmg?utm_source=docker&utm_medium=webreferral&utm_campaign=docs-driven-download-mac-arm64) | [Download (Intel)](https://desktop.docker.com/mac/main/amd64/Docker.dmg?utm_source=docker&utm_medium=webreferral&utm_campaign=docs-driven-download-mac-amd64) | [Install instructions](/desktop/setup/install/mac-install)" @@ -40,7 +41,7 @@ This guide will walk you through the installation process, enabling you to exper title="Docker Desktop for Linux" description="[Install instructions](/desktop/setup/install/linux/)" icon="/icons/Linux.svg" >}} - +
Once it's installed, complete the setup process and you're all set to run a Docker container. diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 76280bcd9da3..7b06c790c819 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -29,7 +29,7 @@ } } })" - class="bg-background-toc dark:bg-background-toc fixed top-0 z-40 hidden h-screen w-full flex-none overflow-x-hidden overflow-y-auto md:sticky md:top-16 md:z-auto md:block md:h-[calc(100vh-64px)] md:w-[300px]" + class="bg-background-toc dark:bg-background-toc fixed top-0 z-40 hidden h-screen w-full flex-none overflow-x-hidden overflow-y-auto md:sticky md:top-16 md:z-auto md:block md:h-[calc(100vh-64px)] md:w-[320px]" :class="{ 'hidden': ! $store.showSidebar }" > @@ -40,7 +40,7 @@ x-transition.opacity >