-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
febdc90
commit 5aaac00
Showing
8 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
src/components/funnels/funnels/register/steps/roomshare.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { ReadonlyRouteComponentProps } from '~/util/readonly-types' | ||
import { Router } from '@reach/router' | ||
import { withPrefix } from 'gatsby' | ||
import * as ROUTES from '~/navigation/routes' | ||
import RoomShareJoin from '~/components/funnels/funnels/register/steps/roomshare/join' | ||
import RoomShareHome from '~/components/funnels/funnels/register/steps/roomshare/home' | ||
import RoomShareCreate from '~/components/funnels/funnels/register/steps/roomshare/create' | ||
|
||
const RoomShare = (_: ReadonlyRouteComponentProps) => | ||
<Router basepath={withPrefix('/register/room-share')}> | ||
<RoomShareHome path={`/${ROUTES.REGISTER_ROOM_SHARE_HOME}`} /> | ||
<RoomShareCreate path={`/${ROUTES.REGISTER_ROOM_SHARE_CREATE}`} />` | ||
<RoomShareJoin path={`/${ROUTES.REGISTER_ROOM_SHARE_JOIN}`} /> | ||
</Router> | ||
|
||
export default RoomShare |
11 changes: 11 additions & 0 deletions
11
src/components/funnels/funnels/register/steps/roomshare/create.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import type { ReadonlyRouteComponentProps } from '~/util/readonly-types' | ||
|
||
const RoomShareCreate = (_: ReadonlyRouteComponentProps) => { | ||
return ( | ||
<div> | ||
{/*<RoomShareCreateForm />*/} | ||
</div> | ||
) | ||
} | ||
|
||
export default RoomShareCreate |
11 changes: 11 additions & 0 deletions
11
src/components/funnels/funnels/register/steps/roomshare/home.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import type { ReadonlyRouteComponentProps } from '~/util/readonly-types' | ||
|
||
const RoomShareHome = (_: ReadonlyRouteComponentProps) => { | ||
return ( | ||
<div> | ||
<h1>RoomShareHome</h1> | ||
</div> | ||
) | ||
} | ||
|
||
export default RoomShareHome |
7 changes: 7 additions & 0 deletions
7
src/components/funnels/funnels/register/steps/roomshare/join.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import type { ReadonlyRouteComponentProps } from '~/util/readonly-types' | ||
|
||
const RoomShareJoin = (_: ReadonlyRouteComponentProps) => { | ||
return <div>RoomShareJoin</div> | ||
} | ||
|
||
export default RoomShareJoin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters