From afd6bda8a241b984c4a69f22d14c21f466e9b23e Mon Sep 17 00:00:00 2001 From: Mahmoud Abdelwahab Date: Fri, 31 May 2024 23:01:52 +0300 Subject: [PATCH] Updates --- apps/web/app/components/intro.tsx | 26 ------------------------ apps/web/app/components/ui/heading.tsx | 28 -------------------------- apps/web/app/routes/_index.tsx | 16 +++++++++++++-- 3 files changed, 14 insertions(+), 56 deletions(-) delete mode 100644 apps/web/app/components/intro.tsx delete mode 100644 apps/web/app/components/ui/heading.tsx diff --git a/apps/web/app/components/intro.tsx b/apps/web/app/components/intro.tsx deleted file mode 100644 index 997e23d..0000000 --- a/apps/web/app/components/intro.tsx +++ /dev/null @@ -1,26 +0,0 @@ -import { Heading } from "./ui/heading"; - -export const Intro = () => { - return ( -
- - Postgres in less than a second - - - Instantly provison a Postgres database on{" "} - - Neon - {" "} - -
- ); -}; diff --git a/apps/web/app/components/ui/heading.tsx b/apps/web/app/components/ui/heading.tsx deleted file mode 100644 index b450f87..0000000 --- a/apps/web/app/components/ui/heading.tsx +++ /dev/null @@ -1,28 +0,0 @@ -import type { HeadingProps as ReactAriaHeadingProps } from "react-aria-components"; -import { Heading as ReactAriaHeading } from "react-aria-components"; -import { sizes } from "./constants"; -import { cn } from "~/lib/cn"; - -export type HeadingProps = ReactAriaHeadingProps & { - size?: keyof typeof sizes; -}; - -const Heading = ({ - children, - className, - level, - size = "lg", - ...props -}: HeadingProps) => { - return ( - - {children} - - ); -}; - -export { Heading }; diff --git a/apps/web/app/routes/_index.tsx b/apps/web/app/routes/_index.tsx index a1464ab..50d200b 100644 --- a/apps/web/app/routes/_index.tsx +++ b/apps/web/app/routes/_index.tsx @@ -12,7 +12,6 @@ import { ConnectionString } from "~/components/connection-string"; import { DeployButton } from "~/components/deploy-button"; import { SqlEditor } from "~/components/sql-editor"; import { Message } from "~/components/message"; -import { Intro } from "~/components/intro"; import { minDelay } from "~/lib/min-delay"; import { regions } from "@instant-postgres/neon/regions"; @@ -68,7 +67,20 @@ export default function Index() { return (
- +
+

+ Postgres in under a second +

+

+ Instantly provison a Postgres database on + + Neon + +

+