Skip to content

Commit

Permalink
Merge pull request docker#19127 from dvdksn/site-fixups
Browse files Browse the repository at this point in the history
site fixups
  • Loading branch information
dvdksn authored Jan 19, 2024
2 parents 383af84 + b1b8263 commit f2ab281
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 17 deletions.
32 changes: 32 additions & 0 deletions assets/images/docs-logo-white-full.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ related:

build:
buildStats:
enabled: true
enable: true
cachebusters:
- source: assets/watching/hugo_stats\.json
target: styles\.css
Expand Down
5 changes: 3 additions & 2 deletions layouts/partials/header.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<header class="sticky top-0 z-20 h-16 px-4 text-white bg-gradient-to-r from-accent-light to-blue-light-500 dark:from-accent-dark dark:to-blue-dark-100">
<div class="mx-auto flex h-full max-w-[1440px] items-center justify-between">
<div class="mx-auto flex h-full max-w-[1400px] items-center justify-between">
<div class="flex h-full items-center gap-8 md:gap-2">
<button x-data tabindex="4" @click="() => {
$store.showSidebar = ! $store.showSidebar;
Expand All @@ -14,9 +14,10 @@
menu
</button>
<div>
{{/* main logo */}}
<a href="{{ site.BaseURL }}">
<div>
{{ readFile "static/assets/images/docker-docs-logo.svg" | safeHTML }}
{{- (resources.Get "images/docs-logo-white-full.svg").Content | safe.HTML -}}
</div>
</a>
</div>
Expand Down
Loading

0 comments on commit f2ab281

Please sign in to comment.