Moved the site over to Ruby on Rails
This commit is contained in:
55
app/views/layouts/application.html.erb
Normal file
55
app/views/layouts/application.html.erb
Normal file
@ -0,0 +1,55 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Bit Goblin Website</title>
|
||||
<%= csrf_meta_tags %>
|
||||
<%= csp_meta_tag %>
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css">
|
||||
<%= stylesheet_link_tag "lumbridge", "data-turbo-track": "reload" %>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
||||
<%= javascript_include_tag 'varrock' %>
|
||||
<%= javascript_importmap_tags %>
|
||||
</head>
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
<header id="header-box">
|
||||
<div id="header-logo">
|
||||
<h1>Bit Goblin</h1>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<nav id="navigation">
|
||||
<ul>
|
||||
<li><a href="/">Home</a></li>
|
||||
<li><a href="/blog">Blog Posts</a></li>
|
||||
<li><a href="/support">Support</a></li>
|
||||
<li><a href="/contact">Contact</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<div id="main-content" class="container">
|
||||
<div class="row">
|
||||
<div class="columns twelve">
|
||||
<%= yield %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer id="footer">
|
||||
<div class="row">
|
||||
<div class="columns three">
|
||||
<p>Support me over on <a href="https://patreon.com/BitGoblin">Patreon</a>!</p>
|
||||
</div>
|
||||
<div class="columns six">
|
||||
<p class="u-text-center">The Bit Goblin official website.</p>
|
||||
<p class="u-text-center">© Bit Goblin | all rights reserved.</p>
|
||||
</div>
|
||||
<div class="columns three">
|
||||
<p>Feel free to <a href="/contact">contact me</a> for any business inquiries.</p>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
13
app/views/layouts/mailer.html.erb
Normal file
13
app/views/layouts/mailer.html.erb
Normal file
@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<style>
|
||||
/* Email styles need to be inline */
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<%= yield %>
|
||||
</body>
|
||||
</html>
|
1
app/views/layouts/mailer.text.erb
Normal file
1
app/views/layouts/mailer.text.erb
Normal file
@ -0,0 +1 @@
|
||||
<%= yield %>
|
Reference in New Issue
Block a user