aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-07-12 21:42:57 +1000
committerTerry Truong <terry06890@gmail.com>2022-07-12 21:42:57 +1000
commit41008058eecaf03af1feb2a42a2b801ce12fb890 (patch)
treecb76287fd2429829d7dc709db7a8db67246dcbcf
parent9e5947680addb448ce844814fb480daeb45142ef (diff)
Finalise for version 1.0.0v1.0.0
-rw-r--r--index.html2
-rw-r--r--package.json2
-rw-r--r--public/font/Ubuntu-Regular.woff2 (renamed from public/fonts/Ubuntu-Regular.woff2)bin114860 -> 114860 bytes
-rw-r--r--public/tilo.jpgbin289593 -> 288246 bytes
-rw-r--r--src/components/TileInfoModal.vue5
-rw-r--r--src/index.css2
6 files changed, 6 insertions, 5 deletions
diff --git a/index.html b/index.html
index 5d08ef3..c9584f3 100644
--- a/index.html
+++ b/index.html
@@ -6,7 +6,7 @@
<title>Tilo: Interactive Tree of Life</title>
<meta name="description" content="An online tool for visually exploring the biological Tree of Life"/>
<link rel="icon" href="/favicon.png" />
- <link rel="preload" href="/fonts/Ubuntu-Regular.woff2" as="font" type="font/woff2" crossorigin/>
+ <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/tilo/">
diff --git a/package.json b/package.json
index f20f11e..15bb4e0 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "tilo",
"private": true,
- "version": "0.0.0",
+ "version": "1.0.0",
"description": "A visual explorer for the biological Tree of Life",
"scripts": {
"dev": "vite",
diff --git a/public/fonts/Ubuntu-Regular.woff2 b/public/font/Ubuntu-Regular.woff2
index 667cebb..667cebb 100644
--- a/public/fonts/Ubuntu-Regular.woff2
+++ b/public/font/Ubuntu-Regular.woff2
Binary files differ
diff --git a/public/tilo.jpg b/public/tilo.jpg
index 6595d7d..41288d0 100644
--- a/public/tilo.jpg
+++ b/public/tilo.jpg
Binary files differ
diff --git a/src/components/TileInfoModal.vue b/src/components/TileInfoModal.vue
index ca224bf..db7dd4f 100644
--- a/src/components/TileInfoModal.vue
+++ b/src/components/TileInfoModal.vue
@@ -43,11 +43,12 @@
:target="imgInfos[idx]!.url != '' ? '_blank' : ''" class="block w-fit mx-auto">
<div :style="getImgStyles(nodes[idx])"/>
</a>
- <s-collapsible class="text-sm text-center max-w-full md:max-w-[200px] mx-auto">
+ <s-collapsible class="text-sm text-center w-fit max-w-full md:max-w-[200px] mx-auto">
<template v-slot:summary="slotProps">
<div class="py-1 hover:underline">
<down-icon class="inline-block w-4 h-4 mr-1 transition-transform duration-300"
- :class="{'-rotate-90': slotProps.open}"/>Image Source
+ :class="{'-rotate-90': slotProps.open}"/>
+ Image Source
</div>
</template>
<template v-slot:content>
diff --git a/src/index.css b/src/index.css
index 855e9f0..8e8b70f 100644
--- a/src/index.css
+++ b/src/index.css
@@ -97,7 +97,7 @@
/* Other */
@font-face {
font-family: Ubuntu;
- src: url('/fonts/Ubuntu-Regular.woff2');
+ src: url('/font/Ubuntu-Regular.woff2');
}
body {
font-family: Ubuntu, system-ui, sans-serif;