From 4a469f8f6fab97d591929933b8cc73085955ab25 Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Sun, 27 Mar 2022 08:30:45 +1100
Subject: Move svg details to index.html

---
 src/components/TileImg.vue | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

(limited to 'src/components/TileImg.vue')

diff --git a/src/components/TileImg.vue b/src/components/TileImg.vue
index 849be8c..00cc2e6 100644
--- a/src/components/TileImg.vue
+++ b/src/components/TileImg.vue
@@ -98,12 +98,8 @@ export default defineComponent({
 	<h1 :style="headerStyles">{{layoutNode.tolNode.name}}</h1>
 	<svg :style="infoIconStyles" class="hover:cursor-pointer"
 		@mouseenter="onInfoMouseEnter" @mouseleave="onInfoMouseLeave"
-		@click.stop="onInfoClick" @mousedown.stop @mouseup.stop
-		xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"
-		stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
-		<circle cx="12" cy="12" r="10"/>
-		<line x1="12" y1="16" x2="12" y2="12"/>
-		<line x1="12" y1="8" x2="12.01" y2="8"/>
+		@click.stop="onInfoClick" @mousedown.stop @mouseup.stop>
+		<use href="#svg-info"/>
 	</svg>
 </div>
 </template>
-- 
cgit v1.2.3

