diff options
| author | Dhravya Shah <[email protected]> | 2025-03-17 15:18:48 -0700 |
|---|---|---|
| committer | Dhravya Shah <[email protected]> | 2025-03-17 15:18:48 -0700 |
| commit | 8931c43295d593ffbec8431f5a2e4c97f02f5480 (patch) | |
| tree | 39cb64a792cf1b24fe0b9487990dcf52451d6698 /apps/web | |
| parent | fix: tweets view (diff) | |
| parent | Merge pull request #339 from supermemoryai/hybrid-rag (diff) | |
| download | supermemory-8931c43295d593ffbec8431f5a2e4c97f02f5480.tar.xz supermemory-8931c43295d593ffbec8431f5a2e4c97f02f5480.zip | |
Merge branch 'main' of github.com:supermemoryai/supermemory
Diffstat (limited to 'apps/web')
| -rw-r--r-- | apps/web/app/components/Landing/Hero.tsx | 15 | ||||
| -rw-r--r-- | apps/web/app/routes/extension.ts | 4 | ||||
| -rw-r--r-- | apps/web/app/routes/onboarding.index.tsx | 78 | ||||
| -rw-r--r-- | apps/web/app/routes/onboarding.privacy.tsx | 77 |
4 files changed, 15 insertions, 159 deletions
diff --git a/apps/web/app/components/Landing/Hero.tsx b/apps/web/app/components/Landing/Hero.tsx index 06d82dfb..353d0211 100644 --- a/apps/web/app/components/Landing/Hero.tsx +++ b/apps/web/app/components/Landing/Hero.tsx @@ -77,7 +77,10 @@ export default function Hero() { </Popover> */} - <a href="https://docs.supermemory.ai" className="text-gray-600 hover:text-gray-900 transition-colors"> + <a + href="https://docs.supermemory.ai" + className="text-gray-600 hover:text-gray-900 transition-colors" + > Docs </a> </nav> @@ -86,10 +89,16 @@ export default function Hero() { {/* Right section */} <div className="flex items-center space-x-6"> <div className="hidden sm:flex items-center space-x-6"> - <a href="#" className="text-gray-600 hover:text-gray-900 transition-colors"> + <a + href="https://git.new/memory" + className="text-gray-600 hover:text-gray-900 transition-colors" + > <GithubIcon className="h-6 w-6" /> </a> - <a href="#" className="text-gray-600 hover:text-gray-900 transition-colors"> + <a + href="https://discord.gg/b3BgKWpbtR" + className="text-gray-600 hover:text-gray-900 transition-colors" + > <DiscordIcon className="h-6 w-6" /> </a> </div> diff --git a/apps/web/app/routes/extension.ts b/apps/web/app/routes/extension.ts index 0a44b972..f20d7cc3 100644 --- a/apps/web/app/routes/extension.ts +++ b/apps/web/app/routes/extension.ts @@ -1,5 +1,7 @@ import { LoaderFunctionArgs, redirect } from "@remix-run/cloudflare"; export async function loader({ context }: LoaderFunctionArgs) { - return redirect("https://chromewebstore.google.com/detail/supermemory/afpgkkipfdpeaflnpoaffkcankadgjfc?hl=en"); + return redirect( + "https://chromewebstore.google.com/detail/supermemory/afpgkkipfdpeaflnpoaffkcankadgjfc?hl=en", + ); } diff --git a/apps/web/app/routes/onboarding.index.tsx b/apps/web/app/routes/onboarding.index.tsx index 5ffff732..30ff8d37 100644 --- a/apps/web/app/routes/onboarding.index.tsx +++ b/apps/web/app/routes/onboarding.index.tsx @@ -48,84 +48,6 @@ export default function Onboarding() { animate={{ opacity: 1 }} className="flex flex-col min-h-screen items-center pt-40 relative overflow-hidden bg-gradient-to-b from-gray-900 to-gray-800 bg-opacity-40" > - {/* Neural network background pattern */} - <div className="absolute inset-0 overflow-hidden"> - {/* Subtle gradient orbs */} - {[...Array(4)].map((_, i) => ( - <motion.div - key={`orb-${i}`} - className="absolute rounded-full blur-3xl opacity-20" - style={{ - background: `radial-gradient(circle, ${ - i % 2 === 0 ? "#3b82f6" : "#4f46e5" - } 0%, transparent 70%)`, - width: `${Math.random() * 300 + 200}px`, - height: `${Math.random() * 300 + 200}px`, - }} - animate={{ - x: [Math.random() * window.innerWidth, Math.random() * window.innerWidth], - y: [Math.random() * window.innerHeight, Math.random() * window.innerHeight], - }} - transition={{ - duration: 25, - repeat: Infinity, - repeatType: "reverse", - ease: "easeInOut", - }} - /> - ))} - - {/* Neurons */} - {[...Array(30)].map((_, i) => ( - <motion.div - key={i} - className="absolute w-3 h-3 bg-blue-400/30 rounded-full" - initial={{ - x: Math.random() * window.innerWidth, - y: Math.random() * window.innerHeight, - scale: Math.random() * 0.5 + 0.5, - }} - animate={{ - x: Math.random() * window.innerWidth, - y: Math.random() * window.innerHeight, - scale: [null, 1.2, 1], - }} - transition={{ - duration: 10 + Math.random() * 5, - repeat: Infinity, - ease: "linear", - delay: Math.random() * 2, - }} - /> - ))} - - {/* Synaptic connections */} - {[...Array(40)].map((_, i) => ( - <motion.div - key={`line-${i}`} - className="absolute h-[1px] bg-gradient-to-r from-blue-400/20 to-transparent" - style={{ - width: `${Math.random() * 200 + 100}px`, - transform: `rotate(${Math.random() * 360}deg)`, - }} - initial={{ - x: Math.random() * window.innerWidth, - y: Math.random() * window.innerHeight, - opacity: 0.1, - }} - animate={{ - opacity: [0.1, 0.3, 0.1], - }} - transition={{ - duration: 4 + Math.random() * 2, - repeat: Infinity, - ease: "easeInOut", - delay: Math.random() * 2, - }} - /> - ))} - </div> - {/* Logo */} <motion.div initial={{ y: 20, opacity: 0 }} diff --git a/apps/web/app/routes/onboarding.privacy.tsx b/apps/web/app/routes/onboarding.privacy.tsx index 5a03c998..e043bf63 100644 --- a/apps/web/app/routes/onboarding.privacy.tsx +++ b/apps/web/app/routes/onboarding.privacy.tsx @@ -27,83 +27,6 @@ export default function Onboarding() { animate={{ opacity: 1 }} className="flex flex-col min-h-screen items-center pt-20 relative overflow-hidden bg-gradient-to-b from-gray-900 to-gray-800 bg-opacity-40" > - {/* Neural network background pattern */} - <div className="absolute inset-0 overflow-hidden pointer-events-none"> - {/* Subtle gradient orbs */} - {[...Array(4)].map((_, i) => ( - <motion.div - key={`orb-${i}`} - className="absolute rounded-full blur-3xl opacity-20" - style={{ - background: `radial-gradient(circle, ${ - i % 2 === 0 ? "#3b82f6" : "#4f46e5" - } 0%, transparent 70%)`, - width: `${Math.random() * 300 + 200}px`, - height: `${Math.random() * 300 + 200}px`, - }} - animate={{ - x: [Math.random() * window.innerWidth, Math.random() * window.innerWidth], - y: [Math.random() * window.innerHeight, Math.random() * window.innerHeight], - }} - transition={{ - duration: 25, - repeat: Infinity, - repeatType: "reverse", - ease: "easeInOut", - }} - /> - ))} - - {/* Neurons */} - {[...Array(30)].map((_, i) => ( - <motion.div - key={i} - className="absolute w-3 h-3 bg-blue-400/30 rounded-full" - initial={{ - x: Math.random() * window.innerWidth, - y: Math.random() * window.innerHeight, - scale: Math.random() * 0.5 + 0.5, - }} - animate={{ - x: Math.random() * window.innerWidth, - y: Math.random() * window.innerHeight, - scale: [null, 1.2, 1], - }} - transition={{ - duration: 10 + Math.random() * 5, - repeat: Infinity, - ease: "linear", - delay: Math.random() * 2, - }} - /> - ))} - - {/* Synaptic connections */} - {[...Array(40)].map((_, i) => ( - <motion.div - key={`line-${i}`} - className="absolute h-[1px] bg-gradient-to-r from-blue-400/20 to-transparent" - style={{ - width: `${Math.random() * 200 + 100}px`, - transform: `rotate(${Math.random() * 360}deg)`, - }} - initial={{ - x: Math.random() * window.innerWidth, - y: Math.random() * window.innerHeight, - opacity: 0.1, - }} - animate={{ - opacity: [0.1, 0.3, 0.1], - }} - transition={{ - duration: 4 + Math.random() * 2, - repeat: Infinity, - ease: "easeInOut", - delay: Math.random() * 2, - }} - /> - ))} - </div> {/* Logo */} <motion.div |