diff --git a/app/src/components/header/index.tsx b/app/src/components/header/index.tsx index 60d39c7..19cc1b4 100644 --- a/app/src/components/header/index.tsx +++ b/app/src/components/header/index.tsx @@ -7,6 +7,7 @@ import { Container, Heading, Text, + Kbd, } from "@chakra-ui/react"; import HeaderMobile from "./mobile"; @@ -19,7 +20,7 @@ const Header = () => { return ( - + SuperUI @@ -43,6 +44,11 @@ const Header = () => { ))} + + + + + K + diff --git a/app/src/data/headerLinks.ts b/app/src/data/headerLinks.ts index 81f1b2c..dc7f8c4 100644 --- a/app/src/data/headerLinks.ts +++ b/app/src/data/headerLinks.ts @@ -1,4 +1,9 @@ export const HeaderLinks = [ + { + title: "About", + slug: "/about", + external: false, + }, { title: "Community", slug: "/community", @@ -14,4 +19,9 @@ export const HeaderLinks = [ slug: "https://github.com/pheralb/superui", external: true, }, + { + title: "Contribute", + slug: "https://github.com/pheralb/superui", + external: true, + }, ]; diff --git a/app/src/pages/index.tsx b/app/src/pages/index.tsx index 766e52d..34bf82d 100644 --- a/app/src/pages/index.tsx +++ b/app/src/pages/index.tsx @@ -1,96 +1,7 @@ import { useState } from "react"; -import { - Avatar, - AvatarGroup, - Button, - Input, - LinearProgress, - Group, - Modal, - Checkbox, - PinCode, -} from "superui"; import "superui/dist/index.css"; export default function Docs() { - const [isOpen, setOpen] = useState(false); - return ( - <> -

Docs

-
- - - - Primary checkbox - - - Item 1 - Item 2 - Item 3 - - - - -
- - - - - -
- ({ - name: `${i}`, - alt: `${i}`, - src: `https://source.boringavatars.com/beam/120/${i}?colors=264653,2a9d8f,e9c46a,f4a261,e76f51`, - }))} - size="lg" - /> - - setOpen(false)} - blur - > - Are you sure you want to delete "Documents"? All contents will be - perminately destroyed. - -
- - ); + return

Index

; } diff --git a/app/src/pages/test.tsx b/app/src/pages/test.tsx new file mode 100644 index 0000000..abb9595 --- /dev/null +++ b/app/src/pages/test.tsx @@ -0,0 +1,96 @@ +import { useState } from "react"; + +type Props = {}; +import { + Avatar, + AvatarGroup, + Button, + Input, + LinearProgress, + Group, + Modal, + Checkbox, + PinCode, +} from "superui"; +export default function Test({}: Props) { + const [isOpen, setOpen] = useState(false); + + return ( + <> +

Docs

+
+ + + + Primary checkbox + + + Item 1 + Item 2 + Item 3 + + + + +
+ + + + + +
+ ({ + name: `${i}`, + alt: `${i}`, + src: `https://source.boringavatars.com/beam/120/${i}?colors=264653,2a9d8f,e9c46a,f4a261,e76f51`, + }))} + size="lg" + /> + + setOpen(false)} + blur + > + Are you sure you want to delete "Documents"? All contents will be + perminately destroyed. + +
+ + ); +}