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

Feature/improvements #101

Open
wants to merge 15 commits into
base: src
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 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
19,768 changes: 19,768 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,14 @@
"recompose": "^0.30.0"
},
"scripts": {
"start": "react-scripts start",
"start": "BROWSER=firefox react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"format": "prettier --write \"**/*.{js,jsx,json,md}\"",
"lint": "eslint --ext .jsx,.js src/",
"lint:fix": "eslint --ext .jsx,.js src/ --fix"

},
"browserslist": {
"production": [
Expand Down Expand Up @@ -68,4 +69,4 @@
"eslint-plugin-standard": "^4.0.1",
"prettier": "^2.0.5"
}
}
}
Binary file added src/assets/img/UPEclass.jpg
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/img/logo_resized.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 12 additions & 1 deletion src/components/main-site/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
faGithub,
faFacebook,
faTwitterSquare,
faYoutubeSquare
} from "@fortawesome/free-brands-svg-icons";
import { withStyles } from "@material-ui/styles";

Expand All @@ -16,7 +17,7 @@ const styles = {
},
footer: {
backgroundColor: "#333",
borderBottom: "3px solid #f21131",
borderBottom: "3px solid #871a13",
textAlign: "center",
},
footerIcon: {
Expand Down Expand Up @@ -85,6 +86,16 @@ const Footer = ({ classes }) => (
/>
</a>
</span>
<span>{""}</span>
<span>
<a href="https://www.youtube.com/channel/UCh5M0KFUG1-qSYQIUmXHl7w">
{""}
<FontAwesomeIcon
className={classes.footerIcon}
icon={faYoutubeSquare}
/>
</a>
</span>
</div>
</div>
</Row>
Expand Down
51 changes: 29 additions & 22 deletions src/components/main-site/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,36 +12,43 @@ import { faUserCircle } from "@fortawesome/free-solid-svg-icons";
import * as ROUTES from "../../constants/routes";

import img from "../../assets/img/header.jpg";
import logo from "../../assets/img/logo_resized.png"
import UPEclass from "../../assets/img/UPEclass.jpg"


const styles = {
mainNav: {
paddingTop: "10px",
paddingLeft: "200px",
paddingBottom: "10px",
fontfamily: "Andale Mono, monospace",
borderTop: "3px solid #f21131",
fontfamily: "Recursive",
borderTop: "3px solid #871a13", // was f21131
backgroundColor: "#333",
},
mainNavBrand: {
"& span": {
fontFamily: "Gruppo",
// fontFamily: "Gruppo",
// fontFamily: "Montserrat",
fontSize: "36px",
margin: 0,
lineHeight: 1,
fontWeight: 800,
letterSpacing: "3px",
textTransform: "uppercase",
color: "#f21131",
color: "#871a13", // was #f21131
transition: "all .3s",
paddingLeft: "0px",
"@media only screen and (max-width:992px)": {
paddingLeft: "20px",
},
"@media only screen and (min-width:992px)": {
paddingLeft: "300px",
paddingLeft: "50px", //was 300px
},
"&:hover": {
color: "#C30000",
textDecoration: "none",
},

},
},
mainNavLinks: {
Expand All @@ -53,14 +60,14 @@ const styles = {
paddingLeft: "20px",
color: "#fff",
"&:hover": {
color: "#f21131",
color: "#871a13",
textDecoration: "none",
},
"& span": {
paddingLeft: "30px",
color: "#fff",
"&:hover": {
color: "#f21131",
color: "#871a13",
textDecoration: "none",
},
},
Expand All @@ -78,7 +85,7 @@ const styles = {
textDecoration: "none",
"&:hover": {
textDecoration: "none",
color: "#f21131",
color: "#871a13",
},
},
masthead: {
Expand All @@ -88,21 +95,22 @@ const styles = {
backgroundAttachment: "scroll",
position: "relative",
backgroundSize: "cover",
backgroundImage: `url(${img})`,
backgroundImage: `url(${UPEclass})`,

},
mastheadSiteHeading: {
padding: "200px 0 150px",
padding: "350px 0 150px",
color: "#fff",
"@media only screen and (min-width:768px)": {
padding: "200px 0!important",
padding: "325px 0!important",
},
},
loginIcon: {
color: "white",
fontSize: "30px",
transition: "all .3s linear",
"&:hover": {
color: "#f21131",
color: "#f871a13",
"-webkit-transform": "translateY(-2px)",
transform: "translateY(-2px)",
transition: "all .3s linear",
Expand All @@ -116,6 +124,7 @@ const Header = ({ classes }) => (
<Navbar collapseOnSelect className={classes.mainNav} expand="lg">
<Link to={ROUTES.LANDING}>
<Navbar.Brand className={classes.mainNavBrand}>
<img src={logo} alt="Logo of UPE"/>
<span>BU UPE</span>
</Navbar.Brand>
</Link>
Expand Down Expand Up @@ -172,17 +181,15 @@ const Header = ({ classes }) => (
</Navbar.Collapse>
</Navbar>
</div>

<div className={classes.masthead}>
<div className="container">
<div className="row">
<div className="col-lg-8 col-md-10 mx-auto">
<div className={classes.mastheadSiteHeading} />
</div>
</div>
</div>
</div>

</div>







);

export default withStyles(styles)(Header);
48 changes: 48 additions & 0 deletions src/components/main-site/HeaderPhoto.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
import React from "react";

import "bootstrap/dist/css/bootstrap.min.css";
import { withStyles } from "@material-ui/styles";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faUserCircle } from "@fortawesome/free-solid-svg-icons";

import UPEclass from "../../assets/img/UPEclass.jpg"

const styles = {
masthead: {
marginBottom: "50px",
background: "no-repeat center center",
backgroundColor: "#868e96",
backgroundAttachment: "scroll",
position: "relative",
backgroundSize: "cover",
backgroundImage: `url(${UPEclass})`,

},
mastheadSiteHeading: {
padding: "350px 0 150px",
color: "#fff",
"@media only screen and (min-width:768px)": {
padding: "325px 0!important",
},
},
}





const HeaderPhoto = ({classes}) => (
<div className={classes.masthead}>
<div className="container">
<div className="row">
<div className="col-lg-8 col-md-10 mx-auto">
<div className={classes.mastheadSiteHeading} />
</div>
</div>
</div>
</div>
)



export default withStyles(styles)(HeaderPhoto);
4 changes: 2 additions & 2 deletions src/components/main-site/MemberCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ const styles = {
},
cardTitle: {
fontSize: "30px",
fontFamily: "Gruppo",
fontFamily: "Montserrat",
fontWeight: 1000,
},
cardSubtitle: {
fontSize: "25px",
fontFamily: "Gruppo",
fontFamily: "Montserrat",
fontWeight: 1000,
color: "#f21131",
},
Expand Down
6 changes: 5 additions & 1 deletion src/pages/main-site/About.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,15 @@ import Row from "react-bootstrap/Row";
import Col from "react-bootstrap/Col";
import Button from "react-bootstrap/Button";



const About = () => {
return (
<div className="landing">
<Header />
<div style={{padding:"20px"}}>

</div>
<Container>
<Row>
<Col md={12}>
Expand All @@ -34,7 +38,7 @@ const About = () => {
<p>
UPE BU Members are both undergraduate & graduate students from
Boston University who are either actively studying information
techniologies and computing disciplines or have shown exceeding
technologies and computing disciplines or have shown exceeding
interest and/or talent in them.
</p>
</div>
Expand Down
3 changes: 3 additions & 0 deletions src/pages/main-site/Contact.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@ import Container from "react-bootstrap/Container";
import Row from "react-bootstrap/Row";
import Col from "react-bootstrap/Col";


const About = () => {
return (
<div className="landing">
<Header />
<div style={{padding:"20px"}}></div>


<Container>
<Row>
<Col md={12}>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/main-site/Events.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import Footer from "../../components/main-site/Footer";
import EventsCalendar from "../../components/main-site/EventsCalendar";

import "../../styles/main-site/main.css";

const Members = () => {
return (
<div className="landing">
<Header />

<div style={{padding:"20px"}}></div>

<EventsCalendar />

<Footer />
Expand Down
Loading