summaryrefslogtreecommitdiff
path: root/views/home.handlebars
diff options
context:
space:
mode:
authorRaphael <mail@raphaelkabo.com>2024-05-26 19:12:37 +0100
committerGitHub <noreply@github.com>2024-05-26 19:12:37 +0100
commit43296cd88b9ab6f3ba1d5f4de5f76f44b68de82a (patch)
tree9738de17d2be368ffc95f90644dbf98220c2a136 /views/home.handlebars
parent53288fa3df3f828e99eaba679d436e65def2deb4 (diff)
parent4ce9c7d32fd834ff1dc87b7dd90f7428ad0eb44d (diff)
Merge pull request #138 from lowercasename/rk/style-overhaul
Style overhaul
Diffstat (limited to 'views/home.handlebars')
-rwxr-xr-xviews/home.handlebars24
1 files changed, 11 insertions, 13 deletions
diff --git a/views/home.handlebars b/views/home.handlebars
index 7b4608a..0d294d3 100755
--- a/views/home.handlebars
+++ b/views/home.handlebars
@@ -1,19 +1,17 @@
<main class="page">
-<p class="lead">Gathio is a simple, federated, privacy-first event hosting platform.</p>
+<h2 class="mb-3 pb-2 text-center border-bottom">About {{siteName}}</h2>
-<div class="card mb-3 border-primary">
-<div class="card-header">
- This instance, <strong>{{siteName}}</strong>, has the following features:
-</div>
+{{#if instanceDescription}}
+ <div class="instance-description mb-4">
+ {{{instanceDescription}}}
+ </div>
+{{/if}}
-<div class="card-body m-0 p-0">
- <ul class="list-group list-group-flush">
- {{#each instanceRules}}
- <li class="list-group-item"><i class="{{this.icon}} fa-fw mr-2"></i> {{this.text}}</li>
- {{/each}}
- </ul>
-</div>
-</div>
+{{> instanceRules }}
+
+<h2 class="mb-3 mt-5 pb-2 text-center border-bottom">About Gathio</h2>
+
+<p class="lead text-center">Gathio is a simple, federated, privacy-first event hosting platform.</p>
<div id="example-event" class="text-center w-100 mt-4 mb-5">
<img alt ="An example event page for a picnic. The page shows the event's location, host, date and time, and description, as well as buttons to save the event to Google Calendar, export it, and open the location in OpenStreetMap and Google Maps." src="images/example-event-2023.png" class="img-fluid w-75 mx-auto shadow-lg rounded">