From 00c5f7036f7ac1267efeed9fd40f7d7e80c02e84 Mon Sep 17 00:00:00 2001 From: skypush Date: Fri, 13 Jun 2025 22:02:17 +0100 Subject: [PATCH] feat(logo): added logo --- config.toml | 1 + static/images/colour-logo.svg | 19 +++++++++++++++++++ static/images/monochrome-logo.svg | 16 ++++++++++++++++ themes/ndt2/assets/css/main.css | 7 +++++++ themes/ndt2/layouts/partials/header.html | 16 +++++++++++++++- 5 files changed, 58 insertions(+), 1 deletion(-) create mode 100644 static/images/colour-logo.svg create mode 100644 static/images/monochrome-logo.svg diff --git a/config.toml b/config.toml index 247407777ba..e1a54efd865 100644 --- a/config.toml +++ b/config.toml @@ -24,6 +24,7 @@ relativeURLs = true [params] mainSections = ["daytrip", "post"] + logo = "colour-logo.svg" description = "A global map of places to visit that might appeal to nerdy types" [params.repository] diff --git a/static/images/colour-logo.svg b/static/images/colour-logo.svg new file mode 100644 index 00000000000..f7d6bc0baac --- /dev/null +++ b/static/images/colour-logo.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/static/images/monochrome-logo.svg b/static/images/monochrome-logo.svg new file mode 100644 index 00000000000..0e47d0b6fce --- /dev/null +++ b/static/images/monochrome-logo.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/themes/ndt2/assets/css/main.css b/themes/ndt2/assets/css/main.css index e03bdd96bb7..c96699b0dae 100644 --- a/themes/ndt2/assets/css/main.css +++ b/themes/ndt2/assets/css/main.css @@ -35,6 +35,13 @@ header#banner { position: relative; /* Establish positioning context */ } +.logo { + display: flex; + flex-direction: row; + gap: 2rem; + align-items: center; +} + header#banner a { color: #ecf0f1; /* Ensure h1 link color matches banner text color */ text-decoration: none; diff --git a/themes/ndt2/layouts/partials/header.html b/themes/ndt2/layouts/partials/header.html index 2ddaf6211b3..365d24391c9 100644 --- a/themes/ndt2/layouts/partials/header.html +++ b/themes/ndt2/layouts/partials/header.html @@ -1,5 +1,19 @@