Skip to content

Commit 11f74c4

Browse files
authored
tnb (#2204)
1 parent ddeb677 commit 11f74c4

File tree

4 files changed

+35
-115
lines changed

4 files changed

+35
-115
lines changed

src/containers/App.tsx

Lines changed: 0 additions & 98 deletions
This file was deleted.

src/containers/App/Styles.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import styled from 'styled-components';
2+
3+
export const Container = styled.div`
4+
align-items: center;
5+
background: black;
6+
display: flex;
7+
height: 100vh;
8+
justify-content: center;
9+
`;
10+
11+
export const Red = styled.span`
12+
color: #dd0d15;
13+
`;
14+
15+
export const Unite = styled.div`
16+
color: white;
17+
font-family: var(--font-family-mono);
18+
font-size: 26px;
19+
`;

src/containers/App/index.tsx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import React, {FC} from 'react';
2+
3+
import * as S from './Styles';
4+
5+
const App: FC = () => {
6+
return (
7+
<S.Container>
8+
<S.Unite>
9+
U<S.Red>n</S.Red>ite.
10+
</S.Unite>
11+
</S.Container>
12+
);
13+
};
14+
15+
export default App;

src/index.tsx

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ import 'raf/polyfill';
55

66
import React from 'react';
77
import ReactDOM from 'react-dom';
8-
import {Flip, ToastContainer} from 'react-toastify';
9-
import {HelmetProvider} from 'react-helmet-async';
108
import {Provider} from 'react-redux';
119
import store from 'store';
1210

@@ -20,21 +18,7 @@ import App from 'containers/App';
2018
ReactDOM.render(
2119
<Provider store={store}>
2220
<React.StrictMode>
23-
<HelmetProvider>
24-
<App />
25-
</HelmetProvider>
26-
<ToastContainer
27-
autoClose={3000}
28-
closeOnClick
29-
draggable
30-
hideProgressBar
31-
newestOnTop
32-
pauseOnFocusLoss
33-
pauseOnHover
34-
position="top-right"
35-
rtl={false}
36-
transition={Flip}
37-
/>
21+
<App />
3822
</React.StrictMode>
3923
</Provider>,
4024
document.getElementById('root'),

0 commit comments

Comments
 (0)