Skip to content

Commit 4fb6d88

Browse files
committed
Add contruct template to Login page
1 parent 4a96832 commit 4fb6d88

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

src/pages/login.js

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import ConstructTemplate from '../templates/ConstructPage';
2+
3+
const LoginPage = () => {
4+
return <ConstructTemplate />;
5+
};
6+
7+
export default LoginPage;

src/templates/ConstructPage/index.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22

3-
import pageInConstruction from '../../assets/page-under-construction.png';
43
import Header from '../../components/Header';
4+
import Footer from '../../components/Footer';
55

66
function ConstructPage() {
77
return (
@@ -18,11 +18,12 @@ function ConstructPage() {
1818
>
1919
<img
2020
style={{ height: '50vh', maxHeight: '912px' }}
21-
src={pageInConstruction}
22-
alt=""
21+
src="/img/page-under-construction.png"
22+
alt="Página em construção"
2323
/>
2424
<h2 style={{ color: '#c4c4c4' }}>Pagina em Construção</h2>
2525
</div>
26+
<Footer />
2627
</>
2728
);
2829
}

0 commit comments

Comments
 (0)