footer component

This commit is contained in:
kurpfish 2021-08-17 13:16:51 +03:00
parent 793ccc7612
commit d21ae2db20
4 changed files with 23 additions and 14 deletions

View File

@ -0,0 +1,10 @@
import React from 'react';
import './footer.css';
export const Footer = () => {
return (
<footer>
<div>2021 © Outstaffing</div>
</footer>
)
}

View File

@ -0,0 +1,11 @@
footer {
padding: 0 5rem;
}
footer>div {
border-top: 2px solid #73c141;
padding: 1rem;
font-family: 'Muller';
font-weight: 300;
font-size: 1.2em;
}

View File

@ -22,14 +22,3 @@ h1 {
display: none; display: none;
} }
footer {
padding: 0 5rem;
}
footer>div {
border-top: 2px solid #73c141;
padding: 1rem;
font-family: 'Muller';
font-weight: 300;
font-size: 1.2em;
}

View File

@ -3,6 +3,7 @@ import ReactDOM from 'react-dom';
import { store } from './store/store'; import { store } from './store/store';
import { Provider } from 'react-redux'; import { Provider } from 'react-redux';
import App from './App'; import App from './App';
import { Footer } from './components/Footer/Footer';
import './index.css'; import './index.css';
@ -10,9 +11,7 @@ ReactDOM.render(
<Provider store={store}> <Provider store={store}>
<> <>
<App /> <App />
<footer> <Footer />
<div>2021 © Outstaffing</div>
</footer>
</> </>
</Provider>, </Provider>,
document.getElementById('root') document.getElementById('root')