Edited: Dashboard links and global button styles, added new color variables
This commit is contained in:
@ -2,7 +2,10 @@
|
||||
|
||||
<section class="dashboard">
|
||||
<h1>Welcome, <?= htmlspecialchars($_SESSION['user']['username']) ?>!</h1>
|
||||
<a href="/habits/create" class="btn-primary">Create new habit!</a>
|
||||
<div>
|
||||
<a href="/habits/create" class="btn-green">Create new habit!</a>
|
||||
<a href="/habits" class="btn-primary">List all habits</a>
|
||||
</div>
|
||||
<div class="card-wrapper">
|
||||
<section class="card upcoming">
|
||||
<h2>Upcoming</h2>
|
||||
|
@ -24,7 +24,7 @@
|
||||
<a href="/auth/signin">Log In</a>
|
||||
<a href="/auth/signup">Sign Up</a>
|
||||
<?php else: ?>
|
||||
<a href="/auth/logout">Sign out</a>
|
||||
<a href="/auth/logout" class="btn-secondary">Sign out</a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</header>
|
||||
|
Reference in New Issue
Block a user