1
0
Fork 0
mirror of https://github.com/Lynnesbian/FediBooks/ synced 2024-11-25 16:48:58 +00:00

clean up front page

This commit is contained in:
Lynne Megido 2019-08-29 11:15:15 +10:00
parent 7c45dcc2f8
commit 994b88ec5e
3 changed files with 56 additions and 9 deletions

5
templates/footer.html Normal file
View file

@ -0,0 +1,5 @@
<footer>
<div class='subtle'>
<p>Website design and FediBooks program by <a href='https://fedi.lynnesbian.space/@LynnearSoftware'>Lynne</a>. This site uses <a href="https://fontawesome.com">Font Awesome</a>. Source code available <a href="https://github.com/Lynnesbian/Fedibooks">here</a>.</p>
</div>
</footer>

View file

@ -6,11 +6,11 @@
{% include 'imports.html' %} {% include 'imports.html' %}
</head> </head>
<body> <body>
<div class="container"> <div class="container light">
<h1 class='thin centred'>FediBooks</h1> <h1 class='thin centred'>FediBooks</h1>
<p class="centred large">Easily create your own Mastodon/Pleroma ebooks bot from your browser. No coding required.</p> <p class="centred large">Easily create your own Mastodon/Pleroma ebooks bot from your browser. No coding required.</p>
<p class="centred"> <p class="centred" style="margin: 50px 0;">
<a class="button btn-primary btn-large" href="/login" role="button"><i class="fas fa-play"></i> Get started</a> <a class="button btn-primary btn-large" href="/welcome" role="button"><i class="fas fa-play"></i> Get started</a>
<br> <br>
<a class="button btn-secondary" href="https://github.com/Lynnesbian/FediBooks" role="button"><i class="fas fa-code"></i> Source code</a> <a class="button btn-secondary" href="https://github.com/Lynnesbian/FediBooks" role="button"><i class="fas fa-code"></i> Source code</a>
</p> </p>
@ -40,11 +40,6 @@
<a class="button btn-primary" href="https://paypal.me/Lynnesbian" role="button"><i class="fab fa-paypal"></i> PayPal</a> <a class="button btn-primary" href="https://paypal.me/Lynnesbian" role="button"><i class="fab fa-paypal"></i> PayPal</a>
<a class="button btn-primary" href="https://ko-fi.com/Lynnesbian" role="button"><i class="fas fa-coffee"></i> Ko-fi</a> <a class="button btn-primary" href="https://ko-fi.com/Lynnesbian" role="button"><i class="fas fa-coffee"></i> Ko-fi</a>
</div> </div>
{% include 'footer.html' %}
<footer>
<div class='subtle'>
<p>Website design and FediBooks program by <a href='https://fedi.lynnesbian.space/@LynnearSoftware'>Lynne</a>. This site uses <a href="https://fontawesome.com">Font Awesome</a>. Source code available <a href="https://github.com/Lynnesbian/Fedibooks">here</a>.</p>
</div>
</footer>
</body> </body>
</html> </html>

47
templates/login.html Normal file
View file

@ -0,0 +1,47 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>FediBooks</title>
{% include 'imports.html' %}
</head>
<body>
<div class="container">
<h1 class="display-3 centred">Welcome!</h1>
</div>
<div class="container">
<div class="row">
<div class="col">
<div class="card">
<h5 class="card-header">Login</h5>
<div class="card-body">
<form>
<label for="email">Email</label><br>
<input type="email" class="form-control" name="email">
<label for="password">Password</label><br>
<input type="password" class="form-control" name="password">
</form>
</div>
</div>
</div>
<div class="col">
<div class="card">
<h5 class="card-header">Create account</h5>
<div class="card-body">
<form>
<label for="email">Email</label><br>
<input type="email" class="form-control" name="email">
<label for="password">Password</label><br>
<input type="password" class="form-control" name="password">
</form>
</div>
</div>
</div>
</div>
<hr />
</div>
</body>
</html>