-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from sethwalker1/Jekyll
Finalized First Prototype - 7/10
- Loading branch information
Showing
21 changed files
with
550 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Prevent viewing of htaccess file. | ||
<Files .htaccess> | ||
order allow,deny | ||
deny from all | ||
</Files> | ||
|
||
# Prevent directory listings | ||
# Options All -Indexes | ||
|
||
ErrorDocument 404 /404.php | ||
|
||
RewriteEngine on | ||
|
||
RewriteCond %{REQUEST_FILENAME} !-d | ||
RewriteCond %{REQUEST_FILENAME}\.html -f | ||
RewriteRule ^(.*)$ $1.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,36 @@ | ||
--- | ||
permalink: /404.html | ||
permalink: /404 | ||
layout: default | ||
--- | ||
|
||
<style type="text/css" media="screen"> | ||
.container { | ||
margin: 10px auto; | ||
max-width: 600px; | ||
text-align: center; | ||
} | ||
h1 { | ||
margin: 30px 0; | ||
font-size: 4em; | ||
line-height: 1; | ||
letter-spacing: -1px; | ||
} | ||
.container { | ||
margin: 10px auto; | ||
max-width: 600px; | ||
text-align: center; | ||
} | ||
h1 { | ||
margin: 30px 0; | ||
font-size: 4em; | ||
line-height: 1; | ||
letter-spacing: -1px; | ||
} | ||
</style> | ||
|
||
<div class="container"> | ||
<h1>404</h1> | ||
<h1>404</h1> | ||
|
||
<p><strong>Page not found :(</strong></p> | ||
<p>The requested page could not be found.</p> | ||
<p><strong>Page not found :(</strong></p> | ||
<p>Redirecting you to the home page in <span>5</span>...</p> | ||
</div> | ||
|
||
<script> | ||
setInterval(() => { | ||
let countdown = document.querySelector('.container p > span'); | ||
let count = parseInt(countdown.innerHTML); | ||
|
||
countdown.innerHTML = count - 1; | ||
if (count > 1) return; | ||
window.location.href = '/'; | ||
}, 1000); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
[ | ||
{ | ||
"name": "Pepperoni", | ||
"cost": 0.00 | ||
}, | ||
{ | ||
"name": "Sausage", | ||
"cost": 0.00 | ||
}, | ||
{ | ||
"name": "Bacon", | ||
"cost": 0.00 | ||
}, | ||
{ | ||
"name": "Beef", | ||
"cost": 0.00 | ||
}, | ||
{ | ||
"name": "Chicken", | ||
"cost": 0.00 | ||
}, | ||
{ | ||
"name": "Anchovies", | ||
"cost": 0.00 | ||
}, | ||
{ | ||
"name": "Japapenos", | ||
"cost": 0.00 | ||
}, | ||
{ | ||
"name": "Onions", | ||
"cost": 0.00 | ||
}, | ||
{ | ||
"name": "Banana Peppers", | ||
"cost": 0.00 | ||
}, | ||
{ | ||
"name": "Black Olives", | ||
"cost": 0.00 | ||
}, | ||
{ | ||
"name": "Mushrooms", | ||
"cost": 0.00 | ||
}, | ||
{ | ||
"name": "Pineapple", | ||
"cost": 0.00 | ||
}, | ||
{ | ||
"name": "Provolone Cheese", | ||
"cost": 0.00 | ||
}, | ||
{ | ||
"name": "Cheddar Cheese", | ||
"cost": 0.00 | ||
}, | ||
{ | ||
"name": "Green Peppers", | ||
"cost": 0.00 | ||
}, | ||
{ | ||
"name": "Spinach", | ||
"cost": 0.00 | ||
}, | ||
{ | ||
"name": "Red Peppers", | ||
"cost": 0.00 | ||
}, | ||
{ | ||
"name": "Shredded Parmesan", | ||
"cost": 0.00 | ||
}, | ||
{ | ||
"name": "Buffalo Sauce", | ||
"cost": 0.00 | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<div class="custom-control custom-checkbox"> | ||
<input type="checkbox" class="custom-control-input" id="{{ include.id }}" {% if include.checked %}checked{% endif %}> | ||
<label class="custom-control-label" for="{{ include.id }}">{{ include.label }}</label> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<div class="col-6 menuItem"> | ||
<div class="row"> | ||
<div class="col-sm-6 menuItem"> | ||
<div class="row py-3"> | ||
<div class="col-md-6 col-lg-4 px-2"> | ||
<img src="{{ include.img }}" class="squareImg w-100"> | ||
</div> | ||
<div class="col-md-6 col-lg-8"> | ||
<h3>{{ include.name }}</h3> | ||
<h3 class="mt-2">{{ include.name }}</h3> | ||
<p>{{ include.desc }}</p> | ||
<a class="btn btn-secondary" data-mdb-toggle="modal" data-mdb-target="#menuModal">Order</a> | ||
</div> | ||
<div class="col-md-6 col-lg-4"> | ||
<img src="{{ include.img }}" class="menuItemImg"> | ||
<a class="btn btn-secondary" data-mdb-toggle="modal" data-mdb-target="#menuModal" onclick="change_preview('{{ include.img }}')">Order</a> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.