mirror of
https://github.com/len0rd/personal-website.git
synced 2025-09-05 22:03:50 -04:00
start on recipe section. doesnt look right yet
This commit is contained in:
parent
01b5ae06ac
commit
cc054470a7
11 changed files with 206 additions and 499 deletions
|
@ -19,7 +19,7 @@
|
|||
</div>
|
||||
|
||||
<%- include('../partials/footer') %>
|
||||
<%- include('../partials/post_html_include') %>
|
||||
<%- include('../partials/post_html_include') %>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
29
views/pages/recipe_navigator.ejs
Normal file
29
views/pages/recipe_navigator.ejs
Normal file
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<%- include('../partials/include' ) %>
|
||||
<link rel="stylesheet" type="text/css" href="/css/projects.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<%- include('../partials/nav') %>
|
||||
</header>
|
||||
|
||||
<div class="container mt-5">
|
||||
<div class="topMargin">
|
||||
<h1>Recipes</h1>
|
||||
<div class="list-group">
|
||||
<a href="recipes/chocolateChipCookies" class="list-group-item list-group-item-action">Chocolate Chip Cookies</a>
|
||||
<a href="#" class="list-group-item list-group-item-action">Morbi leo risus</a>
|
||||
<a href="#" class="list-group-item list-group-item-action">Porta ac consectetur ac</a>
|
||||
<a href="#" class="list-group-item list-group-item-action">Vestibulum at eros</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%- include('../partials/post_html_include') %>
|
||||
</body>
|
||||
|
||||
</html>
|
32
views/pages/recipes/recipe_template.ejs
Normal file
32
views/pages/recipes/recipe_template.ejs
Normal file
|
@ -0,0 +1,32 @@
|
|||
<% var rootPath = '../../'; %>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<%- include(rootPath + 'partials/include' ) %>
|
||||
<link rel="stylesheet" type="text/css" href="/css/projects.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<%- include(rootPath + 'partials/nav') %>
|
||||
</header>
|
||||
|
||||
<div class="container mt-5">
|
||||
<div class="row">
|
||||
<%- include(rootPath + page) %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%- include(rootPath + 'partials/footer') %>
|
||||
<%- include(rootPath + 'partials/post_html_include') %>
|
||||
<script type="text/javascript" src="/script/dynamicscrollspy.min.js"></script>
|
||||
<script>
|
||||
$('#scrollBar').DynamicScrollspy({
|
||||
ulClassNames: 'navbar navbar-light bg-light sticky-top sticky-offset'
|
||||
});
|
||||
</script>
|
||||
|
||||
<%- include(rootPath + 'partials/post_html_include') %>
|
||||
</body>
|
||||
</html>
|
|
@ -12,7 +12,7 @@
|
|||
<a class="nav-link" href="https://home.lenord.me/lovelace-rooms">Home Assistant</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="https://github.com/len0rd">Github</a>
|
||||
<a class="nav-link" href="/recipe_navigator">Recipes</a>
|
||||
</li>
|
||||
</ul>
|
||||
<a href="/contact" class="btn btn-outline-light my-2 my-sm-0">Contact</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue