Skip to content

Commit

Permalink
Merge branch 'Schedule-and-sponsor' of https://github.com/fuseumass/h…
Browse files Browse the repository at this point in the history
…ackumass.github.io into Schedule-and-sponsor
  • Loading branch information
Shiven110504 committed Nov 4, 2023
2 parents 8573c94 + d36916e commit aac8675
Show file tree
Hide file tree
Showing 6 changed files with 306 additions and 8 deletions.
258 changes: 258 additions & 0 deletions assets/css/floating-svg.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,258 @@
.wrap {
perspective-origin: 50% 50%;
}

.page {
margin: 3%;
max-width: 600px;
margin-left: auto;
margin-right: auto;
padding: 30px;
border-radius: 3px;
text-align: center;
font-size: 1.4vw;
}
.page h2 {
font-weight: bold;
font-size: 6.5vw;
font-weight: 900;
font-style: italic;
color: #dad8ec;
}

.svg {
stroke: #7ceaa4;
position: absolute;
bottom: -100vh;
transform-style: preserve-3d;
}

.svg:nth-child(1) {
left: 37%;
-webkit-animation: raise1 18s linear infinite;
animation: raise1 18s linear infinite;
-webkit-animation-delay: -2s;
animation-delay: -2s;
transform: scale(-0.3) rotate(312deg);
z-index: -6;
filter: blur(-5px);
}
@-webkit-keyframes raise1 {
to {
bottom: 150vh;
transform: scale(-0.3) rotate(81deg);
}
}
@keyframes raise1 {
to {
bottom: 150vh;
transform: scale(-0.3) rotate(81deg);
}
}

.svg:nth-child(2) {
left: 96%;
-webkit-animation: raise2 17s linear infinite;
animation: raise2 17s linear infinite;
-webkit-animation-delay: -4s;
animation-delay: -4s;
transform: scale(0) rotate(80deg);
z-index: -5;
filter: blur(-4px);
}
@-webkit-keyframes raise2 {
to {
bottom: 150vh;
transform: scale(0) rotate(167deg);
}
}
@keyframes raise2 {
to {
bottom: 150vh;
transform: scale(0) rotate(167deg);
}
}

.svg:nth-child(3) {
left: 77%;
-webkit-animation: raise3 20s linear infinite;
animation: raise3 20s linear infinite;
-webkit-animation-delay: -4s;
animation-delay: -4s;
transform: scale(0.3) rotate(15deg);
z-index: -4;
filter: blur(-3px);
}
@-webkit-keyframes raise3 {
to {
bottom: 150vh;
transform: scale(0.3) rotate(67deg);
}
}
@keyframes raise3 {
to {
bottom: 150vh;
transform: scale(0.3) rotate(67deg);
}
}

.svg:nth-child(4) {
left: 57%;
-webkit-animation: raise4 16s linear infinite;
animation: raise4 16s linear infinite;
-webkit-animation-delay: -3s;
animation-delay: -3s;
transform: scale(0.6) rotate(130deg);
z-index: -3;
filter: blur(-2px);
}
@-webkit-keyframes raise4 {
to {
bottom: 150vh;
transform: scale(0.6) rotate(219deg);
}
}
@keyframes raise4 {
to {
bottom: 150vh;
transform: scale(0.6) rotate(219deg);
}
}

.svg:nth-child(5) {
left: 26%;
-webkit-animation: raise5 20s linear infinite;
animation: raise5 20s linear infinite;
-webkit-animation-delay: -4s;
animation-delay: -4s;
transform: scale(0.9) rotate(46deg);
z-index: -2;
filter: blur(-1px);
}
@-webkit-keyframes raise5 {
to {
bottom: 150vh;
transform: scale(0.9) rotate(312deg);
}
}
@keyframes raise5 {
to {
bottom: 150vh;
transform: scale(0.9) rotate(312deg);
}
}

.svg:nth-child(6) {
left: 31%;
-webkit-animation: raise6 13s linear infinite;
animation: raise6 13s linear infinite;
-webkit-animation-delay: 0s;
animation-delay: 0s;
transform: scale(1.2) rotate(209deg);
z-index: -1;
filter: blur(0px);
}
@-webkit-keyframes raise6 {
to {
bottom: 150vh;
transform: scale(1.2) rotate(271deg);
}
}
@keyframes raise6 {
to {
bottom: 150vh;
transform: scale(1.2) rotate(271deg);
}
}

.svg:nth-child(7) {
left: 32%;
-webkit-animation: raise7 21s linear infinite;
animation: raise7 21s linear infinite;
-webkit-animation-delay: -3s;
animation-delay: -3s;
transform: scale(1.5) rotate(349deg);
z-index: 0;
filter: blur(1px);
}
@-webkit-keyframes raise7 {
to {
bottom: 150vh;
transform: scale(1.5) rotate(251deg);
}
}
@keyframes raise7 {
to {
bottom: 150vh;
transform: scale(1.5) rotate(251deg);
}
}

.svg:nth-child(8) {
left: 97%;
-webkit-animation: raise8 12s linear infinite;
animation: raise8 12s linear infinite;
-webkit-animation-delay: -2s;
animation-delay: -2s;
transform: scale(1.8) rotate(212deg);
z-index: 1;
filter: blur(2px);
}
@-webkit-keyframes raise8 {
to {
bottom: 150vh;
transform: scale(1.8) rotate(276deg);
}
}
@keyframes raise8 {
to {
bottom: 150vh;
transform: scale(1.8) rotate(276deg);
}
}

.svg:nth-child(9) {
left: 23%;
-webkit-animation: raise9 17s linear infinite;
animation: raise9 17s linear infinite;
-webkit-animation-delay: -1s;
animation-delay: -1s;
transform: scale(2.1) rotate(24deg);
z-index: 2;
filter: blur(3px);
}
@-webkit-keyframes raise9 {
to {
bottom: 150vh;
transform: scale(2.1) rotate(155deg);
}
}
@keyframes raise9 {
to {
bottom: 150vh;
transform: scale(2.1) rotate(155deg);
}
}

.svg:nth-child(10) {
left: 62%;
-webkit-animation: raise10 8s linear infinite;
animation: raise10 8s linear infinite;
-webkit-animation-delay: 0s;
animation-delay: 0s;
transform: scale(2.4) rotate(5deg);
z-index: 3;
filter: blur(4px);
}
@-webkit-keyframes raise10 {
to {
bottom: 150vh;
transform: scale(2.4) rotate(258deg);
}
}
@keyframes raise10 {
to {
bottom: 150vh;
transform: scale(2.4) rotate(258deg);
}
}
15 changes: 15 additions & 0 deletions assets/css/topbar.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
@import "https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.5/css/bootstrap.min.css";

.topbar-fixed.scrolled {
background-color: #af6ff8 !important;
opacity: 0.7 !important;
transition: background-color 200ms linear;
}

.topbar-fixed.scrolled .nav-link {
color:rgb(85, 85, 85);
}

#topbar {
transition: top 0.3s;
}
File renamed without changes
4 changes: 4 additions & 0 deletions assets/js/sponsors-partners.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
// these names should match the image title
const sponsors = [
'UMass-Engineering',
'UMass-Manning-CICS',
'UMass-Berthiaume-Center',
'MITRE',
'KPMG',
];
const sponsorsLinks = [
'https://engineering.umass.edu/',
'https://www.cics.umass.edu/',
'https://www.isenberg.umass.edu/centers/berthiaume-center-for-entrepreneurship',
'https://www.mitre.org/',
'https://kpmg.com/xx/en/home.html',
];
// these names should match the image title
const partners = [
'Wolfram-Alpha',
'echo3d',
Expand Down
20 changes: 20 additions & 0 deletions assets/js/topbar.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
$(function () {
$(document).scroll(function () {
var $nav = $(".topbar-fixed");
$nav.toggleClass('scrolled', $(this).scrollTop() > 700);
});
});

var initalPos = window.scrollY;
window.onscroll = function() {
var currPos = window.scrollY;
if (currPos < 100) {
document.getElementById("topbar").style.top = "0";
}
else if (initalPos > currPos) {
document.getElementById("topbar").style.top = "0";
} else {
document.getElementById("topbar").style.top = "-50px";
}
initalPos = currPos;
}
17 changes: 9 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<!-- Add the v6 core styles and then select the individual styles you need, like Solid and Brands -->
<link href="assets/css/fontawesome.min.css" rel="stylesheet" />
<link href="assets/css/brands.min.css" rel="stylesheet" />
<link href="assets/css/topbar.css" rel="stylesheet"/>

<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
Expand Down Expand Up @@ -94,12 +95,12 @@

<body>
<!-- Topbar -->
<nav class="topbar topbar-inverse topbar-expand-sm">
<nav id="topbar" class="topbar topbar-inverse topbar-expand-sm topbar-fixed" style="position:fixed;right:0;background:rgb(58, 58, 58);width:100%; height: 10%; opacity: 1.0;">
<div class="container">
<div class="topbar-left">
<!-- For now, nothing on the left bar of the top bar -->
<!-- Enable banner if HackUMass IX affiliates with MLH again-->
<!--a id="mlh-trust-badge" style="
<a id="mlh-trust-badge" style="
display:block;
max-width:100px;
min-width:60px;
Expand All @@ -108,19 +109,18 @@
top:0;
width:10%;
z-index:10000"
href="https://mlh.io/na?utm_source=na-hackathon&utm_medium=TrustBadge&utm_campaign=2023-season&utm_content=yellow" target="_blank">
<img src="https://s3.amazonaws.com/logged-assets/trust-badge/2023/mlh-trust-badge-2023-yellow.svg" alt="Major League Hacking 2023 Hackathon Season" style="width:100%"></a-->
href="https://mlh.io/na?utm_source=na-hackathon&utm_medium=TrustBadge&utm_campaign=2024-season&utm_content=white" target="_blank"><img src="https://s3.amazonaws.com/logged-assets/trust-badge/2024/mlh-trust-badge-2024-white.svg" alt="Major League Hacking 2024 Hackathon Season" style="width:100%"></a>
<!-- Enable banner if Pinnacle collaboration is on for HUM-IX-->
<!-- <a id="pinnacle-badge" style="display:block;max-width:100px;min-width:60px;position:fixed;left:200px;top:0;width:10%;z-index:10000" href="https://pinnacle.us.org/" target="_blank"><img src="assets/img/partners/pinnacle_badge.png" alt="Pinnacle" style="width:100%"></a> -->
</div>

<div class="topbar-right">
<div class="topbar-right" style="position:absolute; right:0">
<!-- <a class="btn btn-sm btn-outline btn-white hidden-sm-down" href="https://about.hackumass.com/">About Us</a>&nbsp; -->
<a class="btn btn-sm btn-outline btn-white hidden-sm-down" href="https://about.hackumass.com/opensource.html"
<a class="btn btn-sm btn-outline btn-white hidden-sm-down" style="opacity:1.0" href="https://about.hackumass.com/opensource.html"
target="_blank">Open Source</a>&nbsp;
<a class="btn btn-sm btn-outline btn-white" href="https://hackumass-x.devpost.com/project-gallery"
<a class="btn btn-sm btn-outline btn-white" style="opacity:1.0" href="https://hackumass-x.devpost.com/project-gallery"
target="_blank">Previous Projects</a>&nbsp;
<a class="btn btn-sm btn-outline btn-white" href="https://discord.gg/aqbbYnkKpd" target="_blank">Discord</a>
<a class="btn btn-sm btn-outline btn-white" style="opacity:1.0" href="https://discord.gg/aqbbYnkKpd" target="_blank">Discord</a>
</div>
</div>
</nav>
Expand Down Expand Up @@ -1252,6 +1252,7 @@ <h4>
<script src="assets/js/our-team-tab.js"></script>
<script src="assets/js/sponsors-partners.js"></script>
<script src="assets/js/core.min.js"></script>
<script src="assets/js/topbar.js"></script>
<script src="assets/js/thesaas.min.js"></script>
<script src="assets/js/script.js"></script>
<script src="assets/js/isInViewport.js"></script>
Expand Down

0 comments on commit aac8675

Please sign in to comment.