diff --git a/remix/app/components/Nav/Nav.tsx b/remix/app/components/Nav/Nav.tsx index 20eec82..e2f71b7 100644 --- a/remix/app/components/Nav/Nav.tsx +++ b/remix/app/components/Nav/Nav.tsx @@ -18,8 +18,8 @@ export const Nav = props => { py={4} px={4} > - - + {/* + */} ) diff --git a/remix/app/components/Splash/Splash.tsx b/remix/app/components/Splash/Splash.tsx new file mode 100644 index 0000000..cc4cdc0 --- /dev/null +++ b/remix/app/components/Splash/Splash.tsx @@ -0,0 +1,11 @@ +import { TextAnimation1 } from '~/components/textAnimation1' +import { Flex } from '@chakra-ui/react' + +export const Splash = props => { + + return + + + + +} \ No newline at end of file diff --git a/remix/app/components/Thingtime/Thingtime.tsx b/remix/app/components/Thingtime/Thingtime.tsx new file mode 100644 index 0000000..0ee38d0 --- /dev/null +++ b/remix/app/components/Thingtime/Thingtime.tsx @@ -0,0 +1,16 @@ +import React from "react" +import { Box, Flex } from "@chakra-ui/react" + +export const Thingtime = props => { + + const thing = React.useMemo(() => { + return props.thing + }, [props.thing]) + + return +
+      {JSON.stringify(thing, null, 2)}
+    
+
+ +} \ No newline at end of file diff --git a/remix/app/components/Thingtime/ThingtimeDemo.tsx b/remix/app/components/Thingtime/ThingtimeDemo.tsx new file mode 100644 index 0000000..48af325 --- /dev/null +++ b/remix/app/components/Thingtime/ThingtimeDemo.tsx @@ -0,0 +1,20 @@ +import React from "react" +import { Thingtime } from "./Thingtime" + +export const ThingtimeDemo = props => { + + const thing = { + name: 'thing', + description: 'thing description', + image: 'thing image', + price: 100, + quantity: 1, + id: 1 + } + + const [demoThing, setDemoThing] = React.useState(thing) + + + return + +} \ No newline at end of file diff --git a/remix/app/routes/index.tsx b/remix/app/routes/index.tsx index 98de553..f27bdb9 100644 --- a/remix/app/routes/index.tsx +++ b/remix/app/routes/index.tsx @@ -1,9 +1,12 @@ import { Flex } from '@chakra-ui/react' -import { TextAnimation1 } from '~/components/textAnimation1' +import { Splash } from '~/components/Splash/Splash' +import { ThingtimeDemo } from '~/components/Thingtime/ThingtimeDemo' + export default function Index () { return ( - - + + + {/* */} ) } diff --git a/remix/package.json b/remix/package.json index f68b13a..a748850 100644 --- a/remix/package.json +++ b/remix/package.json @@ -3,7 +3,7 @@ "sideEffects": false, "scripts": { "build": "remix build", - "dev": "remix dev --port 9000" + "dev": "remix dev --port 9999" }, "dependencies": { "@chakra-ui/react": "^2.7.1",