diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..3a87b94 --- /dev/null +++ b/.htaccess @@ -0,0 +1,16 @@ +# Prevent viewing of htaccess file. + + order allow,deny + deny from all + + +# Prevent directory listings +# Options All -Indexes + +ErrorDocument 404 /404.php + +RewriteEngine on + +RewriteCond %{REQUEST_FILENAME} !-d +RewriteCond %{REQUEST_FILENAME}\.html -f +RewriteRule ^(.*)$ $1.html \ No newline at end of file diff --git a/404.html b/404.html index 086a5c9..af43df5 100644 --- a/404.html +++ b/404.html @@ -1,25 +1,36 @@ --- -permalink: /404.html +permalink: /404 layout: default ---
-

404

+

404

-

Page not found :(

-

The requested page could not be found.

+

Page not found :(

+

Redirecting you to the home page in 5...

+ + diff --git a/_config.yml b/_config.yml index 09da8dd..05af2cf 100644 --- a/_config.yml +++ b/_config.yml @@ -34,6 +34,9 @@ theme: minima plugins: - jekyll-feed +include: + - .htaccess + # 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 diff --git a/_data/toppings.json b/_data/toppings.json new file mode 100644 index 0000000..3c5153a --- /dev/null +++ b/_data/toppings.json @@ -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 + } +] \ No newline at end of file diff --git a/_includes/checkbox.html b/_includes/checkbox.html new file mode 100644 index 0000000..528c7b2 --- /dev/null +++ b/_includes/checkbox.html @@ -0,0 +1,4 @@ +
+ + +
\ No newline at end of file diff --git a/_includes/menuItem.html b/_includes/menuItem.html index 1497926..acb039f 100644 --- a/_includes/menuItem.html +++ b/_includes/menuItem.html @@ -1,12 +1,12 @@ - + + + + + diff --git a/cdn/css/global.css b/cdn/css/global.css new file mode 100644 index 0000000..f2b1be2 --- /dev/null +++ b/cdn/css/global.css @@ -0,0 +1,98 @@ +/* Variables */ +:root { + --primary-color: #1266f1; + --primary-hover-color: #0c56d0; + --secondary-color: #b23cfd; + --secondary-hover-color: #a316fd; + --info-color: #39c0ed; + --info-hover-color: #16b5ea; + --warning-color: #ffa900; + --warning-hover-color: #d99000; + --danger-color: #f93154; + --danger-hover-color: #f80c35; +} + +html, body { + display: flex; + flex-direction: column; + height: 100vh; +} + +/* Button Override */ +.btn { + color: unset; + background-color: unset !important; + box-shadow: none !important; + border-radius: 100vw; +} + +.btn:hover { + color: unset; + background-color: unset; + box-shadow: none !important; +} + +/* Button Colors */ +.btn-primary { + color: var(--primary-color) !important; + border: 0.125rem solid var(--primary-color) !important; +} + +.btn-secondary { + color: var(--secondary-color) !important; + border: 0.125rem solid var(--secondary-color) !important; +} + +.btn-info { + color: var(--info-color) !important; + border: 0.125rem solid var(--info-color) !important; +} + +.btn-warning { + color: var(--warning-color) !important; + border: 0.125rem solid var(--warning-color) !important; +} + +.btn-danger { + color: var(--danger-color) !important; + border: 0.125rem solid var(--danger-color) !important; +} + +.btn-primary:hover { + color: var(--primary-hover-color) !important; + border: 0.125rem solid var(--primary-hover-color) !important; +} + +.btn-secondary:hover { + color: var(--secondary-hover-color) !important; + border: 0.125rem solid var(--secondary-hover-color) !important; +} + +.btn-info:hover { + color: var(--info-hover-color) !important; + border: 0.125rem solid var(--info-hover-color) !important; +} + +.btn-warning:hover { + color: var(--warning-hover-color) !important; + border: 0.125rem solid var(--warning-hover-color) !important; +} + +.btn-danger:hover { + color: var(--danger-hover-color) !important; + border: 0.125rem solid var(--danger-hover-color) !important; +} + +/* Menu Items */ +.menuItem > .row { + margin: 1rem 0.25rem 0.5rem 0; + padding: 0.5rem; + /* border: #B23CFD 1px solid; */ + border-radius: 0.25rem; +} + +.squareImg { + aspect-ratio: 1 / 1; + object-fit: cover; + border-radius: 0.5rem; +} diff --git a/cdn/css/index.css b/cdn/css/index.css deleted file mode 100644 index dc52002..0000000 --- a/cdn/css/index.css +++ /dev/null @@ -1,12 +0,0 @@ -.menuItem > .row { - margin: 1rem 0.25rem 0.5rem 0; - padding: 0.5rem; - border: #B23CFD 1px solid; - border-radius: 0.25rem; -} - -.menuItemImg { - width: 100%; - aspect-ratio: 1 / 1; - object-fit: cover; -} \ No newline at end of file diff --git a/cdn/img/cart.svg b/cdn/img/cart.svg new file mode 100644 index 0000000..97962b6 --- /dev/null +++ b/cdn/img/cart.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/cdn/img/cheese_pizza.png b/cdn/img/cheese_pizza.png deleted file mode 100644 index 720ca95..0000000 Binary files a/cdn/img/cheese_pizza.png and /dev/null differ diff --git a/cdn/img/logout.svg b/cdn/img/logout.svg new file mode 100644 index 0000000..04c4921 --- /dev/null +++ b/cdn/img/logout.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/cdn/img/register.svg b/cdn/img/register.svg new file mode 100644 index 0000000..464ceec --- /dev/null +++ b/cdn/img/register.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/cdn/img/welcome.svg b/cdn/img/welcome.svg new file mode 100644 index 0000000..66c15e7 --- /dev/null +++ b/cdn/img/welcome.svg @@ -0,0 +1 @@ +welcome \ No newline at end of file diff --git a/index.html b/index.html index ff7aeb3..b5ebb4f 100644 --- a/index.html +++ b/index.html @@ -1,15 +1,22 @@ --- -# 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: default title: Home +container_class: mt-4 ---
- {% include menuItem.html name="Cheese Pizza" desc="sample description" img="//www.pizzahut.com/assets/w/tile/thor/pizza_Cheese.png" %} - {% include menuItem.html name="Pepperoni Pizza" desc="sample description" img="//www.pizzahut.com/assets/w/tile/thor/pizza_Pepperoni.png" %} - {% include menuItem.html name="Meat Lovers Pizza" desc="sample description" img="//www.pizzahut.com/assets/w/tile/thor/MeatLovers_RecipeTile_Web_175x210.png" %} + {% include menuItem.html name="Cheese Pizza" desc="A choice between thin or thick crust, topped with Mozzarella cheese." img="//www.pizzahut.com/assets/w/tile/thor/pizza_Cheese.png" %} + {% include menuItem.html name="Pepperoni Pizza" desc="A choice between thin or thick crust, baked with with pepperoni, paprika, and chili powder." img="//images.unsplash.com/photo-1534308983496-4fabb1a015ee?w=256" %} + {% include menuItem.html name="The Wax" desc="Topped with black olives, mushrooms, onions, and mozzarella cheese sprinkles." img="//www.pizzahut.com/assets/w/tile/thor/MeatLovers_RecipeTile_Web_175x210.png" %} + {% include menuItem.html name="Zucchini Pizza" desc="Topped with zucchini, marinara sauce, kosher salt, and shredded mozzarella." img="//www.seriouseats.com/thmb/QY7gRw1XBfuP9qDfKk84aP5m34s=/1500x844/smart/filters:no_upscale()/__opt__aboutcom__coeus__resources__content_migration__serious_eats__seriouseats.com__recipes__images__2015__07__20150702-zucchini-pizza-worth-eating-10-dfa07ad4eb9a4b648cb47853f2dd4acd.jpg" %} + {% include menuItem.html name="Buffalo Chicken Pizza" desc="Topped with grilled chicken breast, hot sauce, fresh onions, crust, and cheddar cheese." img="//cache.dominos.com/olo/6_58_0/assets/build/market/US/_en/images/img/products/larges/S_PIZBP.jpg" %} + {% include menuItem.html name="Build Your Own" desc="Build your dream pizza." img="//images.unsplash.com/photo-1565299624946-b28f40a0ae38?w=256" %}
{% include menuModal.html %}
+ + diff --git a/login.html b/login.html new file mode 100644 index 0000000..cdb5eac --- /dev/null +++ b/login.html @@ -0,0 +1,51 @@ +--- +layout: default +title: Login +container_class: col-xl-5 col-lg-6 col-sm-8 d-flex flex-column justify-content-center flex-grow-1 mt-2 +--- + + + + +
+ +

Sign in

+ + + + + + + +
+
+ +
+ + +
+
+ +
+ + + + + +

Not a member? + Register +

+ +
+ + + diff --git a/logout.html b/logout.html new file mode 100644 index 0000000..77891ca --- /dev/null +++ b/logout.html @@ -0,0 +1,41 @@ +--- +permalink: /logout +layout: default +title: Logout +container_class: col-xl-5 col-lg-6 col-sm-8 d-flex flex-column justify-content-center flex-grow-1 +--- + + + +
+ +

You've successfully signed out. See you next time!

+

Redirecting you to the home page in 3...

+
+ + diff --git a/register.html b/register.html new file mode 100644 index 0000000..54d382b --- /dev/null +++ b/register.html @@ -0,0 +1,57 @@ +--- +layout: default +title: Register +container_class: col-xl-5 col-lg-6 col-sm-8 d-flex flex-column justify-content-center flex-grow-1 mt-2 +--- + + + + +
+ +

Sign up

+ +
+
+ + +
+
+ + +
+
+ + + + + + + + At least 8 characters and 1 digit + + + + + + Optional - for two step authentication + + + + + + +

By clicking + Sign up you agree to our terms of service + {%- comment -%} terms of service {%- endcomment -%} +

+
+ + +