footer component
This commit is contained in:
parent
793ccc7612
commit
d21ae2db20
10
src/components/Footer/Footer.js
Normal file
10
src/components/Footer/Footer.js
Normal file
@ -0,0 +1,10 @@
|
||||
import React from 'react';
|
||||
import './footer.css';
|
||||
|
||||
export const Footer = () => {
|
||||
return (
|
||||
<footer>
|
||||
<div>2021 © Outstaffing</div>
|
||||
</footer>
|
||||
)
|
||||
}
|
11
src/components/Footer/footer.css
Normal file
11
src/components/Footer/footer.css
Normal 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;
|
||||
}
|
@ -22,14 +22,3 @@ h1 {
|
||||
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;
|
||||
}
|
@ -3,6 +3,7 @@ import ReactDOM from 'react-dom';
|
||||
import { store } from './store/store';
|
||||
import { Provider } from 'react-redux';
|
||||
import App from './App';
|
||||
import { Footer } from './components/Footer/Footer';
|
||||
|
||||
import './index.css';
|
||||
|
||||
@ -10,9 +11,7 @@ ReactDOM.render(
|
||||
<Provider store={store}>
|
||||
<>
|
||||
<App />
|
||||
<footer>
|
||||
<div>2021 © Outstaffing</div>
|
||||
</footer>
|
||||
<Footer />
|
||||
</>
|
||||
</Provider>,
|
||||
document.getElementById('root')
|
||||
|
Loading…
Reference in New Issue
Block a user