Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions src/components/Footer/Footer.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
footer {
margin-top: 2rem;
width: 100%;
background: #212121;
color: #fafafa;
padding: 1rem;
bottom: 0;
}

.footer_product_info {
font-weight: 200;
font-style: italic;
color: #cac8c8;
}

.footer_product_img {
width: 150px;
padding: 1rem 0;
display: block;
transition: transform 0.2s;
margin-bottom: 5px;
}

.footer_product_img:hover {
transform: scale(1.09);
}

.footer_github_img {
margin-right: 10px;
transition: transform 0.2s;
}
.footer_github_img:hover {
transform: scale(1.09);
}

.netlify_img {
transition: transform 0.2s;
}
.netlify_img:hover {
transform: scale(1.3);
}
19 changes: 7 additions & 12 deletions src/components/Footer/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,11 @@ import {
Divider,
} from "@material-ui/core";
import pjson from "../../../package.json";
import styles from "./Footer.module.css";

function Footer() {
return (
<footer
style={{
marginTop: "2rem",
width: "100%",
background: "#212121",
color: "#fafafa",
padding: "1rem",
bottom: 0,
}}
>
<footer>
<Grid container spacing={5} justify="center">
<Grid item xs={12} md={6} lg={4}>
<Typography variant="h4" style={{ marginBottom: 10 }}>
Expand All @@ -46,6 +38,7 @@ function Footer() {
<img
src="https://www.netlify.com/img/global/badges/netlify-color-accent.svg"
alt="Deploys by Netlify"
className={styles.netlify_img}
/>
</a>
</Grid>
Expand All @@ -57,24 +50,26 @@ function Footer() {
<Typography variant="h6">React Native Elements</Typography>
<Typography
variant="subtitle1"
style={{ fontWeight: "200", fontStyle: "italic" }}
className={styles.footer_product_info}
>
Cross-Platform React Native UI Toolkit
</Typography>

<img
src={require("../../assets/RNE_Logo.png")}
style={{ width: 150, padding: "1rem 0", display: "block" }}
className={styles.footer_product_img}
/>

<img
alt="GitHub stars"
src="https://img.shields.io/github/stars/react-native-elements/react-native-elements?style=social"
className={styles.footer_github_img}
/>
{" "}
<img
alt="npm"
src="https://img.shields.io/npm/dm/react-native-elements?style=social"
className={styles.footer_github_img}
/>
</a>
<br />
Expand Down