Started working on the project structure and design of the site

This commit is contained in:
Gregory Ballantine 2021-08-23 21:43:08 -04:00
parent 1187777ba0
commit 11c0357d56
11 changed files with 145 additions and 53 deletions

View File

@ -27,4 +27,3 @@ end
# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]

View File

@ -3,12 +3,17 @@ GEM
specs:
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.12.2)
colorator (1.1.0)
concurrent-ruby (1.1.9)
em-websocket (0.5.2)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
eventmachine (1.2.7)
execjs (2.8.1)
ffi (1.15.3)
forwardable-extended (2.6.0)
http_parser.rb (0.6.0)
@ -29,6 +34,9 @@ GEM
rouge (~> 3.0)
safe_yaml (~> 1.0)
terminal-table (~> 2.0)
jekyll-coffeescript (2.0.0)
coffee-script (~> 2.2)
coffee-script-source (~> 1.12)
jekyll-feed (0.15.1)
jekyll (>= 3.7, < 5.0)
jekyll-sass-converter (2.1.0)
@ -70,6 +78,7 @@ PLATFORMS
DEPENDENCIES
jekyll (~> 4.2.0)
jekyll-coffeescript
jekyll-feed (~> 0.12)
minima (~> 2.5)
tzinfo (~> 1.2)

View File

@ -1,55 +1,21 @@
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely edit after that. If you find
# yourself editing this file very often, consider using Jekyll's data files
# feature for the data you need to update frequently.
#
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
#
# If you need help with YAML syntax, here are some quick references for you:
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
# https://learnxinyminutes.com/docs/yaml/
#
# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
title: Your awesome title
email: your-email@example.com
description: >- # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in your document head meta (for
Google search results) and in your feed.xml site description.
baseurl: "" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site, e.g. http://example.com
twitter_username: jekyllrb
github_username: jekyll
title: Bit Goblin Community Minecraft Server
email: gballantine@bitgoblin.tech
description: >-
Server info for the Bit Goblin community Minecraft server
baseurl: "/"
url: "https://mc.bitgoblin.tech"
permalink: '/:year/:month/:day/:title:output_ext'
links:
bitgoblin: 'https://www.bitgoblin.tech'
youtube_channel: 'https://youtube.com/BitGoblin'
forum: 'https://forum.bitgoblin.tech'
# Build settings
theme: minima
plugins:
- jekyll-feed
# Exclude from processing.
# The following items will not be processed, by default.
# Any item listed under the `exclude:` key here will be automatically added to
# the internal "default list".
#
# Excluded items can be processed by explicitly listing the directories or
# their entries' file path in the `include:` list.
#
# exclude:
# - .sass-cache/
# - .jekyll-cache/
# - gemfiles/
# - Gemfile
# - Gemfile.lock
# - node_modules/
# - vendor/bundle/
# - vendor/cache/
# - vendor/gems/
# - vendor/ruby/
sass:
sass_dir: assets/styles
style: compressed

45
src/_layouts/default.html Normal file
View File

@ -0,0 +1,45 @@
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ page.title }}</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css">
<link rel="stylesheet" href="/assets/stylesheets/falador.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="/assets/scripts/rimmington.js"></script>
</head>
<body>
<!-- main navigation bar -->
<nav id="main-navigation">
<ul class="left-menu">
<li><a href="{% link index.markdown %}">Home</a></li>
<li><a href="{% link index.markdown %}">Updates</a></li>
<li><a href="{% link index.markdown %}">Server Info</a></li>
</ul>
<ul class="right-menu">
<li><a href="{{ site.links.bitgoblin }}">Bit Goblin</a></li>
<li><a href="{{ site.links.youtube_channel }}">YouTube</a></li>
<li><a href="{{ site.links.forum }}">Forum</a></li>
</ul>
</nav>
<!-- minecraft banner -->
<div class="container">
<div class="row">
<div class="columns twelve">
<header id="banner">
<h1>Bit Goblin &lt;3 Minecraft</h1>
</header>
</div>
</div>
</div>
<!-- page content -->
<div class="container">
{{ content }}
</div>
</body>
</html>

7
src/_layouts/home.html Normal file
View File

@ -0,0 +1,7 @@
---
layout: default
---
This is the home page.
{{ content }}

7
src/_layouts/page.html Normal file
View File

@ -0,0 +1,7 @@
---
layout: default
---
This is a page layout.
{{ content }}

7
src/_layouts/post.html Normal file
View File

@ -0,0 +1,7 @@
---
layout: default
---
This is a post layout.
{{ content }}

View File

@ -1,7 +1,6 @@
---
layout: page
title: About
permalink: /about/
---
This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](https://jekyllrb.com/)

View File

@ -0,0 +1,6 @@
---
---
$(document).ready(function() {
console.log('Test.');
});

View File

@ -0,0 +1,50 @@
---
---
body{
padding-top: 100px;
background: #212121;
color: #eee;
}
#main-navigation{
position: fixed;
top: 0;
left: 0;
width: 100%;
background: #569045;
box-shadow: 3px 3px 2px rgba(0, 0, 0, .4);
ul{
display: inline-block;
list-style: none;
&.left-menu{
left: 0;
}
&.right-menu{
margin-left: auto;
margin-right: 0;
}
li{
display: inline-block;
}
a{
color: #212121;
transition: color 300ms ease-in-out;
&:hover{
color: lighten(#212121, 10%);
}
}
}
}
#banner{
position: relative;
z-index: 2;
height: 420px;
background-image: url(http://i.imgur.com/cxd3JtU.png);
background-size: auto;
background-position: center center;
overflow: hidden;
}

View File

@ -1,6 +1,3 @@
---
# Feel free to add content and custom Front Matter to this file.
# To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults
layout: home
---