summaryrefslogtreecommitdiff
path: root/views/partials/header.ejs
blob: c73cc47f6c45c1152a324c8e80a842d96467d4e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<a href="/" class="logo"><img src="/assets/img/logo4.svg"></a>

<span class="topLinks">
[[ if (logged_in) { ]]
	<a href="/builder" class="topLink">Layouts</a>
	<a href="/editor" class="topLink">Projects</a>
	[[ if (profile && String(user._id) == String(profile._id)) { ]]
	<a href="/profile" data-role="edit-profile-modal" class="topLink editProfile">Edit Profile <span class="icon-ios7-gear-outline"></span></a>
	[[ } else if (! profile) { ]]
	<a href="/profile" class="topLink">Profile</a>
	[[ } ]]
[[ } else { ]]
	<a href="#" data-role="show-signup-modal" class="signUp topLink">Sign Up</a>
	<a href="#" data-role="show-signin-modal" class="signIn topLink">Sign In</a>
[[ } ]]
</span>