Skip to content

Commit

Permalink
Add jobuary page (#414)
Browse files Browse the repository at this point in the history
* Add jobuary page

* Optimised images with calibre/image-actions

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
MathyouMB and github-actions[bot] authored Jan 2, 2024
1 parent 5c91585 commit 4df7f18
Show file tree
Hide file tree
Showing 9 changed files with 124 additions and 2 deletions.
1 change: 1 addition & 0 deletions assets/scss/_components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
@import "components/home";
@import "components/internal";
@import "components/initiative";
@import "components/jobuary";
@import "components/links";
@import "components/markdown";
@import "components/navbar";
Expand Down
81 changes: 81 additions & 0 deletions assets/scss/components/_jobuary.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
.jobuary-page {
height: 100vh;
text-align: center;
// background-color: #01000cf2;
background-color: #03050c;
opacity: 0.97;
}

.jobuary-background-wrap {
position: absolute;
width: 100vw;
height: 100vh;
overflow: hidden;
background-color: rgb(10, 11, 20);
z-index: -2;
background-image: url(https://media.istockphoto.com/id/136754396/photo/silhouette-of-trees-at-night.webp?b=1&s=170667a&w=0&k=20&c=5MosZ1b2CBPOdv8CXOhWT7ZGo-Ook_o220OXbtsuPFc=);
//background-image: url(https://static.vecteezy.com/system/resources/previews/009/626/037/non_2x/silhouette-landscape-with-fog-forest-pine-trees-mountains-illustration-of-national-park-view-mist-black-and-white-good-for-wallpaper-background-banner-cover-poster-free-vector.jpg);
background-repeat: no-repeat;
background-size: cover;
// opacity: 0.7;
@media only screen and (max-width: 600px) {
height: 120vh;
}
}

.jobuary {
overflow-y: hidden;

&__logo {
object-fit: cover;
width: 17rem;
}

&__slogan {
color: white;
font-size: 1.15rem;
font-weight: bold;
margin-bottom: 1rem;
padding-top: 2rem;
}
}
.header-button {
margin-top: 3rem;
border-radius: 0.3rem;
border-width: 0px;
min-width: 9rem;
background-color: #ffffff;
padding: 0.75rem 1.5rem;
color: rgb(0, 0, 0);
font-weight: bold;
font-size: 1.05rem;
transition: all 0.15s;
cursor: pointer;
}

.header-button:hover {
background-image: linear-gradient(
90deg,
#09cef0 0%,
#8664f1 39%,
#00de79 70%,
#09cef0 100%
);
animation: slidebg 5s linear infinite;
color: white;
}

@keyframes slide {
from {
background-position: 0 0;
}
to {
background-position: -400px 0;
}
}

@keyframes slidebg {
to {
background-position: 20vw;
}
}
8 changes: 8 additions & 0 deletions content/jobuary/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: "Jobuary"
date: 2023-09-01T23:11:13Z
draft: false
url: "/jobuary"
layout: jobuary
preview: "images/event_posters/2023-2024/jobuary.jpg"
---
30 changes: 30 additions & 0 deletions layouts/_default/jobuary.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{{ define "main" }}
<script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script>
<div class="jobuary">
<lottie-player
class="woa-background"
src="/lottie/jobuary.json"
background="transparent"
speed="1"
loop
autoplay
></lottie-player>
<div class="jobuary-background-wrap">
<!-- <img src="https://media.giphy.com/media/cPlsuCWPznPZ98kV2J/giphy.gif" class="woa-background" /> -->
</div>
<div class="jobuary-page">
<div class="woa-header">
<div>
<img class="jobuary__logo" src="/images/jobuary-logo.png" />
</div>
<div class="jobuary__slogan">Kickstart Your Career In Tech</div>
<div>
<a href="#about"
><button class="header-button">Coming Soon</button></a
>
</div>
</div>
</div>
</div>
<div style="height: 200vh; background-color: #03050c;"></div>
{{ end }}
5 changes: 3 additions & 2 deletions layouts/partials/navbar_temp.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<ul>
<li><a href="/events/weekofawesome">WEEK OF AWESOME</a></li>
<li><a href="/hackthetunnels">HACK THE TUNNELS</a></li>
<li><a href="/jobuary">JOBUARY</a></li>
</ul>
<!--
<ul>
Expand Down Expand Up @@ -85,8 +86,8 @@
<ul class="menu">
<li><a href="/about">ABOUT</a></li>
<li><a href="/events">EVENTS</a></li>
<li><a href="/events/weekofawesome">WEEK OF AWESOME</a></li>
<li><a href="/hackthetunnels">HACK THE TUNNELS</a></li>
<!-- <li><a href="/events/weekofawesome">WEEK OF AWESOME</a></li> -->
<li><a href="/jobuary">JOBUARY</a></li>
<li>
<a href="https://carletoncss.myshopify.com/products/2023-2024-ccss-hoodie"
>SHOP</a
Expand Down
Binary file added static/images/event_posters/2023-2024/jobuary.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 static/images/jobuary-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions static/lottie/jobuary.json

Large diffs are not rendered by default.

0 comments on commit 4df7f18

Please sign in to comment.