From 7dd471e50b869b58bade16a2b63bdf0340f93368 Mon Sep 17 00:00:00 2001 From: Niccolo Borgioli Date: Sat, 7 Jan 2023 11:36:38 +0100 Subject: [PATCH] icons --- android/build.gradle | 2 +- src/app.css | 6 ---- .../{Needle.svelte => Compass.svelte} | 5 +-- src/lib/icons/Icon.svelte | 25 +++++++++++++ .../copy-outline.svelte} | 0 .../navigate-outline.svelte} | 0 src/lib/views/Home.svelte | 36 ++++++++++++------- 7 files changed, 52 insertions(+), 22 deletions(-) rename src/lib/components/{Needle.svelte => Compass.svelte} (73%) create mode 100644 src/lib/icons/Icon.svelte rename src/lib/{components/IconCopy.svelte => icons/copy-outline.svelte} (100%) rename src/lib/{components/IconNavigate.svelte => icons/navigate-outline.svelte} (100%) diff --git a/android/build.gradle b/android/build.gradle index fe3625e..7dea109 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -7,7 +7,7 @@ buildscript { mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:7.2.1' + classpath 'com.android.tools.build:gradle:7.3.1' classpath 'com.google.gms:google-services:4.3.13' // NOTE: Do not place your application dependencies here; they belong diff --git a/src/app.css b/src/app.css index acd8fe6..ca9a0c6 100644 --- a/src/app.css +++ b/src/app.css @@ -31,9 +31,3 @@ body { scroll-behavior: smooth; box-sizing: border-box; } - -svg { - height: 1em; - display: inline-block; - aspect-ratio: 1/1; -} diff --git a/src/lib/components/Needle.svelte b/src/lib/components/Compass.svelte similarity index 73% rename from src/lib/components/Needle.svelte rename to src/lib/components/Compass.svelte index 7937f50..43e72ef 100644 --- a/src/lib/components/Needle.svelte +++ b/src/lib/components/Compass.svelte @@ -1,12 +1,13 @@
- + +
diff --git a/src/lib/components/IconCopy.svelte b/src/lib/icons/copy-outline.svelte similarity index 100% rename from src/lib/components/IconCopy.svelte rename to src/lib/icons/copy-outline.svelte diff --git a/src/lib/components/IconNavigate.svelte b/src/lib/icons/navigate-outline.svelte similarity index 100% rename from src/lib/components/IconNavigate.svelte rename to src/lib/icons/navigate-outline.svelte diff --git a/src/lib/views/Home.svelte b/src/lib/views/Home.svelte index d9d220e..327ad18 100644 --- a/src/lib/views/Home.svelte +++ b/src/lib/views/Home.svelte @@ -1,25 +1,32 @@

@@ -27,14 +34,17 @@ -
-
- -
- +
+ +
- +
+ + +
Open in: @@ -66,7 +76,7 @@
Fixing
- +