Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All sections > make top and bottom padding match designs #32

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion src/components/Core/Section.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from "react";
import Box from "./Box";

const Section = (props) => {
return <Box py={[5, null, "80px", 6]} {...props} />;
return <Box py={[5, null, "80px", 7]} px={[3, 0]} {...props} />;
};

export default Section;
2 changes: 1 addition & 1 deletion src/components/Core/Title.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { device } from "../../utils";
const SectionTitle = styled.h2`
font-weight: 700;
letter-spacing: -2.5px;
font-size: 40px;
font-size: 35px;
line-height: 54px;
margin-bottom: 16px;
font-family: Poppins;
Expand Down
10 changes: 5 additions & 5 deletions src/components/Footer/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,12 @@ const SocialMedia = styled.a`
width: 35px;
height: 35px;
margin-bottom: 15px;
margin-left: 20px;
&:first-child {
margin-left: 0;
}
@media ${device.lg} {
margin-left: 30px;
width: 75px;
height: 75px;
}
Expand All @@ -68,23 +73,18 @@ const Footer = ({ isDark = true }) => {
<SocialMedia href="https://t.me/ApeHaven">
<img src={share} className="img-fluid" />
</SocialMedia>
<div style={{ width: 30, height: 15 }} />
<SocialMedia href="https://twitter.com/ApeHaven">
<img src={twitter} className="img-fluid" />
</SocialMedia>
<div style={{ width: 30, height: 15 }} />
<SocialMedia href="https://www.reddit.com/r/ApeHaven/">
<img src={reddit} className="img-fluid" />
</SocialMedia>
<div style={{ width: 30 }} />
<SocialMedia href="https://www.instagram.com/apehaven/">
<img src={instagram} className="img-fluid" />
</SocialMedia>
<div style={{ width: 30 }} />
<SocialMedia href="https://www.facebook.com/ApeHaven">
<img src={facebook} className="img-fluid" />
</SocialMedia>
<div style={{ width: 30 }} />
<SocialMedia href="https://www.twitch.tv/apehaven">
<img src={twitch} className="img-fluid" />
</SocialMedia>
Expand Down
3 changes: 2 additions & 1 deletion src/components/Header/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,14 @@ const BuyButtonItem = () =>

const EmptyFlex = styled.div`flex: 1;`;
const SiteHeader = styled.header`
padding: 10px 0 10px 0;
padding: 30px 0 10px 0;
position: absolute !important;
top: 0;
right: 0;
width: 100%;
z-index: 999;
@media ${device.lg} {
padding-top: 10px;
position: fixed !important;
transition: 0.4s;
&.scrolling {
Expand Down
5 changes: 4 additions & 1 deletion src/components/RaisedCard/RaisedCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,15 @@ const Raised = styled.div`
font-family: Poppins, sans-serif;
font-style: normal;
font-weight: bold;
font-size: 65px;
font-size: 60px;
line-height: 33px;
text-align: right;
letter-spacing: 1px;

color: #443D4F;
@media ${device.lg} {
font-size: 65px;
}
`;

const RaisedCard = ({ raised }) => (
Expand Down
2 changes: 1 addition & 1 deletion src/sections/landing1/Content2.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const Content2 = () => (
data-aos-once="true"
>
<div className="content-text pl-lg--50">
<div className="section-title">
<div className="section-title pl-lg-5">
<Title style={{ color: '#443D4F' }}>meet the developer</Title>
<Text mb={4} style={{ color: '#878787' }}>
Drew Roberts grew up on a farm in Kentucky and began
Expand Down