Chap05 -> Declaring routes -> Creating some blank pages
parent
1a0a1006dd
commit
94545f83c1
|
@ -0,0 +1,4 @@
|
||||||
|
import React from 'react';
|
||||||
|
import { Page } from './Page';
|
||||||
|
|
||||||
|
export const AskPage = () => <Page title="Ask a question">{null}</Page>;
|
|
@ -0,0 +1,4 @@
|
||||||
|
import React from 'react';
|
||||||
|
import { Page } from './Page';
|
||||||
|
|
||||||
|
export const QuestionPage = () => <Page>Question Page</Page>;
|
|
@ -0,0 +1,4 @@
|
||||||
|
import React from 'react';
|
||||||
|
import { Page } from './Page';
|
||||||
|
|
||||||
|
export const SearchPage = () => <Page title="Search Results">{null}</Page>;
|
|
@ -0,0 +1,4 @@
|
||||||
|
import React from 'react';
|
||||||
|
import { Page } from './Page';
|
||||||
|
|
||||||
|
export const SignInPage = () => <Page title="Sign In">{null}</Page>;
|
Loading…
Reference in New Issue