Skip to content

Commit

Permalink
UI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
waalbert committed May 24, 2024
1 parent 40a8fb8 commit 0ae901e
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 21 deletions.
Binary file added public/assets/images/titles/vh-faq.png
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 public/assets/images/titles/vh-partners.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/app/components/partners/Partners.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Partner from "./Partner";

import partners_title from "/assets/images/titles/vh-partners.svg";
import partners_title from "/assets/images/titles/vh-partners.png";

import acm from "/assets/images/2024-partners/acm.png";
import cyber from "/assets/images/2024-partners/cyber.png";
Expand Down
6 changes: 2 additions & 4 deletions src/app/components/partners/Partners.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
@media screen and (max-width: $break-medium) {
height: 35vw;
max-height: 200px;
margin: 20px auto;
}
}

Expand All @@ -17,9 +16,8 @@
flex-wrap: wrap;
justify-content: center;
align-items: center;
background-color: #a8acf977;
margin: 20px 60px;
padding: 15px 20px;
margin: 0px 60px;
padding: 0px 20px;
border-radius: 20px;
color: #4767b1;

Expand Down
5 changes: 2 additions & 3 deletions src/app/components/sponsors/Sponsors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@
flex-wrap: wrap;
justify-content: center;
align-items: center;
background-color: #a8acf977;
margin: 20px 60px;
padding: 15px 20px;
margin: 0px 60px;
padding: 0px 20px;
border-radius: 20px;
color: #4767b1;

Expand Down
2 changes: 1 addition & 1 deletion src/app/views/home/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Partners from "src/app/components/partners/Partners";

import vh_title from "/assets/images/titles/venushacks.svg";
import about_title from "/assets/images/titles/vh-about.svg";
import faq_title from "/assets/images/titles/vh-faq.svg";
import faq_title from "/assets/images/titles/vh-faq.png";

import "./Home.scss";

Expand Down
26 changes: 14 additions & 12 deletions src/app/views/home/Home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,19 +61,18 @@ body {
width: 45%;
justify-content: space-between;
max-width: 600px;
margin-top: 150px;
transform: translateY(-700px);
transform: translateY(-550px);

@media screen and (max-width: $break-medium) {
width: 100%;
max-width: 325px;
transform: translateY(-600px);
transform: translateY(-400px);
}

@media screen and (max-width: $break-small) {
width: 100%;
max-width: 325px;
transform: translateY(-400px);
transform: translateY(-250px);
}

@keyframes floatBoba {
Expand Down Expand Up @@ -181,9 +180,6 @@ body {
} // END #astronaut-animation

#hero-right {
// width: 48%;
// margin-bottom: 20px;

@media screen and (max-width: $break-medium) {
width: initial;
}
Expand Down Expand Up @@ -272,13 +268,20 @@ body {
} // END HERO

#planet {
width: 75vw;
height: 75vw;
width: 50vw;
height: 50vw;
background: url($planet);
background-size: contain;
background-repeat: no-repeat;
margin: auto;
margin-top: -50%;
margin-top: -55%;
margin-bottom: 50px;

@media screen and (max-width: $break-medium) {
margin-top: -80%;
width: 70vw;
height: 70vw;
}
}

#about {
Expand Down Expand Up @@ -308,7 +311,6 @@ body {
color: $darkPurple;
font-family: "Varela", sans-serif;
font-weight: 500;
background-color: #a8acf977;
margin: 20px 60px;
padding: 15px 20px;
border-radius: 20px;
Expand Down Expand Up @@ -348,6 +350,7 @@ body {
flex-direction: column;
font-family: "Varela", sans-serif;
color: $darkPurple;
margin-top: 50px;

.section-title {
height: 140px;
Expand All @@ -359,7 +362,6 @@ body {

#faq-container {
align-items: center;
background-color: #a8acf977;
margin: 20px 60px;
padding: 15px 20px;
border-radius: 20px;
Expand Down

0 comments on commit 0ae901e

Please sign in to comment.