Compare commits
No commits in common. "d98c208df9dc12976f76d7e1d9516e6536b34ff6" and "1ff7fc454f53f134215072546b9cc3d9a38a99c8" have entirely different histories.
d98c208df9
...
1ff7fc454f
@ -40,7 +40,7 @@ define('DB_NAME', 'your db name');
|
||||
3. Start an local web server
|
||||
- You can use php's integrated server by running this:
|
||||
```bash
|
||||
php -S localhost:8000 -t ./public
|
||||
php -S localhost:8000
|
||||
```
|
||||
- You can use any host and any port you want.
|
||||
|
||||
|
@ -2,10 +2,7 @@
|
||||
|
||||
<section class="dashboard">
|
||||
<h1>Welcome, <?= htmlspecialchars($_SESSION['user']['username']) ?>!</h1>
|
||||
<div>
|
||||
<a href="/habits/create" class="btn-green">Create new habit!</a>
|
||||
<a href="/habits" class="btn-primary">List all habits</a>
|
||||
</div>
|
||||
<a href="/habits/create" class="btn-primary">Create new habit!</a>
|
||||
<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" class="btn-secondary">Sign out</a>
|
||||
<a href="/auth/logout">Sign out</a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</header>
|
||||
|
@ -17,11 +17,8 @@ h1 {
|
||||
}
|
||||
|
||||
.btn-primary,
|
||||
.btn-secondary,
|
||||
.btn-tertiary,
|
||||
.btn-green,
|
||||
.btn-danger {
|
||||
background-color: var(--clr-primary);
|
||||
background-color: var(--clr-green);
|
||||
padding: .5rem;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
@ -29,19 +26,7 @@ h1 {
|
||||
border: var(--borderWidth-thin) solid var(--clr-border);
|
||||
}
|
||||
|
||||
.btn-secondary {
|
||||
background-color: var(--clr-secondary);
|
||||
}
|
||||
|
||||
.btn-tertiary {
|
||||
background-color: var(--clr-tertiary);
|
||||
}
|
||||
|
||||
.btn-green {
|
||||
background-color: var(--clr-green);
|
||||
}
|
||||
|
||||
.btn-danger {
|
||||
background-color: var(--clr-danger-muted);
|
||||
background-color: var(--clr-danger-muted) !important;
|
||||
border: var(--borderWidth-thin) solid var(--clr-border-danger);
|
||||
}
|
||||
|
@ -7,11 +7,6 @@
|
||||
--clr-danger-muted: #f851491a;
|
||||
|
||||
--clr-link-blue: #4493f8;
|
||||
--clr-light-blue: #39a2ae;
|
||||
--clr-light-green: #71f79f;
|
||||
--clr-red: #9b1d20;
|
||||
--clr-orange: #e08e45;
|
||||
--clr-gray-blue: #627c85;
|
||||
|
||||
--border-radious: 5px;
|
||||
--borderWidth-thin: max(1px, 0.0625rem);
|
||||
|
Loading…
Reference in New Issue
Block a user