-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
990 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"$schema": "https://ui.shadcn.com/schema.json", | ||
"style": "default", | ||
"rsc": true, | ||
"tsx": true, | ||
"tailwind": { | ||
"config": "tailwind.config.ts", | ||
"css": "src/app/globals.css", | ||
"baseColor": "zinc", | ||
"cssVariables": true, | ||
"prefix": "" | ||
}, | ||
"aliases": { | ||
"components": "@/components", | ||
"utils": "@/lib/utils" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,47 @@ | ||
// Generated by Wrangler | ||
// by running `wrangler types --env-interface CloudflareEnv env.d.ts` | ||
|
||
interface CloudflareEnv {} | ||
interface CloudflareEnv { | ||
RATELIMITER: RateLimitBinding; | ||
} | ||
|
||
export interface RateLimitBinding { | ||
limit: LimitFunc; | ||
} | ||
|
||
export interface LimitFunc { | ||
(options: LimitOptions): Promise<RateLimitResult>; | ||
} | ||
|
||
interface RateLimitResult { | ||
success: boolean; | ||
} | ||
|
||
export interface LimitOptions { | ||
key: string; | ||
} | ||
|
||
export interface RateLimitResponse { | ||
key: string; | ||
success: boolean; | ||
} | ||
|
||
export interface RateLimitOptions { | ||
continueOnRateLimit: boolean; | ||
} | ||
|
||
export type RateLimitKeyFunc = { | ||
(c: Context): string; | ||
}; | ||
|
||
declare global { | ||
namespace NodeJS { | ||
interface ProcessEnv { | ||
// [key: string]: string | undefined; | ||
RATELIMITER: RateLimitBinding; | ||
CLOUDFLARE_TURNSTILE_TOKEN: string; | ||
} | ||
} | ||
} | ||
|
||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
import Image from "next/image"; | ||
import React from "react"; | ||
import EmailInput from "./EmailInput"; | ||
|
||
function Cta() { | ||
return ( | ||
<section | ||
id="try" | ||
className="relative mb-32 mt-40 flex w-full flex-col items-center justify-center gap-8" | ||
> | ||
<div className="absolute left-0 z-[-1] h-full w-full"> | ||
{/* a blue gradient line that's slightly tilted with blur (a lotof blur)*/} | ||
<div className="overflow-hidden"> | ||
<div | ||
className="absolute left-0 h-32 w-full overflow-hidden bg-[#369DFD] bg-opacity-70 blur-[337.4px]" | ||
style={{ transform: "rotate(-30deg)" }} | ||
/> | ||
</div> | ||
</div> | ||
<Image | ||
src="/landing-ui-2.png" | ||
alt="Landing page background" | ||
width={1512} | ||
height={1405} | ||
priority | ||
draggable="false" | ||
className="absolute z-[-2] hidden select-none rounded-3xl bg-black md:block lg:w-[80%]" | ||
/> | ||
<h1 className="z-20 mt-4 text-center text-5xl font-light text-white"> | ||
Your bookmarks are collecting dust. | ||
</h1> | ||
<div className="text-center text-sm text-zinc-500"> | ||
Launching July 1st, 2024 | ||
</div> | ||
<p className="text-soft-foreground-text z-20 text-center"> | ||
Time to change that. <br /> Sign up for the waitlist and be the first to | ||
try Supermemory | ||
</p> | ||
<EmailInput /> | ||
</section> | ||
); | ||
} | ||
|
||
export default Cta; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.