-
Notifications
You must be signed in to change notification settings - Fork 1
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
footer component #130
Changes from 2 commits
f8fd139
c391211
41f3066
4898778
61297a9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,7 @@ | |
margin-bottom: var(--medium-spacer); | ||
} | ||
} | ||
|
||
a { | ||
color: inherit; | ||
} | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
@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; | ||
|
||
@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; | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
import React from "react"; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Because we upgraded to a new version of typescript in #71, we no longer have to import There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Okay, cool ~ no problem! In that case, we might want to change this notation for all other files too! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah -- I believe I ran a command that changed all the existing import statements. This only appears once or twice in the codebase. I did a There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yep! I was lowkey planning a separate PR to just clean up the codebase a little bit, so that sounds like a good idea! |
||
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 ❤️☕❤️ from Santa Cruz, California. | ||
</div> | ||
<div className="Footer__text--middle"> | ||
CruzHacks was formerly known as HackUCSC, and launched in April 2014. | ||
The founders were | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. SUPER NIT: I'm honestly not that bit a fan of having There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I agree that these entities make code look a little unclean, but I'm not quite sure what about the resolution that you mentioned. The Let me know if this makes sense and how to proceed - also note that this section will be removed later when this sentence is integrated into our There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ahh yes! I see what the issue is. Since the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ohh, that sounds like a clever fix! I'll have that done by tonight! |
||
<a | ||
href="https://www.linkedin.com/in/adamsmarkrichard/" | ||
target="_blank" | ||
rel="noreferrer" | ||
> | ||
Mark Adams | ||
</a> | ||
, | ||
<a | ||
href="https://envs.ucsc.edu/faculty/index.php?uid=bhaddad" | ||
target="_blank" | ||
rel="noreferrer" | ||
> | ||
Brent Haddad | ||
</a> | ||
, and | ||
<a | ||
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; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we use class names instead of generic attributes? I understand why we have this here, but I don't see the
a
tag anywhere withinHome
index view. Let's give thea
tags a classname within theFooter
component and style the attributes there.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's understandable - no problem!