mirror of
https://github.com/FranP-code/Crypto-Prices.git
synced 2025-10-12 23:53:06 +00:00
Footer done
This commit is contained in:
23
src/App.jsx
23
src/App.jsx
@@ -12,6 +12,7 @@ import {
|
||||
import Crypto from './components/Crypto/Crypto';
|
||||
|
||||
import CryptoGalleryContainer from './components/CryptoGallery/CryptoGalleryContainer'
|
||||
import Footer from './components/Footer/Footer';
|
||||
|
||||
function App() {
|
||||
|
||||
@@ -22,17 +23,17 @@ function App() {
|
||||
|
||||
return (
|
||||
<GlobalStyles>
|
||||
|
||||
<Router>
|
||||
<Switch>
|
||||
<Route path="/crypto/:cryptoID">
|
||||
<Crypto />
|
||||
</Route>
|
||||
<Route path="/">
|
||||
<CryptoGalleryContainer />
|
||||
</Route>
|
||||
</Switch>
|
||||
</Router>
|
||||
<Router>
|
||||
<Switch>
|
||||
<Route path="/crypto/:cryptoID">
|
||||
<Crypto />
|
||||
</Route>
|
||||
<Route path="/">
|
||||
<CryptoGalleryContainer />
|
||||
</Route>
|
||||
</Switch>
|
||||
</Router>
|
||||
<Footer/>
|
||||
</GlobalStyles>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -49,10 +49,9 @@ const CryptoGalleryItem = ({CryptoStyles, data, cryptoPrices, dates, index, cryp
|
||||
lg={4}
|
||||
md={6}
|
||||
sm={12}
|
||||
onClick={() => {if (!loading) history.push(`/crypto/${data.id}`)}}
|
||||
style={{cursor: loading ? 'initial' : 'clicker'}}
|
||||
>
|
||||
<Card className="card">
|
||||
<Card className="card" onClick={() => {if (!loading) history.push(`/crypto/${data.id}`)}}>
|
||||
<CardContent
|
||||
className="container"
|
||||
>
|
||||
|
||||
50
src/components/Footer/Footer.jsx
Normal file
50
src/components/Footer/Footer.jsx
Normal file
@@ -0,0 +1,50 @@
|
||||
import React from 'react'
|
||||
|
||||
/**
|
||||
*
|
||||
* .made-with-love a {
|
||||
color: #f7f7f7
|
||||
}
|
||||
|
||||
.made-with-love {
|
||||
color:rgb(185, 185, 185);
|
||||
margin-top: auto;
|
||||
width: 100%;
|
||||
|
||||
padding-top: 5vh;
|
||||
padding-bottom: 5vh;
|
||||
padding-left: 3vw;
|
||||
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.made-with-love.dark-mode-component {
|
||||
|
||||
background-color: $main-color-dark;
|
||||
}
|
||||
*/
|
||||
|
||||
const Footer = () => {
|
||||
return (
|
||||
<footer
|
||||
style={{
|
||||
fontFamily: "Raleway",
|
||||
color:"#fff",
|
||||
marginTop: "3vh",
|
||||
width: "100%",
|
||||
|
||||
paddingTop: "4vh",
|
||||
paddingBottom: "4vh",
|
||||
paddingLeft: "3vw",
|
||||
|
||||
boxSizing: "border-box",
|
||||
|
||||
backgroundColor: "#00000036"
|
||||
}}
|
||||
>
|
||||
Made with 💓 by <a style={{color: "#1f5ebd"}} href="https://porfolio-franp.netlify.app" rel="noreferrer" target="_blank">Francisco Pessano</a>
|
||||
</footer>
|
||||
)
|
||||
}
|
||||
|
||||
export default Footer
|
||||
Reference in New Issue
Block a user