feat: navbar logo and title can be configured

chore: add logos to static and update compiled css
This commit is contained in:
Xin
2023-08-20 20:34:01 +01:00
parent 0360a93e99
commit 80659b4933
6 changed files with 46 additions and 7 deletions

View File

@ -75,6 +75,16 @@ menu:
weight: 3
params:
navbar:
displayTitle: true
displayLogo: true
logo:
path: images/logo.svg
dark: images/logo-dark.svg
# link: /
# width: 40
# height: 20
footer:
disabled: false
displayCopyright: true
@ -94,4 +104,4 @@ params:
editURL:
disabled: false
base: "https://github.com/imfing/hextra/edit/dev/exampleSite/content"
base: "https://github.com/imfing/hextra/edit/main/exampleSite/content"

View File

@ -153,6 +153,7 @@
"dark:bg-primary-400/10",
"dark:bg-red-900/30",
"dark:bg-yellow-700/30",
"dark:block",
"dark:border-blue-200/30",
"dark:border-gray-100/20",
"dark:border-neutral-800",
@ -162,6 +163,7 @@
"dark:border-yellow-200/30",
"dark:contrast-more:border-neutral-400",
"dark:focus:bg-dark",
"dark:hidden",
"dark:hover:bg-gray-100/5",
"dark:hover:bg-neutral-900",
"dark:hover:bg-primary-100/5",
@ -340,6 +342,7 @@
"min-w-full",
"ml-1",
"ml-4",
"ml-auto",
"mr-1",
"mr-2",
"mt-1.5",