Skip to content

Commit

Permalink
home page
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieljablonski committed May 13, 2022
1 parent 34cdebc commit 8d29571
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/config/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { };
export default {};
10 changes: 10 additions & 0 deletions src/pages/Home/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import React from 'react';
import { useTranslation } from 'react-i18next';
import { Container } from './styles';

const Home: React.FC = () => {
const { t } = useTranslation();
return <Container>{t('general:home')}</Container>;
};

export default Home;
7 changes: 7 additions & 0 deletions src/pages/Home/styles.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import styled from 'styled-components';

// eslint-disable-next-line import/prefer-default-export
export const Container = styled.div`
display: flex;
flex: 1;
`;
5 changes: 4 additions & 1 deletion src/pages/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
export { };
import Home from './Home';

// eslint-disable-next-line import/prefer-default-export
export { Home };

0 comments on commit 8d29571

Please sign in to comment.