diff --git a/README.md b/README.md index 8f7707c..a20e6e1 100644 --- a/README.md +++ b/README.md @@ -19,11 +19,11 @@ npm run dev - [ ] elements - [x] forms - [x] tables - - [ ] widgets + - [x] widgets - [ ] components - [ ] examples - [x] auth - - [ ] empty + - [x] empty - [ ] dasboard ## Docs diff --git a/src/Router.tsx b/src/Router.tsx index 719f2d7..4354cca 100644 --- a/src/Router.tsx +++ b/src/Router.tsx @@ -12,6 +12,8 @@ import Forms from "./pages/Forms"; import Tables from "./pages/Tables"; import Login from "./pages/Login"; import Register from "./pages/Register"; +import Widgets from "./pages/Widgets"; +import Components from "./pages/Components"; export const router = createBrowserRouter([ { @@ -34,6 +36,14 @@ export const router = createBrowserRouter([ path: "table", element: , }, + { + path: "widgets", + element: , + }, + { + path: "components", + element: , + }, { path: "auth/login", element: , diff --git a/src/pages/Components.tsx b/src/pages/Components.tsx new file mode 100644 index 0000000..f7cc1b0 --- /dev/null +++ b/src/pages/Components.tsx @@ -0,0 +1,18 @@ +import { PageHeader, PageHeaderHeading } from "@/components/page-header"; +import { Card, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"; + +export default function Components() { + return ( + <> + + Components + + + + Card Title + Card description. + + + + ) +} diff --git a/src/pages/Widgets.tsx b/src/pages/Widgets.tsx new file mode 100644 index 0000000..99fb33e --- /dev/null +++ b/src/pages/Widgets.tsx @@ -0,0 +1,111 @@ +import { PageHeader, PageHeaderHeading } from "@/components/page-header"; +import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"; + +export default function Widgets() { + return ( + <> + + Widgets + +
+ + + + Total Revenue + + + + + + +
$45,231.89
+

+ +20.1% from last month +

+
+
+ + + + Subscriptions + + + + + + + + +
+2350
+

+ +180.1% from last month +

+
+
+ + + Sales + + + + + + +
+12,234
+

+ +19% from last month +

+
+
+ + + + Active Now + + + + + + +
+573
+

+ +201 since last hour +

+
+
+
+ + ) +}