diff --git a/src/components/Header.astro b/src/components/Header.astro index f22592f..ef7df78 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -20,7 +20,7 @@ if (typeof CONFIG.DESCRIPTION_SIDEBAR === "undefined") { @@ -28,7 +28,7 @@ if (typeof CONFIG.DESCRIPTION_SIDEBAR === "undefined") { id="sidebar" class="z-50 bg-base-300 fixed top-0 left-0 w-64 h-full text-white pt-5 overflow-y-auto transform transition-transform duration-300 ease-in-out -translate-x-full md:translate-x-0" > -
+
diff --git a/src/components/Logo.astro b/src/components/Logo.astro index 6674caf..eeffae9 100644 --- a/src/components/Logo.astro +++ b/src/components/Logo.astro @@ -29,16 +29,17 @@ if (sidebar) { logo_id = "logoSidebar"; } else { logo_classes = " " + logo_post_override; - wrapper_classes = - "transition-opacity duration-1000 text-center w-64 md:hidden pt-5 md:pt-0"; + // This PR has turned into a full existential crisis on how to support logos of varying lengths... + // Hamburger menu is now right only. Logo is left aligned when menu drawer is closed, and centered in menu drawer when open. + wrapper_classes = "transition-opacity duration-1000 flex justify-start w-64 md:hidden pt-5 md:pt-0 pl-6"; logo_id = "logoMain"; } ---
- diff --git a/src/config/config.example.js b/src/config/config.example.js index ee37141..06ccdd4 100644 --- a/src/config/config.example.js +++ b/src/config/config.example.js @@ -14,7 +14,7 @@ export const CONFIG = { TITLE: "Nought", LOGO_TEXT: "nought.", // IF DIFFERENT FROM TITLE - DESCRIPTION: "An Astro 5 starter with Tailwind CSS", + DESCRIPTION: "An Astro 7 starter with Tailwind CSS", DEFAULT_AUTHOR: "ml", POSTS_DIR: "src/dummy_posts", // RELATIVE TO PROJECT DIRECTORY, OR ABSOLUTE PATH TAG_PAGES_DIR: "src/dummy_tag-pages", // RELATIVE TO PROJECT DIRECTORY, OR ABSOLUTE PATH. For custom content on tag page, i.e. /tags/ @@ -156,7 +156,7 @@ export const CONFIG = { LOGO_ALL_OVERRIDE: "", LOGO_SIDEBAR_OVERRIDE: "", - LOGO_BODY_OVERRIDE: "", + LOGO_POST_OVERRIDE: "", // TABLE OF CONTENTS //