Skip to content

Commit 17c3ca6

Browse files
committed
feat(footer): added footer
1 parent 48f9ccd commit 17c3ca6

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

shared/components/footer/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ import React, { FunctionComponent } from 'react';
33
type Props = {}
44
const Footer: FunctionComponent<Props> = ({}) => {
55
return (
6-
<div>hello</div>
6+
<footer>
7+
Created with ♥ by Techhive.IO 2019.
8+
</footer>
79
);
810
};
911

shared/components/layout/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import React, { FunctionComponent, Fragment, ReactNode } from 'react';
2+
import { Tag } from '../../../interfaces/tag';
23
import Meta from '../meta';
34
import Header from '../header';
4-
import { Tag } from '../../../interfaces/tag';
5+
import Footer from '../footer';
56

67
type Props = {
78
meta: Tag;
@@ -26,6 +27,7 @@ const Layout: FunctionComponent<Props> = ({meta, children}) => {
2627
body { margin: 0; padding: 0}
2728
.layout { padding: 2rem 2.5rem; }
2829
`}</style>
30+
2931
</Fragment>
3032
);
3133
};

0 commit comments

Comments
 (0)