Skip to content

Commit

Permalink
Merge pull request #75 from TreeHacks/frontendUpdates
Browse files Browse the repository at this point in the history
color changes, icon update
  • Loading branch information
marcopizarro authored Dec 2, 2021
2 parents 1c41bf9 + 772c3ee commit f38160e
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 8 deletions.
Binary file modified public/images/favicon/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/>
<meta name="theme-color" content="#ffffff" />
<link rel="icon" href="/images/favicon/favicon.ico" />
<title>TreeHacks 2021</title>
<title>TreeHacks 2022</title>
</head>
<body>
<noscript>
Expand Down
12 changes: 6 additions & 6 deletions src/js/header.jsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import React from 'react';
import * as logo from '../svg/logo.svg';
import * as whiteLeavesLogo from '../svg/whiteLeavesLogo.svg';
import {FontAwesomeIcon} from '@fortawesome/react-fontawesome'
import {faInstagram, faFacebookF, faTwitter} from '@fortawesome/free-brands-svg-icons';
// import Timer from './timer.jsx';

function Header() {
return(
<nav id="header">
<ul className="container">
<ul className="container" style={{background: '#15766A'}}>
<li id="header-logo">
<a href="/">
<img src={logo} alt="treehacks small logo"/>
<img src={whiteLeavesLogo} alt="treehacks small logo"/>
<span className="logo-text-tree">tree</span>
<span className="logo-text-hacks">hacks</span>
<span className="logo-text-live">live</span>
Expand All @@ -25,9 +25,9 @@ function Header() {
function SocialMedia() {
return(
<div id="social-media">
<a href="https://www.instagram.com/stanfordtreehacks" target="_blank"><FontAwesomeIcon icon={faInstagram} /></a>
<a href="https://www.facebook.com/treehacks/" target="_blank"><FontAwesomeIcon icon={faFacebookF} /></a>
<a href="https://twitter.com/hackwithtrees" target="_blank"><FontAwesomeIcon icon={faTwitter} /></a>
<a style={{background: 'white'}} href="https://www.instagram.com/stanfordtreehacks" target="_blank"><FontAwesomeIcon style={{color: '#15766A'}} icon={faInstagram} /></a>
<a style={{background: 'white'}} href="https://www.facebook.com/treehacks/" target="_blank"><FontAwesomeIcon style={{color: '#15766A'}} icon={faFacebookF} /></a>
<a style={{background: 'white'}} href="https://twitter.com/hackwithtrees" target="_blank"><FontAwesomeIcon style={{color: '#15766A'}} icon={faTwitter} /></a>
</div>
);
}
Expand Down
3 changes: 3 additions & 0 deletions src/sass/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,21 @@ $section-width: 80vw;

.logo-text-tree {
font-family: $base-font-family;
color: white;
}

.logo-text-hacks {
font-family: $base-font-family;
font-weight: bold;
color: white;
}

.logo-text-live {
font-family: $base-font-family;
font-weight: bold;
color: $primary-color;
padding-left: 10px;
color: white;
}

.section-heading {
Expand Down
2 changes: 1 addition & 1 deletion src/sass/themes/green_sprout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
$background-color: hsl(339, 77%, 99%);
$background-color-light-border: #eeeeee;

$primary-color: #0D9071;
$primary-color: #15766A;
$secondary-color: #E83028;
$tertiary-color: #FF730E;

Expand Down
5 changes: 5 additions & 0 deletions src/svg/whiteLeavesLogo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f38160e

Please sign in to comment.