diff options
author | Raphael Kabo <raphaelkabo@gmail.com> | 2022-01-14 18:14:32 +0000 |
---|---|---|
committer | Raphael Kabo <raphaelkabo@gmail.com> | 2022-01-14 18:14:32 +0000 |
commit | e41eb4b13a9007ee7238e5973d61e6597c3c2fcb (patch) | |
tree | a26d99556f19b04c0d545ff444c9ac51bbcc61c9 | |
parent | d5813e84e7178c95f41c1be86e52513f027e2843 (diff) |
Remove unnecessary bits from main pages
-rw-r--r-- | config/domain-example.js | 4 | ||||
-rwxr-xr-x | views/home.handlebars | 8 | ||||
-rwxr-xr-x | views/layouts/main.handlebars | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/config/domain-example.js b/config/domain-example.js index 9b672aa..19c797a 100644 --- a/config/domain-example.js +++ b/config/domain-example.js @@ -7,5 +7,7 @@ module.exports = { 'sitename': 'gathio', 'isFederated': true, // If left blank, this defaults to https://yourdomain.com/images/gathio-email-logo.gif. Set a full URL here to change it to your own logo (or just change the file itself) - 'logo_url': '' + 'logo_url': '', + // Show a Ko-Fi box to donate money to Raphael Kabo (Gathio's creator) on the front page + 'showKofi': false, }; diff --git a/views/home.handlebars b/views/home.handlebars index cc31756..af05600 100755 --- a/views/home.handlebars +++ b/views/home.handlebars @@ -1,8 +1,4 @@ -<h1>{{siteName}}</h1> - -<p class="lead"> - <strong>gath<span class="text-muted">io</span></strong> is a quick and easy way to make and share events which respects your privacy. -</p> +<p class="lead">A quick and easy way to make and share events which respects your privacy.</p> <hr> @@ -16,9 +12,11 @@ <p>But remember: all our events are visible to anyone who knows the link, so probably don't use <strong>gath<span class="text-muted">io</span></strong> to plot your surprise birthday party or revolution. Or whatever, you do you.</p> +{{#if showKofi}} <div class="card border-secondary mt-5 mb-3 mx-auto" style="min-width:300px;max-width:50%;"> <div class="card-body text-secondary"> <p>If you find yourself using and enjoying <strong>gath<span class="text-muted">io</span></strong>, consider buying me a coffee. It'll help keep the site running! <i class="far fa-heart"></i></p> <script type='text/javascript' src='https://ko-fi.com/widgets/widget_2.js'></script><script type='text/javascript'>kofiwidget2.init('Support Me on Ko-fi', '#46b798', 'Q5Q2O7T5');kofiwidget2.draw();</script> </div> </div> +{{/if}} diff --git a/views/layouts/main.handlebars b/views/layouts/main.handlebars index aafa5de..a27059a 100755 --- a/views/layouts/main.handlebars +++ b/views/layouts/main.handlebars @@ -51,6 +51,7 @@ <script src="/js/i18n/datepicker.en.js"></script> <script src="/js/select2.min.js"></script> <script src="/js/moment-timezone.js"></script> + <script src="https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.js"></script> </head> @@ -66,8 +67,7 @@ </div> <div id="footerContainer"> <small class="text-muted"> - <a href="https://github.com/lowercasename/gathio">GitHub</a> · Made with <i class="far fa-heart"></i> by <a href="https://raphaelkabo.com">Raphael</a> · Need help? <a href="mailto:{{email}}">Email us</a>.<br /> - If you like gathio, you might like <strong><a href="https://sweet.sh/" style="color:#ed5e5e;">sweet</a></strong>, my utopian social network. + <a href="https://github.com/lowercasename/gathio">GitHub</a> · Made with <i class="far fa-heart"></i> by <a href="https://raphaelkabo.com">Raphael</a>.<br /> </small> </div> </div> |