diff --git a/src/pages/Index.jsx b/src/pages/Index.jsx index 3922835..108d33f 100644 --- a/src/pages/Index.jsx +++ b/src/pages/Index.jsx @@ -1,20 +1,26 @@ -// Update this page (the content is just a fallback if you fail and example) -// Use chakra-ui -import { Container, Text, VStack } from "@chakra-ui/react"; - -// Example of using react-icons -// import { FaRocket } from "react-icons/fa"; -// } size="lg" />; // IconButton would also have to be imported from chakra +import { useState } from "react"; +import { Container, Text, VStack, Button, HStack } from "@chakra-ui/react"; const Index = () => { + const [count, setCount] = useState(0); + + const increment = () => setCount(count + 1); + const decrement = () => setCount(count - 1); + const reset = () => setCount(0); + return ( - Your Blank Canvas - Chat with the agent to start making edits. + Counter App + {count} + + + + + ); }; -export default Index; +export default Index; \ No newline at end of file