Skip to content

Commit 3c0b3d9

Browse files
committed
Create signup.tsx
1 parent 47be6a2 commit 3c0b3d9

File tree

2 files changed

+50
-1
lines changed

2 files changed

+50
-1
lines changed

.prettierrc.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ module.exports = {
88
tabWidth: 2,
99
useTabs: false,
1010
jsxBracketSameLine: true,
11-
bracketSpacing: true
11+
bracketSpacing: true,
12+
endOfLine: "auto",
1213
}

pages/signup.tsx

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
import { NextPage } from 'next';
2+
import Head from 'next/head';
3+
import { Grid, TextField, Button } from '@material-ui/core';
4+
import React from 'react';
5+
6+
const Home: NextPage = () => {
7+
return (
8+
<>
9+
<Head>
10+
<title>OmnisCode</title>
11+
<link rel="icon" href="/favicon.ico" />
12+
13+
<meta property="og:title" content="OmnisCode" />
14+
<meta property="og:type" content="website" />
15+
<meta property="og:url" content="https://ocode.one" />
16+
<meta property="og:image" content="https://sample.png" />
17+
<meta property="og:site_name" content="OmnisCode" />
18+
<meta
19+
property="og:description"
20+
content="OmnisCode | コードを共有するSNS"
21+
/>
22+
</Head>
23+
<Grid container alignItems="center" justify="center">
24+
<Grid item xs={5}>
25+
<h1>プロフィール入力ページ</h1>
26+
<h3>新規登録ありがとうございます。</h3>
27+
<p>このサイトで表示する名前を入力してください。</p>
28+
<TextField
29+
style={{ width: '100%', height: '80px' }}
30+
id="standard-basic"
31+
label="UserName"
32+
/>
33+
<p>あなたのプロフィールを入力してください。</p>
34+
<TextField
35+
style={{ width: '100%', height: '80px' }}
36+
id="standard-basic"
37+
label="Discription"
38+
/>
39+
<Button size="large" variant="contained" color="primary">
40+
登録
41+
</Button>
42+
</Grid>
43+
</Grid>
44+
</>
45+
);
46+
};
47+
48+
export default Home;

0 commit comments

Comments
 (0)