feat: feature/mvp-sprint-1 Added code and edit mode url paths

This commit is contained in:
Nikolaj Frey 2023-08-06 20:24:18 +10:00
parent c925d6c03f
commit 9aa463bc48
8 changed files with 50 additions and 1 deletions

View File

@ -18,7 +18,7 @@ export const ThingtimeURL = (props) => {
const path = pathPartOne?.replace(/\//g, ".")
return path
return path || "thingtime"
}, [location])
const thing = React.useMemo(() => {

View File

@ -0,0 +1,7 @@
import React from "react"
import { ThingtimeURL } from "~/components/Thingtime/ThingtimeURL"
export default function Index() {
return <ThingtimeURL code></ThingtimeURL>
}

View File

@ -0,0 +1,7 @@
import React from "react"
import { ThingtimeURL } from "~/components/Thingtime/ThingtimeURL"
export default function Index() {
return <ThingtimeURL edit code></ThingtimeURL>
}

View File

@ -0,0 +1,7 @@
import React from "react"
import { ThingtimeURL } from "~/components/Thingtime/ThingtimeURL"
export default function Index() {
return <ThingtimeURL code edit></ThingtimeURL>
}

View File

@ -0,0 +1,7 @@
import React from "react"
import { ThingtimeURL } from "~/components/Thingtime/ThingtimeURL"
export default function Index() {
return <ThingtimeURL code></ThingtimeURL>
}

View File

@ -0,0 +1,7 @@
import React from "react"
import { ThingtimeURL } from "~/components/Thingtime/ThingtimeURL"
export default function Index() {
return <ThingtimeURL edit code></ThingtimeURL>
}

View File

@ -0,0 +1,7 @@
import React from "react"
import { ThingtimeURL } from "~/components/Thingtime/ThingtimeURL"
export default function Index() {
return <ThingtimeURL edit></ThingtimeURL>
}

View File

@ -0,0 +1,7 @@
import React from "react"
import { ThingtimeURL } from "~/components/Thingtime/ThingtimeURL"
export default function Index() {
return <ThingtimeURL code edit></ThingtimeURL>
}