Commit efeb9972 authored by Zach Knox's avatar Zach Knox

added pride.codes bar to show during pride week. Will trigger every year at the end of March.

parent dcc737f4
Pipeline #2230 passed with stages
in 49 seconds
......@@ -28,5 +28,6 @@
<!-- Load stylesheets -->
<link rel="stylesheet" href="https://srct.gmu.io/masonstrap/css/masonstrap.min.css" />
<link href="/assets/css/style.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.pride.codes/css/bar_helpers.css">
<!-- Load favicon -->
<link rel="icon" href="/assets/img/favicon.ico">
<!-- Navbar -->
<nav class="navbar fixed-top navbar-expand-lg navbar-dark bg-primary">
<nav class="navbar navbar-expand-lg navbar-dark bg-primary">
<div class="container">
<!-- Brand -->
......
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js" integrity="sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1" crossorigin="anonymous"></script>
<script src="assets/js/functions.js"></script>
\ No newline at end of file
......@@ -6,7 +6,7 @@
{% include scripts.html %}
</head>
<body>
<body id="body">
{% include navbar.html %}
{% if page.jumbotron == true %}
......
function checkDate() {
var d = new Date(),
month = '' + (d.getMonth() + 1),
day = '' + d.getDate()
if (month == 3 && day > 20) {
var body = document.getElementById("body");
body.classList.add("pride-bar");
}
}
window.onload = checkDate
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment