diff options
author | 2021-09-13 14:45:33 +0200 | |
---|---|---|
committer | 2021-09-13 14:45:33 +0200 | |
commit | 026674bc2c4eb5f53bcb38e7efce2fe2dfebe974 (patch) | |
tree | aeb8d5a884379b86597bc530f0375fc5dbe5357d /web/template/index.tmpl | |
parent | update my personal library versions (#220) (diff) | |
download | gotosocial-026674bc2c4eb5f53bcb38e7efce2fe2dfebe974.tar.xz |
Thread views on the web (#207)
* Webviews for status threads
* fix up templates
* add ForkAwesome and gotosocial-styling into repo
* clean up gotosocial-styling, old styling
* update CONTRIBUTING with new css building, and nodemon recommendation
* update Dockerfile with new css bundling
* those weren't supposed to make it in
* upgrade gotosocial-styling deps
* update authorize template with main wrapper
* update css pipeline
* abstract status from thread to avoid copy-pasting
* basic CW implementation
* fix PR review suggestions
* fix no-image-desc icon alignment
* remove template loading println
* remove println
* remove changes to testmodels
* reset changes to testmodels
Diffstat (limited to 'web/template/index.tmpl')
-rw-r--r-- | web/template/index.tmpl | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/web/template/index.tmpl b/web/template/index.tmpl index 6751c9bd2..52581d3aa 100644 --- a/web/template/index.tmpl +++ b/web/template/index.tmpl @@ -1,40 +1,40 @@ {{ template "header.tmpl" .}} -<div class="left logo"> - <img src="/assets/sloth.png" alt="Clipart styled sloth logo"> -</div> -<section> - <h1>Home to <span class="count">{{.instance.Stats.user_count}}</span> users - who posted <span class="count">{{.instance.Stats.status_count}}</span> statuses, - federating with <span class="count">{{.instance.Stats.domain_count}}</span> other instances.</h1> - <div className="short-description"> - {{.instance.ShortDescription |noescape}} - </div> -</section> +<main class="lightgray"> -<section class="apps"> - <p> - GoToSocial does not provide its own frontend, but implements the Mastodon client API. - You can use this server through a variety of clients: - </p> - <div class="applist"> - <div class="entry"> - <svg class="logo redraw" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10000 10000"> - <path d="M9212 5993H5987V823c1053 667 2747 2177 3225 5170zM3100 2690A12240 12240 0 01939 6035h2161zm676 7210h2448a3067 3067 0 003067-3067H5052V627a527 527 0 00-1052 0v6206H709a3067 3067 0 003067 3067z"></path> - </svg> - <div> - <h2>Pinafore</h2> - <p>Pinafore is a web client designed for speed and simplicity.</p> - <a class="button" href="https://pinafore.social/settings/instances/add">Use Pinafore</a> - </div> + <section> + <h1>Home to <span class="count">{{.instance.Stats.user_count}}</span> users + who posted <span class="count">{{.instance.Stats.status_count}}</span> statuses, + federating with <span class="count">{{.instance.Stats.domain_count}}</span> other instances.</h1> + <div className="short-description"> + {{.instance.ShortDescription |noescape}} </div> - <div class="entry"> - <img class="logo" src="/assets/tusky.svg" alt="The Tusky mascot, a cartoon elephant tooting happily"/> - <div> - <h2>Tusky</h2> - <p>Tusky is a lightweight mobile client for Android</p> - <a class="button" href="https://tusky.app">Get Tusky</a> + </section> + + <section class="apps"> + <p> + GoToSocial does not provide its own frontend, but implements the Mastodon client API. + You can use this server through a variety of clients: + </p> + <div class="applist"> + <div class="entry"> + <svg class="logo redraw" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10000 10000"> + <path d="M9212 5993H5987V823c1053 667 2747 2177 3225 5170zM3100 2690A12240 12240 0 01939 6035h2161zm676 7210h2448a3067 3067 0 003067-3067H5052V627a527 527 0 00-1052 0v6206H709a3067 3067 0 003067 3067z"></path> + </svg> + <div> + <h2>Pinafore</h2> + <p>Pinafore is a web client designed for speed and simplicity.</p> + <a class="button" href="https://pinafore.social/settings/instances/add">Use Pinafore</a> + </div> + </div> + <div class="entry"> + <img class="logo" src="/assets/tusky.svg" alt="The Tusky mascot, a cartoon elephant tooting happily"/> + <div> + <h2>Tusky</h2> + <p>Tusky is a lightweight mobile client for Android</p> + <a class="button" href="https://tusky.app">Get Tusky</a> + </div> </div> </div> - </div> -</section> + </section> +</main> {{ template "footer.tmpl" .}}
\ No newline at end of file |