Fixes links and typo in README

This commit is contained in:
Óscar M. Lage 2024-12-05 14:32:39 +01:00
parent b30400c288
commit 41179da871
2 changed files with 6 additions and 6 deletions

View File

@ -8,7 +8,7 @@ Wrapped tool for the guys living in a b&w world.
Copy the `env.sample` in `.env` and set up the variables: Copy the `env.sample` in `.env` and set up the variables:
```sh ```sh
$ cp env.sample .env $ cp env-sample .env
``` ```
```ini ```ini

View File

@ -1,7 +1,7 @@
{{ template "header.html" . }} {{ template "header.html" . }}
<h1 class="text-xl text-center text-blue-400 cursor-pointer hover:text-blue-600 mb-8"> <h1 class="text-xl text-center text-blue-400 cursor-pointer hover:text-blue-600 mb-8">
<a href="{{.baseURL}}/{{.uniqueID}}" id="share-url">{{.baseURL}}/{{.uniqueID}}</a> <a href="{{.baseURL}}/results/{{.uniqueID}}" id="share-url">{{.baseURL}}/{{.uniqueID}}</a>
</h1> </h1>
<h2 class="text-4xl sm:text-3xl font-semibold text-center text-gray-100 mb-6"> <h2 class="text-4xl sm:text-3xl font-semibold text-center text-gray-100 mb-6">
@ -54,21 +54,21 @@
<div class="mt-8 flex justify-center space-x-4"> <div class="mt-8 flex justify-center space-x-4">
<a <a
href="https://twitter.com/intent/tweet?text=Wrappd.sh:%20check%20out%20my%20command%20stats!&url={{.baseURL}}/{{.uniqueID}}" href="https://twitter.com/intent/tweet?text=Wrappd.sh:%20check%20out%20my%20command%20stats!&url={{.baseURL}}/results/{{.uniqueID}}"
target="_blank" target="_blank"
class="bg-blue-600 hover:bg-blue-700 text-white py-2 px-4 rounded-lg transition duration-200">Share on Twitter</a> class="bg-blue-600 hover:bg-blue-700 text-white py-2 px-4 rounded-lg transition duration-200">Share on Twitter</a>
<a <a
href="https://{{.mastodon}}/share?text=Wrappd.sh:%20check%20out%20my%20command%20stats!%20{{.baseURL}}/{{.uniqueID}}" href="https://{{.mastodon}}/share?text=Wrappd.sh:%20check%20out%20my%20command%20stats!%20{{.baseURL}}/results/{{.uniqueID}}"
target="_blank" target="_blank"
class="bg-blue-600 hover:bg-blue-700 text-white py-2 px-4 rounded-lg transition duration-200">Share on Mastodon</a> class="bg-blue-600 hover:bg-blue-700 text-white py-2 px-4 rounded-lg transition duration-200">Share on Mastodon</a>
<a <a
href="https://bsky.app/share?text=Wrappd.sh:%20check%20out%20my%20command%20stats!%20{{.baseURL}}/{{.uniqueID}}" href="https://bsky.app/share?text=Wrappd.sh:%20check%20out%20my%20command%20stats!%20{{.baseURL}}/results/{{.uniqueID}}"
target="_blank" target="_blank"
class="bg-blue-600 hover:bg-blue-700 text-white py-2 px-4 rounded-lg transition duration-200">Share on Bluesky</a> class="bg-blue-600 hover:bg-blue-700 text-white py-2 px-4 rounded-lg transition duration-200">Share on Bluesky</a>
<a <a
href="https://www.linkedin.com/sharing/share-offsite/?url={{.baseURL}}/{{.uniqueID}}" target="_blank" class="bg-blue-600 hover:bg-blue-700 text-white py-2 px-4 rounded-lg transition duration-200">Share on LinkedIn</a> href="https://www.linkedin.com/sharing/share-offsite/?url={{.baseURL}}/results/{{.uniqueID}}" target="_blank" class="bg-blue-600 hover:bg-blue-700 text-white py-2 px-4 rounded-lg transition duration-200">Share on LinkedIn</a>
</div> </div>
{{ template "footer.html" . }} {{ template "footer.html" . }}