Skip to content

Commit

Permalink
Design footer
Browse files Browse the repository at this point in the history
  • Loading branch information
rachelsoae committed Dec 27, 2023
1 parent f0243e3 commit 5625b5b
Show file tree
Hide file tree
Showing 11 changed files with 144 additions and 44 deletions.
Binary file added src/assets/logo-transparent.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/logoinverted.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions src/components/Contact/Contact.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ import github from '../../assets/icons/github.png';

const Contact = () => {
return (
<div className='contact-section'>
<div className='contact'>
<h2>Contact</h2>
<div className='email-container'>
<div className='contact__email-container'>
<p>Email me at</p>
<a href='mailto:[email protected]'>
<p className='email'> [email protected]</p>
<p className='contact__email'> [email protected]</p>
</a>
</div>
<div className='social-icons-container'>
<div className='contact__socials-container'>
<a href='https://www.linkedin.com/in/rachel-soae-prather'>
<img className='social-icon' src={linkedin} alt='LinkedIn' />
<img className='contact__social' src={linkedin} alt='LinkedIn' />
</a>
<a href='https://github.com/rachelsoae'>
<img className='social-icon' src={github} alt='GitHub' />
<img className='contact__social' src={github} alt='GitHub' />
</a>
</div>
</div>
Expand Down
10 changes: 5 additions & 5 deletions src/components/Contact/_Contact.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
@use '../../styles/variables' as *;
@use '../../styles/mixins' as *;

.contact-section {
.contact {
@include center-column;
.email-container {
.contact__email-container {
display: flex;
align-items: center;
margin-bottom: 2em;
}
.email {
.contact__email {
color: $primary-accent-color;
margin-left: 1rem;
}
Expand All @@ -18,13 +18,13 @@
.email:hover {
@include inline-link-hover;
}
.social-icons-container {
.contact__socials-container {
@include space-evenly;
align-items: center;
height: 10rem;
width: 30%;
}
img {
.contact__social {
width: 5rem;
transition: transform 0.05s ease-in-out;
}
Expand Down
21 changes: 20 additions & 1 deletion src/components/Footer/Footer.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,26 @@
import logoTransparent from '../../assets/logoinverted.png';
import linkedin from '../../assets/icons/linkedin.png';
import github from '../../assets/icons/github.png';
import {Link} from 'react-router-dom';

const Footer = () => {
return (
<section className='footer'>

<div className='footer__socials'>
<a href='https://www.linkedin.com/in/rachel-soae-prather'>
<img className='footer__social' src={linkedin} alt='LinkedIn' />
</a>
<a href='https://github.com/rachelsoae'>
<img className='footer__social' src={github} alt='GitHub' />
</a>
</div>
<div className='footer__links'>
<Link to='/home' className='footer__link'>Home</Link>
<Link to='/home' className='footer__link'>About</Link>
<Link to='/home' className='footer__link'>Portfolio</Link>
<Link to='/home' className='footer__link'>Contact</Link>
</div>
<img src={logoTransparent} alt='Rachel Soae Prather, Software Engineer' id='footer__logo' />
</section>
)
}
Expand Down
32 changes: 31 additions & 1 deletion src/components/Footer/_Footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,35 @@
@use '../../styles/mixins' as *;

.footer {
height: 10rem;
background-color: $primary-text-color;
height: 20rem;
@include center-column;
justify-content: center;
}

.footer__socials {
width: 8%;
@include space-between;
}

.footer__social {
width: 3rem;
}

.footer__links {
width: 40%;
@include space-between;
margin: 2rem;
}

.footer__link {
@include header-font;
color: $secondary-text-color;
text-decoration: none;
font-size: 1.5rem;
}

#footer__logo {
width: 15rem;
// margin: 1rem;
}
39 changes: 23 additions & 16 deletions src/styles/_mixins.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
@use 'variables' as *;

// LAYOUT

@mixin true-center {
display: flex;
justify-content: center;
Expand All @@ -22,13 +24,32 @@
justify-content: space-between;
}

// TYPOGRAPHY
@mixin header-font {
font-family: $header-font;
color: $primary-text-color;
font-size: 3rem;
text-transform: uppercase;
font-weight: 200;
letter-spacing: 0.5rem;
}

@mixin body-font {
font-family: $body-font;
color: $primary-text-color;
font-size: 2rem;
font-weight: 300;
}

@mixin button-text {
font-family: $button-font;
font-size: 2rem;
letter-spacing: 0.0625rem;
text-transform: uppercase;
}

// BUTTON DESIGN

@mixin button-box {
width: 16.5rem;
height: 5.25rem;
Expand All @@ -46,28 +67,14 @@
color: $primary-accent-color;
}

// HOVER STATES

@mixin button-hover {
background-color: $secondary-accent-color;
border: none;
color: $emphasis-text-color;
}

@mixin header-font {
font-family: $header-font;
color: $primary-text-color;
font-size: 3rem;
text-transform: uppercase;
font-weight: 200;
letter-spacing: 0.5rem;
}

@mixin body-font {
font-family: $body-font;
color: $primary-text-color;
font-size: 2rem;
font-weight: 300;
}

@mixin link-hover {
transform: scale(1.1);
transition: transform 0.05s ease-in-out;
Expand Down
3 changes: 2 additions & 1 deletion src/styles/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
$primary-background-color: #F5F5F5;

$primary-accent-color: #47725d;
$secondary-accent-color: #A3CBA5;
// $secondary-accent-color: #A3CBA5;
$secondary-accent-color: #8eba9e;

$primary-text-color: #424242;
$secondary-text-color: #F5F5F5;
Expand Down
3 changes: 2 additions & 1 deletion src/styles/input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
@use '../components/BurgerNav/BurgerNav';
@use '../components/TopNav/TopNav';
@use '../components/Portfolio/Portfolio';
@use '../components/Project/Project';
@use '../components/Project/Project';
@use '../components/Footer/Footer';
66 changes: 54 additions & 12 deletions src/styles/output.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/styles/output.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5625b5b

Please sign in to comment.