Skip to content

Commit

Permalink
Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
LoydOsborne committed Apr 14, 2024
1 parent cb12a79 commit df90c90
Show file tree
Hide file tree
Showing 10 changed files with 79 additions and 306 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ _site/
discussions/
making-coffee/
.env
# reads/
reads/
index-maintenance.html
404-maintenance.html
test-page.md
Expand Down
48 changes: 48 additions & 0 deletions _includes/reads-navbar.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<nav class="navbar is-black is-fixed-top" role="navigation" aria-label="main navigation" id="navbar">
<div class="container">

<div class="navbar-brand">
<a class="navbar-item"
href="{% if page.layout == 'default' %}{{site.url}}{{site.baseurl}}/#{% else %}{{site.url}}{{site.baseurl}}/{% endif %}">
<img src="https://cdn.scyted.tv/assets/scytedtv/logos/scytedtv-logo.png" alt="ScytedTV Studios">
</a>
<div class="navbar-burger" data-target="navbar-menu">
<span></span>
<span></span>
<span></span>
</div>
</div>


<div class="navbar-menu has-background-black" id="navbar-menu">
<div class="navbar-end">
<a class="navbar-item {% if page.layout == 'default' %}is-active{% endif %}"
href="{% if page.layout == 'default' %}{{site.url}}{{site.baseurl}}/#{% else %}{{site.url}}{{site.baseurl}}/{% endif %}">Home</a>
<a class="navbar-item {% if page.type == 'resources' %}is-active{% endif %}"
href="../">Back</a>
<!-- <a class="navbar-item {% if page.type == 'discussion' %}is-active{% endif %}"
href="{{site.url}}{{site.baseurl}}/discussions">DISCUSSIONS [beta]</a> -->
</div>
</div>
</div>
</nav>
<script>
document.addEventListener('DOMContentLoaded', function () {
/* Get all "navbar-burger" elements */
var $navbarBurgers = Array.prototype.slice.call(document.querySelectorAll('.navbar-burger'), 0);
/* Check if there are any navbar burgers */
if ($navbarBurgers.length > 0) {
/* Add a click event on each of them */
$navbarBurgers.forEach(function ($el) {
$el.addEventListener('click', function () {
/* Get the target from the "data-target" attribute */
var target = $el.dataset.target;
var $target = document.getElementById(target);
/* Toggle the class on both the "navbar-burger" and the "navbar-menu" */
$el.classList.toggle('is-active');
$target.classList.toggle('is-active');
});
});
}
});
</script>
30 changes: 30 additions & 0 deletions _layouts/reads.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
layout: compress
---

<!DOCTYPE html>
<html>
{% include head.html %}

<body>
{% include reads-navbar.html %}
<section class="hero is-fullheight">
<div class="hero-body">
<div class="container has-text-centered" id="page-section">
<div class="section">
<h1 class="title is-1 is-uppercase has-text-weight-bold">
{{page.title}}
</h1>
<hr class="has-background-black">
<div class="content is-marginless">
{{ content }}
</div>
</div>
</div>
</div>
</section>
<!--Footer begins here-->
{% include footer.html %}
</body>

</html>
50 changes: 0 additions & 50 deletions reads/index.md

This file was deleted.

72 changes: 0 additions & 72 deletions reads/name-set.html

This file was deleted.

114 changes: 0 additions & 114 deletions reads/script.js

This file was deleted.

9 changes: 0 additions & 9 deletions reads/stories.json

This file was deleted.

16 changes: 0 additions & 16 deletions reads/the-universe/index.md

This file was deleted.

23 changes: 0 additions & 23 deletions reads/the-universe/story MAIN.txt

This file was deleted.

Loading

0 comments on commit df90c90

Please sign in to comment.