Skip to content

Commit d35f4d8

Browse files
committed
Create login page
1 parent f4ecef8 commit d35f4d8

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

src/pages/login.js

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
import React from 'react';
2+
import Layout from '../components/Layout';
3+
4+
export default () => (
5+
<Layout>
6+
<section className="section">
7+
<div className="container">
8+
<div className="content">
9+
<h1>Connexion</h1>
10+
<form action="#">
11+
<div className="field">
12+
<label className="label" htmlFor={'login'}>
13+
Identifiant
14+
</label>
15+
<div className="control">
16+
<input
17+
className="input"
18+
type="text"
19+
name="login"
20+
id="name"
21+
required
22+
/>
23+
</div>
24+
</div>
25+
26+
<div className="field">
27+
<label className="label" htmlFor={'password'}>
28+
Mot de passe
29+
</label>
30+
<div className="control">
31+
<input
32+
className="input"
33+
type="password"
34+
name="password"
35+
id="name"
36+
required
37+
/>
38+
</div>
39+
</div>
40+
41+
<div className="field">
42+
<button className="button is-link" type="submit">
43+
Valider
44+
</button>
45+
</div>
46+
</form>
47+
</div>
48+
</div>
49+
</section>
50+
</Layout>
51+
);

0 commit comments

Comments
 (0)