Skip to content

Commit

Permalink
2024 Footer and small homepage fix (#267)
Browse files Browse the repository at this point in the history
* Add footer to homepage and replace facebook with tiktok

* fix mobile homepage star background
  • Loading branch information
waalbert authored May 24, 2024
1 parent c67bd61 commit 7d5339d
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 20 deletions.
4 changes: 4 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
crossorigin="anonymous"
/>
<title>VenusHacks 2024</title>
<script
src="https://kit.fontawesome.com/897430639f.js"
crossorigin="anonymous"
></script>
<!-- Start Single Page Apps for GitHub Pages -->
<script type="text/javascript">
// Single Page Apps for GitHub Pages
Expand Down
40 changes: 24 additions & 16 deletions src/app/components/footer/Footer.jsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,28 @@
import React from 'react';
import './Footer.scss';
import React from "react";
import "./Footer.scss";

function Footer() {
return (
<footer id="footer">
<a href="mailto:[email protected]" target="_top">
<i className="fa fa-envelope"></i>
</a>
<a href="https://www.facebook.com/venushacksUCI/" target="_blank" rel="noopener noreferrer">
<i className="fa fa-facebook"></i>
</a>
<a href="https://www.instagram.com/venushacksuci" target="_blank" rel="noopener noreferrer">
<i className="fa fa-instagram"></i>
</a>
</footer>
)
return (
<footer id="footer">
<a href="mailto:[email protected]" target="_top">
<i className="fa fa-envelope"></i>
</a>
<a
href="https://www.tiktok.com/@venushacksuci?_t=8mcE7XPT13b&_r=1"
target="_blank"
rel="noopener noreferrer"
>
<i className="fa-brands fa-tiktok"></i>
</a>
<a
href="https://www.instagram.com/venushacksuci"
target="_blank"
rel="noopener noreferrer"
>
<i className="fa-brands fa-instagram"></i>
</a>
</footer>
);
}

export default Footer;
export default Footer;
5 changes: 2 additions & 3 deletions src/app/components/footer/Footer.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
@import "../../../globals/vh-styles.scss";
@import "src/globals/vh-styles.scss";

#footer {
width: 100vw;
height: 125px;
background-color: #382a77;

background-color: $darkPurple;
font-size: 35px;
display: flex;
justify-content: center;
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/partners/Partners.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
flex-wrap: wrap;
justify-content: center;
align-items: center;
margin: 0px 60px;
margin: 0px 60px 50px 60px;
padding: 0px 20px;
border-radius: 20px;
color: #4767b1;
Expand Down
2 changes: 2 additions & 0 deletions src/app/views/home/Home.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import FAQs from "src/app/components/faqs/FAQs";
import Sponsors from "src/app/components/sponsors/Sponsors";
import Partners from "src/app/components/partners/Partners";
import { Footer } from "src/app/components";

import vh_title from "/assets/images/titles/venushacks.svg";
import about_title from "/assets/images/titles/vh-about.svg";
Expand Down Expand Up @@ -92,6 +93,7 @@ const Home = () => {
</section>
<Sponsors />
<Partners />
<Footer />
</div>
);
};
Expand Down
4 changes: 4 additions & 0 deletions src/app/views/home/Home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ body {
text-align: center;
min-height: 100vh;

@media screen and (max-width: $break-small) {
background-size: contain;
}

section {
.section-title {
max-width: 100vw;
Expand Down

0 comments on commit 7d5339d

Please sign in to comment.