commit f56663164536e45c17c4fe3ecde74adc014cd3d5
parent 780ebf5dd8c9bf2ee10ead9acf6c7c6a2cbee85b
Author: Asher Morgan <59518073+ashermorgan@users.noreply.github.com>
Date: Sat, 31 May 2025 10:26:49 -0700
Add link to git repository on about page
Diffstat:
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/package.json b/package.json
@@ -2,6 +2,10 @@
"name": "running-tools",
"version": "1.4.1",
"description": "A collection of tools for runners and their coaches that calculate splits, predict race times, convert units, and more",
+ "repository": {
+ "type": "git",
+ "url": "git+https://git.ashermorgan.net/running-tools/"
+ },
"private": true,
"type": "module",
"scripts": {
diff --git a/src/views/AboutPage.vue b/src/views/AboutPage.vue
@@ -1,7 +1,8 @@
<template>
<div class="about-page">
<p>
- Running Tools is an open source collection of tools for runners and their coaches.
+ Running Tools is an <a :href="git_url">open source</a> collection of tools for runners
+ and their coaches.
All calculations are performed locally on your device.
This is Running Tools version {{ version }}{{ development ? ' (dev)' : '' }}.
</p>
@@ -161,11 +162,12 @@
</template>
<script setup>
-import { version } from '/package.json';
+import { repository, version } from '/package.json';
import VueFeather from 'vue-feather';
const development = process.env.NODE_ENV === 'development';
+const git_url = repository.url.slice(4);
</script>
<style scoped>