diff --git a/app/page.js b/app/page.js index 5c73df6..d5ef88f 100644 --- a/app/page.js +++ b/app/page.js @@ -1,12 +1,12 @@ import Layout from '@/components/Layout' -import EditForm from '@/components/EditForm' +import UI from '@/components/UI' export default function Home(props) { return ( <> - -

Create a test case

- + +
+
) diff --git a/app/sandbox.html/page.js b/app/sandbox.html/page.js index 5a77d9a..3ad178e 100644 --- a/app/sandbox.html/page.js +++ b/app/sandbox.html/page.js @@ -1,4 +1,4 @@ -import UI from '@/components/UI' +import UI from '@/components/Sandbox' export default function Sandbox(props) { return ( diff --git a/components/Accordian.js b/components/Accordian.js new file mode 100644 index 0000000..cefce5e --- /dev/null +++ b/components/Accordian.js @@ -0,0 +1,26 @@ +import accordianStyles from '@/styles/accordian.module.css' + +export const Accordian = ({children}) => { + return ( +
+ {children} +
+ ) +} + +export const AccordianItem = (props) => { + const {children, title, open} = props + return ( +
+ + {title} + + +
+ {children} +
+
+ ) +} diff --git a/components/Header.js b/components/Header.js index 616a444..f2a0d77 100644 --- a/components/Header.js +++ b/components/Header.js @@ -20,11 +20,11 @@ export default function Header(props) { return (
-