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

footer component #130

Merged
merged 5 commits into from
Dec 29, 2020
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
64 changes: 64 additions & 0 deletions src/views/Home/components/Footer/footer.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
@use "~stylesheets/responsiveness";
@use "~stylesheets/typography";

.Footer {
max-width: 1800px;
margin: auto;
padding: var(--extra-extra-large-spacer);

@include responsiveness.respond(tab-port) {
max-width: 55%;
padding: 0;
}

@include responsiveness.respond(phone-narrow) {
max-width: unset;
}

&__images {
display: none;
justify-content: space-between;
}

&__text {
display: flex;
justify-content: space-between;

@include typography.description;
font-style: italic;
text-shadow: 2px 2px var(--black);

@include responsiveness.respond(tab-port) {
flex-direction: column;
text-align: center;
}
}

&__text--left {
margin: auto;
}

&__text--middle {
text-align: center;
margin: auto;
padding: 0 var(--large-spacer);

@include responsiveness.respond(tab-port) {
margin: var(--large-spacer) 0;
padding: 0;
}
}

&__text--right {
text-align: right;

@include responsiveness.respond(tab-port) {
text-align: center;
}
}

&__link {
color: inherit;
margin-left: 0.5rem;
}
}
55 changes: 55 additions & 0 deletions src/views/Home/components/Footer/index.view.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
import * as React from "react";
import "./footer.scss";

const FooterComponent: React.FC = () => {
return (
<div className="Footer">
<div className="Footer__images">
<div>Team!</div>
<div>Links!</div>
<div>Scroll!</div>
</div>
<div className="Footer__text">
<div className="Footer__text--left">
Made with ❤️☕❤️ (virtually) from Santa Cruz, California.
</div>
<div className="Footer__text--middle">
CruzHacks was formerly known as HackUCSC, and launched in April 2014.
The founders were
<a
className="Footer__link"
href="https://www.linkedin.com/in/adamsmarkrichard/"
target="_blank"
rel="noreferrer"
>
Mark Adams
</a>
,
<a
className="Footer__link"
href="https://envs.ucsc.edu/faculty/index.php?uid=bhaddad"
target="_blank"
rel="noreferrer"
>
Brent Haddad
</a>
, and
<a
className="Footer__link"
href="https://www.linkedin.com/in/ericksondoug/"
target="_blank"
rel="noreferrer"
>
Doug Erickson
</a>
.
</div>
<div className="Footer__text--right">
© 2021 CruzHacks. All rights reserved.
</div>
</div>
</div>
);
};

export default FooterComponent;
2 changes: 2 additions & 0 deletions src/views/Home/index.view.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import * as React from "react";
import Hero from "views/Home/components/Hero/index.view";
import Footer from "./components/Footer/index.view";
import Button from "components/Button/index.view";
import EmailSubscriptionForm from "components/EmailSubscription/index.view";
import MLHBanner from "components/MLHBanner/index.view";
Expand Down Expand Up @@ -103,6 +104,7 @@ const HomepageView: React.FC = () => {
about_text={mission_props.about}
mission_text={mission_props.mission}
/>
<Footer />
</div>
</>
);
Expand Down