Skip to content

Commit

Permalink
tnb (#2204)
Browse files Browse the repository at this point in the history
  • Loading branch information
buckyroberts authored Jul 19, 2022
1 parent ddeb677 commit 11f74c4
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 115 deletions.
98 changes: 0 additions & 98 deletions src/containers/App.tsx

This file was deleted.

19 changes: 19 additions & 0 deletions src/containers/App/Styles.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import styled from 'styled-components';

export const Container = styled.div`
align-items: center;
background: black;
display: flex;
height: 100vh;
justify-content: center;
`;

export const Red = styled.span`
color: #dd0d15;
`;

export const Unite = styled.div`
color: white;
font-family: var(--font-family-mono);
font-size: 26px;
`;
15 changes: 15 additions & 0 deletions src/containers/App/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import React, {FC} from 'react';

import * as S from './Styles';

const App: FC = () => {
return (
<S.Container>
<S.Unite>
U<S.Red>n</S.Red>ite.
</S.Unite>
</S.Container>
);
};

export default App;
18 changes: 1 addition & 17 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import 'raf/polyfill';

import React from 'react';
import ReactDOM from 'react-dom';
import {Flip, ToastContainer} from 'react-toastify';
import {HelmetProvider} from 'react-helmet-async';
import {Provider} from 'react-redux';
import store from 'store';

Expand All @@ -20,21 +18,7 @@ import App from 'containers/App';
ReactDOM.render(
<Provider store={store}>
<React.StrictMode>
<HelmetProvider>
<App />
</HelmetProvider>
<ToastContainer
autoClose={3000}
closeOnClick
draggable
hideProgressBar
newestOnTop
pauseOnFocusLoss
pauseOnHover
position="top-right"
rtl={false}
transition={Flip}
/>
<App />
</React.StrictMode>
</Provider>,
document.getElementById('root'),
Expand Down

0 comments on commit 11f74c4

Please sign in to comment.