From 9c22b0c73e124d95616b5b6313d24c4978ac296d Mon Sep 17 00:00:00 2001 From: Steve Scargall <37674041+sscargal@users.noreply.github.com> Date: Mon, 8 Sep 2025 20:21:24 +0000 Subject: [PATCH 1/4] Added external links to docs in top and footer navigation menus Signed-off-by: Steve Scargall <37674041+sscargal@users.noreply.github.com> --- hugo.toml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/hugo.toml b/hugo.toml index 8e69ae2..d9e3515 100644 --- a/hugo.toml +++ b/hugo.toml @@ -68,7 +68,12 @@ tags = 'tags' [[menus.main]] name = 'Blog' pageRef = '/blog' - weight = 50 + weight = 60 + + [[menus.main]] + name = 'Docs' + url = 'http://docs.memmachine.ai' + weight = 70 # Footer Product menu [[menus.footerProduct]] @@ -86,6 +91,11 @@ tags = 'tags' pageRef = '/blog' weight = 30 + [[menus.footerProduct]] + name = 'Docs' + url = 'http://docs.memmachine.ai' + weight = 40 + # Footer Company menu [[menus.footerCompany]] name = 'Home' From 3ca1b0d45ec6111bb7b744530c93384ff57f3b0e Mon Sep 17 00:00:00 2001 From: Steve Scargall <37674041+sscargal@users.noreply.github.com> Date: Mon, 8 Sep 2025 21:24:05 +0000 Subject: [PATCH 2/4] Added social icons to top nav menu Signed-off-by: Steve Scargall <37674041+sscargal@users.noreply.github.com> --- hugo.toml | 15 +++++++++++++++ themes/memmachine/assets/css/styles.css | 18 ++++++++++++++++++ .../memmachine/layouts/_partials/header.html | 18 ++++++++---------- .../layouts/_partials/social-icons.html | 11 +++++++++++ 4 files changed, 52 insertions(+), 10 deletions(-) create mode 100644 themes/memmachine/layouts/_partials/social-icons.html diff --git a/hugo.toml b/hugo.toml index d9e3515..72cb0a9 100644 --- a/hugo.toml +++ b/hugo.toml @@ -75,6 +75,21 @@ tags = 'tags' url = 'http://docs.memmachine.ai' weight = 70 + # Social media links for the top nav + [[menus.social]] + name = "Discord" + url = "https://discord.gg/usydANvKqD" + weight = 10 + [menus.social.params] + icon = "discord" + + [[menus.social]] + name = "GitHub" + url = "https://github.com/MemMachine/MemMachine" + weight = 20 + [menus.social.params] + icon = "github" + # Footer Product menu [[menus.footerProduct]] name = 'Examples' diff --git a/themes/memmachine/assets/css/styles.css b/themes/memmachine/assets/css/styles.css index bec0d29..96bc007 100644 --- a/themes/memmachine/assets/css/styles.css +++ b/themes/memmachine/assets/css/styles.css @@ -1950,4 +1950,22 @@ footer p { .social-icon { margin-top: 20px; +} + +/* ====================================== + * Header Social Icons +/* ====================================== */ +.header-social-icons { + display: flex; + align-items: center; + gap: 15px; /* Adjust spacing as needed */ +} + +.header-social-icons a { + color: var(--light-300); + font-size: 20px; /* Adjust size as needed */ +} + +.header-social-icons a:hover { + color: var(--lavender); } \ No newline at end of file diff --git a/themes/memmachine/layouts/_partials/header.html b/themes/memmachine/layouts/_partials/header.html index 5861adb..1e929b3 100644 --- a/themes/memmachine/layouts/_partials/header.html +++ b/themes/memmachine/layouts/_partials/header.html @@ -1,6 +1,3 @@ -
+ Our Playground is getting a major upgrade to give you an even better experience. +
++ We're working hard to make it worth the wait! While you're waiting, please explore these resources to start your journey. +
+ +