Chap05 -> Declaring routes -> Creating some blank pages

master
Jason Zhu 2022-03-29 15:41:31 +11:00
parent 1a0a1006dd
commit 94545f83c1
4 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,4 @@
import React from 'react';
import { Page } from './Page';
export const AskPage = () => <Page title="Ask a question">{null}</Page>;

View File

@ -0,0 +1,4 @@
import React from 'react';
import { Page } from './Page';
export const QuestionPage = () => <Page>Question Page</Page>;

View File

@ -0,0 +1,4 @@
import React from 'react';
import { Page } from './Page';
export const SearchPage = () => <Page title="Search Results">{null}</Page>;

View File

@ -0,0 +1,4 @@
import React from 'react';
import { Page } from './Page';
export const SignInPage = () => <Page title="Sign In">{null}</Page>;