aboutsummaryrefslogtreecommitdiff
path: root/apps/web/app
diff options
context:
space:
mode:
authorDhravya Shah <[email protected]>2024-07-28 09:45:15 -0700
committerDhravya Shah <[email protected]>2024-07-28 09:45:15 -0700
commit78e35e395b2e173f6ffe9b1c5e304ea211d047be (patch)
treeaa09685fd0ff2d6e6aefc1c329b4cf29550caa35 /apps/web/app
parentMerge pull request #174 from supermemoryai/Welding-Torch-patch-1 (diff)
downloadsupermemory-78e35e395b2e173f6ffe9b1c5e304ea211d047be.tar.xz
supermemory-78e35e395b2e173f6ffe9b1c5e304ea211d047be.zip
lockfile
Diffstat (limited to 'apps/web/app')
-rw-r--r--apps/web/app/(landing)/Hero.tsx14
-rw-r--r--apps/web/app/api/store/route.ts8
2 files changed, 6 insertions, 16 deletions
diff --git a/apps/web/app/(landing)/Hero.tsx b/apps/web/app/(landing)/Hero.tsx
index 1cdfced8..6a5a260d 100644
--- a/apps/web/app/(landing)/Hero.tsx
+++ b/apps/web/app/(landing)/Hero.tsx
@@ -77,22 +77,20 @@ function Hero() {
<AnimatedLogoCloud />
<div className="relative z-50">
- <motion.iframe
+ <motion.img
{...{
...slap,
transition: { ...slap.transition, delay: 0.35 },
}}
+ src="/images/landing-hero.jpeg"
+ alt="Landing page background"
+ width={1512}
+ height={1405}
draggable="false"
- className="z-40 relative md:mt-[-40px] hidden sm:block h-full max-w-[70vw] mx-auto md:w-full select-none px-5 !rounded-2xl"
+ className="z-40 md:mt-[-40px] hidden sm:block h-full max-w-[70vw] mx-auto md:w-full select-none px-5 !rounded-2xl"
style={{
borderRadius: "20px",
- width: "100%",
- height: "100%",
}}
- src="https://customer-5xczlbkyq4f9ejha.cloudflarestream.com/111c4828c3587348bc703e67bfca9682/iframe?preload=true&poster=https%3A%2F%2Fcustomer-5xczlbkyq4f9ejha.cloudflarestream.com%2F111c4828c3587348bc703e67bfca9682%2Fthumbnails%2Fthumbnail.jpg%3Ftime%3D%26height%3D600"
- loading="lazy"
- allow="accelerometer; gyroscope; autoplay; encrypted-media; picture-in-picture;"
- allowFullScreen={true}
/>
<div
className="absolute -z-10 left-0 top-[10%] h-32 w-[90%] overflow-x-hidden bg-[rgb(54,157,253)] bg-opacity-100 blur-[337.4px]"
diff --git a/apps/web/app/api/store/route.ts b/apps/web/app/api/store/route.ts
index 13cef19e..e0ff82cd 100644
--- a/apps/web/app/api/store/route.ts
+++ b/apps/web/app/api/store/route.ts
@@ -37,14 +37,6 @@ const createMemoryFromAPI = async (input: {
),
);
- if (numberOfItemsSavedInLast2Hours[0]!.count >= 20) {
- return {
- success: false,
- data: 0,
- error: `You have exceeded the limit`,
- };
- }
-
const vectorSaveResponse = await fetch(
`${process.env.BACKEND_BASE_URL}/api/add`,
{