diff --git a/packages/webapp/public/vite.svg b/packages/webapp/public/vite.svg deleted file mode 100644 index e7b8dfb..0000000 --- a/packages/webapp/public/vite.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/webapp/src/assets/react.svg b/packages/webapp/src/assets/react.svg deleted file mode 100644 index 6c87de9..0000000 --- a/packages/webapp/src/assets/react.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/webapp/src/components/ui/card.tsx b/packages/webapp/src/components/ui/card.tsx new file mode 100644 index 0000000..d5a3851 --- /dev/null +++ b/packages/webapp/src/components/ui/card.tsx @@ -0,0 +1,92 @@ +import * as React from "react" + +import { cn } from "@/lib/utils" + +function Card({ className, ...props }: React.ComponentProps<"div">) { + return ( +
+ ) +} + +function CardHeader({ className, ...props }: React.ComponentProps<"div">) { + return ( +
+ ) +} + +function CardTitle({ className, ...props }: React.ComponentProps<"div">) { + return ( +
+ ) +} + +function CardDescription({ className, ...props }: React.ComponentProps<"div">) { + return ( +
+ ) +} + +function CardAction({ className, ...props }: React.ComponentProps<"div">) { + return ( +
+ ) +} + +function CardContent({ className, ...props }: React.ComponentProps<"div">) { + return ( +
+ ) +} + +function CardFooter({ className, ...props }: React.ComponentProps<"div">) { + return ( +
+ ) +} + +export { + Card, + CardHeader, + CardFooter, + CardTitle, + CardDescription, + CardContent, + CardAction, +} diff --git a/packages/webapp/src/main.tsx b/packages/webapp/src/main.tsx index 23ff3df..b5cf062 100644 --- a/packages/webapp/src/main.tsx +++ b/packages/webapp/src/main.tsx @@ -1,6 +1,7 @@ import { createRouter, RouterProvider } from "@tanstack/react-router" import { StrictMode } from "react" import { createRoot } from "react-dom/client" +import "./index.css" import { routeTree } from "./routeTree.gen" diff --git a/packages/webapp/src/routes/__root.tsx b/packages/webapp/src/routes/__root.tsx index c87a65c..fd0cc21 100644 --- a/packages/webapp/src/routes/__root.tsx +++ b/packages/webapp/src/routes/__root.tsx @@ -1,3 +1,4 @@ +import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card" import { Outlet, createRootRoute } from "@tanstack/react-router" import { TanStackRouterDevtools } from "@tanstack/react-router-devtools" @@ -8,7 +9,16 @@ export const Route = createRootRoute({ function RootComponent() { return <> - + + + My website + + + + + + + }