-
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.
formatted code and rewerote main.handlebars
- Loading branch information
1 parent
e59ac52
commit ff49530
Showing
8 changed files
with
90 additions
and
80 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
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
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
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,61 +1,72 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Travel Blog | stay connected</title> | ||
<link rel="stylesheet" href="/css/bulma.css"> | ||
<link rel="stylesheet" href="/css/style.css"> | ||
</head> | ||
<body class="is-flex-direction-column"> | ||
<header class="is-flex is-full"> | ||
<nav class="navbar is-full is-flex-direction-row is-justify-content-space-around is-align-items-center" role="navigation" aria-label="main navigation"> | ||
<div class="navbar-brand"> | ||
<a class="navbar-item" href="/"> | ||
<h1 class="is-size-3">Travel Blog</h1> | ||
</a> | ||
|
||
<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="navbarBasicExample"> | ||
<span aria-hidden="true"></span> | ||
<span aria-hidden="true"></span> | ||
<span aria-hidden="true"></span> | ||
</a> | ||
</div> | ||
|
||
<div id="navbarBasicExample" class="navbar-menu"> | ||
<div class="navbar-end"> | ||
<a class="navbar-item is-size-5" href="/"> | ||
home | ||
</a> | ||
|
||
<a class="navbar-item is-size-5" href="/dashboard"> | ||
dashboard | ||
</a> | ||
|
||
{{#if loggedIn}} | ||
<a class="navbar-item is-size-5"> | ||
<form method="post" action="/logout" class="inline"> | ||
<input type="hidden" name="extra_submit_param" value="extra_submit_value"> | ||
<button type="submit" name="logout" value="submit_value" class="link-button"> | ||
log out | ||
</button> | ||
</form> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Travel Blog | stay connected</title> | ||
<link rel="stylesheet" href="/css/bulma.css"> | ||
<link rel="stylesheet" href="/css/style.css"> | ||
</head> | ||
<body class="is-flex-direction-column"> | ||
<header class="is-flex is-full"> | ||
<nav | ||
class="navbar is-full is-flex-direction-row is-justify-content-space-around is-align-items-center" | ||
role="navigation" aria-label="main navigation"> | ||
<div class="navbar-brand"> | ||
<a class="navbar-item" href="/"> | ||
<h1 class="is-size-3">Travel Blog</h1> | ||
</a> | ||
{{else}} | ||
<a class="navbar-item is-size-5" href="/login"> | ||
log in | ||
|
||
<a role="button" class="navbar-burger" aria-label="menu" | ||
aria-expanded="false" data-target="navbarBasicExample"> | ||
<span aria-hidden="true"></span> | ||
<span aria-hidden="true"></span> | ||
<span aria-hidden="true"></span> | ||
</a> | ||
{{/if}} | ||
</div> | ||
|
||
<div id="navbarBasicExample" class="navbar-menu"> | ||
<div class="navbar-end"> | ||
<a class="navbar-item is-size-5" href="/"> | ||
home | ||
</a> | ||
|
||
<a class="navbar-item is-size-5" href="/dashboard"> | ||
dashboard | ||
</a> | ||
|
||
{{#if loggedIn}} | ||
<a class="navbar-item is-size-5"> | ||
<form method="post" action="/logout" class="inline"> | ||
<input type="hidden" name="extra_submit_param" | ||
value="extra_submit_value"> | ||
<button type="submit" name="logout" value="submit_value" | ||
class="link-button"> | ||
log out | ||
</button> | ||
</form> | ||
</a> | ||
{{else}} | ||
<a class="navbar-item is-size-5" href="/login"> | ||
log in | ||
</a> | ||
{{/if}} | ||
</div> | ||
</div> | ||
</nav> | ||
</header> | ||
<main class="is-flex is-flex-direction-column pt-5 column is-half"> | ||
{{{body}}} | ||
<div class="has-text-centered"> | ||
<img class="is-fullwidth" | ||
src="/public/img/clear-water-beaches-florida-2048x917.jpg" | ||
alt="travel blog image" aria-label="travel" display="block-like"> | ||
</div> | ||
</nav> | ||
</header> | ||
<main class="is-flex is-flex-direction-column pt-5 column is-half"> | ||
{{{body}}} | ||
<img src="/public/img/clear-water-beaches-florida-2048x917.jpg" alt="travel blog image"> | ||
</main> | ||
<script src="https://code.jquery.com/jquery-3.7.0.min.js"></script> | ||
<script type="module" src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.esm.js"></script> | ||
<script nomodule src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.js"></script> | ||
</body> | ||
</main> | ||
<script src="https://code.jquery.com/jquery-3.7.0.min.js"></script> | ||
<script type="module" | ||
src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.esm.js"></script> | ||
<script nomodule | ||
src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.js"></script> | ||
</body> | ||
</html> |