-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
setup temp /mock route in app-root (#6290)
- Loading branch information
1 parent
e753cc7
commit 439aac3
Showing
6 changed files
with
84 additions
and
1 deletion.
There are no files selected for viewing
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,25 @@ | ||
import { AboutHeader } from '@zooniverse/content' | ||
|
||
export default function MockPage() { | ||
const links = [ | ||
{ | ||
href: '/mock', | ||
label: 'Mock' | ||
}, | ||
{ | ||
href: '/mock/resources', | ||
label: 'Resources' | ||
}, | ||
{ | ||
href: '/mock/faq', | ||
label: 'FAQ' | ||
} | ||
] | ||
|
||
return ( | ||
<> | ||
<AboutHeader links={links} navTitle='Mock' /> | ||
<p>This is /mock/faq</p> | ||
</> | ||
) | ||
} |
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,25 @@ | ||
import { AboutHeader } from '@zooniverse/content' | ||
|
||
export default function MockPage() { | ||
const links = [ | ||
{ | ||
href: '/mock', | ||
label: 'Mock' | ||
}, | ||
{ | ||
href: '/mock/resources', | ||
label: 'Resources' | ||
}, | ||
{ | ||
href: '/mock/faq', | ||
label: 'FAQ' | ||
} | ||
] | ||
|
||
return ( | ||
<> | ||
<AboutHeader links={links} navTitle='Mock' /> | ||
<p>This is /mock</p> | ||
</> | ||
) | ||
} |
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,25 @@ | ||
import { AboutHeader } from '@zooniverse/content' | ||
|
||
export default function MockPage() { | ||
const links = [ | ||
{ | ||
href: '/mock', | ||
label: 'Mock' | ||
}, | ||
{ | ||
href: '/mock/resources', | ||
label: 'Resources' | ||
}, | ||
{ | ||
href: '/mock/faq', | ||
label: 'FAQ' | ||
} | ||
] | ||
|
||
return ( | ||
<> | ||
<AboutHeader links={links} navTitle='Mock' /> | ||
<p>This is /mock/resources</p> | ||
</> | ||
) | ||
} |
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
2 changes: 2 additions & 0 deletions
2
packages/lib-content/src/components/AboutHeader/AboutHeader.js
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