diff --git a/content/en/playground.md b/content/en/playground.md new file mode 100644 index 0000000..90a79a8 --- /dev/null +++ b/content/en/playground.md @@ -0,0 +1,10 @@ +--- +title: "Discover the MemMachine Playground" +date: 2024-08-21T12:00:00-07:00 +draft: false +layout: "playground" +--- + +Experience MemMachine in our playground for free. + +Explore our tools, learn how they work, and see what's possible. diff --git a/data/examples.yaml b/data/examples.yaml index e43a6d8..058ac18 100644 --- a/data/examples.yaml +++ b/data/examples.yaml @@ -1,19 +1,19 @@ - title: Your CRM Assistant icon: "fa-solid fa-user" text: "Your agent can recall a client's entire history and deal stage, proactively helping your sales team build relationships and close deals faster." - url: "#" + url: "https://github.com/MemMachine/MemMachine/tree/main/docs" - title: A Healthcare Navigator icon: "fa-solid fa-heart" text: "Offer continuous patient support with an agent that remembers medical history and tracks treatment progress to provide a seamless healthcare journey." - url: "#" + url: "https://github.com/MemMachine/MemMachine/tree/main/docs" - title: A Personal Finance Advisor icon: "fa-solid fa-comment-dollar" text: "Your agent will remember a user's portfolio and risk tolerance, delivering personalized financial insights based on their complete history." - url: "#" + url: "https://github.com/MemMachine/MemMachine/tree/main/docs" -- title: A Technical Writer +- title: A Content Writer icon: "fa-solid fa-pen-to-square" text: "Build an assistant that remembers your unique style guide and terminology, ensuring perfect consistency across all documentation." - url: "#" + url: "https://github.com/MemMachine/MemMachine/tree/main/docs" diff --git a/hugo.toml b/hugo.toml index 8e69ae2..72cb0a9 100644 --- a/hugo.toml +++ b/hugo.toml @@ -68,7 +68,27 @@ tags = 'tags' [[menus.main]] name = 'Blog' pageRef = '/blog' - weight = 50 + weight = 60 + + [[menus.main]] + name = 'Docs' + 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]] @@ -86,6 +106,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' 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 @@ -
@@ -10,15 +7,16 @@
{{- partial "menu.html" (dict "menuID" "main" "page" .) -}}
-
+
+ {{- partial "social-icons.html" . -}}
@@ -35,12 +33,12 @@ {{- partial "menu.html" (dict "menuID" "main" "page" .) -}} + {{- partial "social-icons.html" . -}} +
- -
+
diff --git a/themes/memmachine/layouts/_partials/social-icons.html b/themes/memmachine/layouts/_partials/social-icons.html new file mode 100644 index 0000000..4d88a71 --- /dev/null +++ b/themes/memmachine/layouts/_partials/social-icons.html @@ -0,0 +1,11 @@ +
+ {{ with site.Menus.social }} + {{- range . }} + + {{- with .Params.icon }} + + {{- end }} + + {{- end }} + {{- end }} +
\ No newline at end of file diff --git a/themes/memmachine/layouts/playground.html b/themes/memmachine/layouts/playground.html new file mode 100644 index 0000000..39ec043 --- /dev/null +++ b/themes/memmachine/layouts/playground.html @@ -0,0 +1,51 @@ +{{ define "main" }} + +
+
+
+
+
+

+ {{ .Title }} +

+
+ {{ .Content }} +
+
+
+
+
+
+ + +
+
+
+
+

We're Building Something Amazing

+

+ 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. +

+ + + +
+
+
+
+ +{{ end }}