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