Add call to actions

This commit is contained in:
Jay Trees 2022-02-22 10:10:14 +01:00
parent 5d8b1b788a
commit 0cc10da186

View file

@ -1,7 +1,7 @@
<?php <?php
/** /**
* home.php * The home page.
* *
* @author Jay Trees <github.jay@grandel.anonaddy.me> * @author Jay Trees <github.jay@grandel.anonaddy.me>
*/ */
@ -23,9 +23,17 @@ $page->navigation();
wishthis is a simple, intuitive and modern platform to create, wishthis is a simple, intuitive and modern platform to create,
manage and view your wishes for any kind of occasion. manage and view your wishes for any kind of occasion.
</p> </p>
<p> <?php if ($user->isLoggedIn()) { ?>
Go ahead and get started now and <a href="/?page=wishlist-create">create a wishlist</a>! <p>
</p> <a class="ui primary button" href="/?page=wishlist-create">Create a wishlist</a>
<a class="ui button" href="/?page=wishlist-view">View your wishlists</a>
</p>
<?php } else { ?>
<p>
<a class="ui primary button" href="/?page=register">Register now</a>
<a class="ui button" href="/?page=login">Login</a>
</p>
<?php } ?>
<h2 class="ui header">Use case</h2> <h2 class="ui header">Use case</h2>
<p> <p>