Skip to content

Commit

Permalink
Refactor, add hackStoga call to action on homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielDavis05 committed Feb 27, 2024
1 parent 1ee8475 commit 1462b45
Show file tree
Hide file tree
Showing 11 changed files with 58 additions and 51 deletions.
4 changes: 2 additions & 2 deletions hackstoga/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
<link rel="stylesheet" href="/style/navbar.css" />

<!-- Load in page specific CSS -->
<link rel="stylesheet" href="/style/hackstoga.css" />
<link rel="stylesheet" href="/style/hackstoga/hackstoga.css" />

<!-- Page specific js -->
<script src="/scripts/hackstoga.js"></script>
<script src="/scripts/hackstoga/hackstoga.js"></script>

<!-- JS re-used across stogacs.club -->
<script src="/scripts/utils.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion hackstoga/sponsor/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<meta name="theme-color" content="#30e1b9" />
<meta property="og:title" content="hackStoga" />
<meta property="og:description" content="👩🏻‍💻 hackStoga is looking for sponsors!" />
<link href="/style/hackstoga_sponsor.css" rel="stylesheet" />
<link href="/style/hackstoga/hackstoga_sponsor.css" rel="stylesheet" />
<link href="/style/main.css" rel="stylesheet" />
<link href="/style/theme.css" rel="stylesheet" />

Expand Down
8 changes: 8 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@
Mondays after school in room
<span style="color: var(--offwhite)">2005</span>
</p>
<div style="position: absolute; text-align: center; top: 625px">
<a
target="_blank"
href="https://docs.google.com/forms/d/e/1FAIpQLSfgxixYJwW1acff8MTOh2TbEQ-LSDrDRJrViqAURhSCNZmRxw/viewform?usp=pp_url&entry.904236911=web_home_cta"
class="clean-button red-button"
>Register for hackStoga</a
>
</div>
</section>
<section id="about" class="screen pure-g">
<div class="pure-u-md-1-1 formatting-separator"></div>
Expand Down
2 changes: 1 addition & 1 deletion leaderboard/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<!-- Load in page specific scripts -->
<script src="/scripts/utils.js"></script>
<script src="/scripts/leaderboard.js"></script>
<script src="/scripts/leaderboard/leaderboard.js"></script>
<script src="/scripts/navbar.js"></script>

<!-- Load in external CSS Libraries -->
Expand Down
2 changes: 1 addition & 1 deletion leaderboard/trading.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<!-- Load in page specific scripts -->
<script src="/scripts/utils.js"></script>
<script src="/scripts/trading.js"></script>
<script src="/scripts/leaderboard/trading.js"></script>
<script src="/scripts/navbar.js"></script>

<!-- Load in external CSS Libraries -->
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
46 changes: 0 additions & 46 deletions style/hackstoga.css → style/hackstoga/hackstoga.css
Original file line number Diff line number Diff line change
Expand Up @@ -214,48 +214,6 @@ ul.brands li.brand img {
margin: 0 auto;
}

.clean-button {
display: inline-block;
padding: 10px 20px 10px 20px;
background-color: transparent;
border: 2px solid white;
border-radius: 10px;
font-size: 2em;
text-decoration: none;
color: white !important;
transition: color 0.1s ease-out, transform 0.05s ease-out;
background-color: #12121230;
}

.clean-button:hover {
transform: scale(1.05);
transform: scale(1.1);
background-color: #12121260;
text-decoration: none;
}

.clean-button:active {
transform: scale(1);
}

.red-button {
background-color: #8b2b2b7c;
}

.red-button:hover {
background-color: #8b2b2bcc;
}

.red-outline:hover {
border-color: var(--red);
color: var(--red);
}

.red-outline:active {
border-color: var(--darkred);
color: var(--darkred);
}

#signup-vol-button:hover {
border-color: var(white);
color: var(white);
Expand All @@ -266,10 +224,6 @@ ul.brands li.brand img {
color: var(white);
}

.right-button {
margin-left: 1em;
}

@media screen and (max-width: 522px) {
.clean-button {
margin: 0px 0px 0px 0px;
Expand Down
File renamed without changes.
45 changes: 45 additions & 0 deletions style/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -294,3 +294,48 @@ a:hover {
.error-card:hover {
background-color: var(--anchor-hover);
}

.clean-button {
display: inline-block;
padding: 10px 20px 10px 20px;
background-color: transparent;
border: 2px solid white;
border-radius: 10px;
font-size: 2em;
text-decoration: none;
color: white !important;
transition: color 0.1s ease-out, transform 0.05s ease-out;
background-color: #12121230;
}

.clean-button:hover {
transform: scale(1.05);
transform: scale(1.1);
background-color: #12121260;
text-decoration: none;
}

.clean-button:active {
transform: scale(1);
}

.red-button {
background-color: #8b2b2b7c;
}

.red-button:hover {
background-color: #8b2b2bcc;
}

.red-outline:hover {
border-color: var(--red);
color: var(--red);
}

.red-outline:active {
border-color: var(--darkred);
color: var(--darkred);
}
.right-button {
margin-left: 1em;
}

0 comments on commit 1462b45

Please sign in to comment.