diff --git a/apps/web/src/components/header.tsx b/apps/web/src/components/header.tsx index bfcde3d2a0..0ed6572494 100644 --- a/apps/web/src/components/header.tsx +++ b/apps/web/src/components/header.tsx @@ -26,6 +26,7 @@ function getMaxWidthClass(pathname: string): string { const productsList = [ { to: "/product/notepad", label: "Notepad" }, + { to: "/product/memory", label: "Memory", badge: "Coming Soon" }, { to: "/product/bot", label: "Bot", badge: "Coming Soon" }, { to: "/product/api", label: "API", badge: "Coming Soon" }, { to: "/product/extensions", label: "Extensions", badge: "Coming Soon" }, diff --git a/apps/web/src/routes/_view/product/memory.tsx b/apps/web/src/routes/_view/product/memory.tsx index 0065902db0..f120891d6a 100644 --- a/apps/web/src/routes/_view/product/memory.tsx +++ b/apps/web/src/routes/_view/product/memory.tsx @@ -1,9 +1,124 @@ -import { createFileRoute } from "@tanstack/react-router"; +import { Icon } from "@iconify-icon/react"; +import { createFileRoute, Link } from "@tanstack/react-router"; + +import { cn } from "@hypr/utils"; + +import { usePlatform } from "@/hooks/use-platform"; export const Route = createFileRoute("/_view/product/memory")({ - component: RouteComponent, + component: Component, + head: () => ({ + meta: [ + { title: "Memory - Hyprnote" }, + { + name: "description", + content: + "Your memory layer that connects all your meetings and conversations. Coming soon.", + }, + ], + }), }); -function RouteComponent() { - return
Hello "/_view/product/memory"!
; +function Component() { + const platform = usePlatform(); + + const getPrimaryCTA = () => { + if (platform === "mac") { + return { + labelFull: "Download for Mac", + labelShort: "Download", + href: "/download/apple-silicon", + isDownload: true, + }; + } + return { + labelFull: platform === "mobile" ? "Remind Me" : "Join Waitlist", + labelShort: platform === "mobile" ? "Remind Me" : "Join Waitlist", + href: "/", + isDownload: false, + }; + }; + + const primaryCTA = getPrimaryCTA(); + + return ( +
+
+
+
+

+ Your + + memory layer +

+

+ Hyprnote connects all your meetings and conversations. The more + you use it, the more it knows about you, your team, and your work. +

+ +
+
+ Coming Soon +
+
+ +
+ {primaryCTA.isDownload ? ( + + + {primaryCTA.labelFull} + + {primaryCTA.labelShort} + + ) : ( + + + {primaryCTA.labelFull} + + {primaryCTA.labelShort} + + )} + + Learn More + +
+
+
+
+
+ ); }