diff --git a/apps/web/src/app/page.tsx b/apps/web/src/app/page.tsx deleted file mode 100644 index 03598f0ff..000000000 --- a/apps/web/src/app/page.tsx +++ /dev/null @@ -1,152 +0,0 @@ -'use client' - -import { Poppins } from 'next/font/google' -import { useState } from 'react' -import { Toaster, toast } from 'sonner' -import { InputBorderSpotlight } from '@/components/ui/input-spotlight' -import EncryptButton from '@/components/ui/encrypt-btn' -import Links from '../components/links' -import Killers from '../components/killers' -import { Logo, Grid, Stars, DiscordSVG, XSVG, LinkdinSVG } from '../../public' - -const poppins = Poppins({ - subsets: ['latin'], - weight: ['400', '500', '600', '700'] -}) - -function Index(): React.JSX.Element { - const [email, setEmail] = useState('') - - // eslint-disable-next-line no-console -- chill - console.log(email) - - const onSubmit = (e: React.FormEvent): void => { - e.preventDefault() - - if (email === '') { - toast.custom(() => ( -
-

Pleasse enter an email address

-
- )) - return - } - - const url = - 'https://xyz.us18.list-manage.com/subscribe/post?u=2e44b940cafe6e54d8b9e0790&id=bd382dd7c5&f_id=00e5c2e1f0' - - async function fetchData(): Promise { - toast.custom((_t) => ( -
-

Welcome to Keyshade 🎉

-

- You have been added to the waitlist. We will notify you once we - launch -

- {/* */} -
- )) - try { - await fetch(`${url}&EMAIL=${email}`, { - mode: 'no-cors' - }) - } catch (error) { - // eslint-disable-next-line no-console -- chill - console.error(error) - } - } - void fetchData() - } - - return ( - <> - -
-
-
-
-
- - -
-
-
- -

- keyshade.xyz -

-
-
-

- Manage all your secrets securely with public key encryption - and realtime based tools, that seamlessly fits into your - codebase -

-
- -
- - -
-
-
- -
- onSubmit} - /> -
-
-
- - -
-
-
-
- - ) -} - -export default Index diff --git a/apps/web/src/components/killers.tsx b/apps/web/src/components/killers.tsx deleted file mode 100644 index 7f3cef5f2..000000000 --- a/apps/web/src/components/killers.tsx +++ /dev/null @@ -1,16 +0,0 @@ -import React from 'react' - -interface KillersProps { - children: React.ReactNode -} -function Killers({ children }: KillersProps): React.JSX.Element { - return ( -
-
- {children} -
-
- ) -} - -export default Killers diff --git a/apps/web/src/components/links.tsx b/apps/web/src/components/links.tsx deleted file mode 100644 index fe52b0ed0..000000000 --- a/apps/web/src/components/links.tsx +++ /dev/null @@ -1,32 +0,0 @@ -import Image from 'next/image' -import { Inter } from 'next/font/google' -import React from 'react' - -const inter = Inter({ subsets: ['latin'] }) -interface LinksProps { - icon: string - description: string - link: string -} - -function Links({ icon, description, link }: LinksProps): React.JSX.Element { - return ( - -
- {icon} -

{description}

-
-
- ) -} - -export default Links