diff options
| author | Terry Truong <terry06890@gmail.com> | 2023-01-28 17:48:41 +1100 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2023-01-28 17:48:41 +1100 |
| commit | 0d8eba5548db35d13cda6d4632786afba6140e1e (patch) | |
| tree | 679f5e1f0c187c8edc668530fd695f9b45dafee0 | |
| parent | 3b397ecf5b061797f4e16ab30d204055912b81e8 (diff) | |
Finalise for version 0.9
Add github and license links
Add meta tags and image
| -rw-r--r-- | README.md | 4 | ||||
| -rw-r--r-- | index.html | 14 | ||||
| -rw-r--r-- | package.json | 2 | ||||
| -rw-r--r-- | public/chrona.jpg | bin | 0 -> 200216 bytes | |||
| -rw-r--r-- | src/components/HelpModal.vue | 9 | ||||
| -rw-r--r-- | src/store.ts | 2 |
6 files changed, 25 insertions, 6 deletions
@@ -1,7 +1,7 @@ # Chrona An interactive historical timeline. -Available online. +[Available online](https://terryt.dev/chrona/). ## Project Overview @@ -74,4 +74,4 @@ instructions for deployment on an Apache server on an Ubuntu system. ## Licence -Chrona is licensed under the MIT Licence. +Chrona is licensed under the [MIT Licence](https://github.com/terry06890/chrona/blob/main/LICENCE.txt). @@ -4,8 +4,22 @@ <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Chrona: Interactive Historical Timeline</title> + <meta name="title" content="Chrona: Interactive Historial Timeline"> + <meta name="description" content="An online tool for visually exploring historical events"> <link rel="icon" href="/favicon.png" /> <link rel="preload" href="/font/Ubuntu-Regular.woff2" as="font" type="font/woff2" crossorigin/> + <!-- Meta tags for Open Graph / Facebook --> + <meta property="og:type" content="website"> + <meta property="og:url" content="https://terryt.dev/chrona/"> + <meta property="og:title" content="Chrona: Interactive Historial Timeline"> + <meta property="og:description" content="An online tool for visually exploring historical events"> + <meta property="og:image" content="https://terryt.dev/chrona/chrona.jpg"> + <!-- Meta tags for Twitter --> + <meta property="twitter:card" content="summary_large_image"> + <meta property="twitter:url" content="https://terryt.dev/chrona/"> + <meta property="twitter:title" content="Chrona: Interactive Historial Timeline"> + <meta property="twitter:description" content="An online tool for visually exploring historical events"> + <meta property="twitter:image" content="https://terryt.dev/chrona/chrona.jpg"> </head> <body style="touch-action: none"> <div id="app"></div> diff --git a/package.json b/package.json index b135899..b758219 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "chrona", "private": true, - "version": "0.1.0", + "version": "0.9.0", "description": "An interactive historical timeline", "scripts": { "dev": "vite", diff --git a/public/chrona.jpg b/public/chrona.jpg Binary files differnew file mode 100644 index 0000000..0ccb5f3 --- /dev/null +++ b/public/chrona.jpg diff --git a/src/components/HelpModal.vue b/src/components/HelpModal.vue index e00a49f..5dc9ff3 100644 --- a/src/components/HelpModal.vue +++ b/src/components/HelpModal.vue @@ -146,7 +146,12 @@ </template> <template #content> <div :class="contentClasses"> - <p>The source code is available on GitHub, under the MIT Licence.</p> + <p> + The source code is available on + <a href="https://github.com/terry06890/chrona" :style="aStyles">GitHub</a>, under the + <a href="https://github.com/terry06890/tilo/blob/main/LICENCE.txt" + :style="aStyles">MIT Licence</a> + </p> <br/> <h1 :class="contentH1Classes">Data Sources</h1> <ul :class="contentULClasses"> @@ -287,7 +292,7 @@ </s-collapsible> </div> <p class="text-right text-xs md:text-sm text-stone-500 pr-2 pb-2"> - Last updated 22/01/23 + Last updated 28/01/23 </p> </div> </div> diff --git a/src/store.ts b/src/store.ts index ae6aa63..b0f9460 100644 --- a/src/store.ts +++ b/src/store.ts @@ -104,7 +104,7 @@ function getDefaultState(): StoreState { tickLen: 16, largeTickLen: 32, endTickSz: 8, - tickLabelHeight: 10, + tickLabelHeight: 18, minTickSep: 30, minLastTicks: 3, defaultEndTickOffset: breakpoint == 'sm' ? 0.2 : 0.5, |
