From 57c1a6180e7867a606c9c1a4d9ddea5ec516437a Mon Sep 17 00:00:00 2001 From: andrea Date: Thu, 7 Sep 2023 12:20:09 +0200 Subject: [PATCH] Embedd SVG into svelte components --- frontend/src/lib/svg/GroupsIcon.svelte | 3 ++ frontend/src/lib/svg/NotesIcon.svelte | 3 ++ frontend/src/lib/svg/ProboIcon.svelte | 5 ++ frontend/src/lib/svg/QuizzesIcon.svelte | 3 ++ frontend/src/lib/svg/SettingsIcon.svelte | 4 ++ frontend/src/lib/svg/TagsIcon.svelte | 4 ++ frontend/src/routes/+layout.svelte | 64 ++++++++++-------------- 7 files changed, 48 insertions(+), 38 deletions(-) create mode 100644 frontend/src/lib/svg/GroupsIcon.svelte create mode 100644 frontend/src/lib/svg/NotesIcon.svelte create mode 100644 frontend/src/lib/svg/ProboIcon.svelte create mode 100644 frontend/src/lib/svg/QuizzesIcon.svelte create mode 100644 frontend/src/lib/svg/SettingsIcon.svelte create mode 100644 frontend/src/lib/svg/TagsIcon.svelte diff --git a/frontend/src/lib/svg/GroupsIcon.svelte b/frontend/src/lib/svg/GroupsIcon.svelte new file mode 100644 index 0000000..037df18 --- /dev/null +++ b/frontend/src/lib/svg/GroupsIcon.svelte @@ -0,0 +1,3 @@ + + + diff --git a/frontend/src/lib/svg/NotesIcon.svelte b/frontend/src/lib/svg/NotesIcon.svelte new file mode 100644 index 0000000..ca9d5a2 --- /dev/null +++ b/frontend/src/lib/svg/NotesIcon.svelte @@ -0,0 +1,3 @@ + + + diff --git a/frontend/src/lib/svg/ProboIcon.svelte b/frontend/src/lib/svg/ProboIcon.svelte new file mode 100644 index 0000000..38ea97a --- /dev/null +++ b/frontend/src/lib/svg/ProboIcon.svelte @@ -0,0 +1,5 @@ + + + + + diff --git a/frontend/src/lib/svg/QuizzesIcon.svelte b/frontend/src/lib/svg/QuizzesIcon.svelte new file mode 100644 index 0000000..03cce7f --- /dev/null +++ b/frontend/src/lib/svg/QuizzesIcon.svelte @@ -0,0 +1,3 @@ + + + diff --git a/frontend/src/lib/svg/SettingsIcon.svelte b/frontend/src/lib/svg/SettingsIcon.svelte new file mode 100644 index 0000000..8038121 --- /dev/null +++ b/frontend/src/lib/svg/SettingsIcon.svelte @@ -0,0 +1,4 @@ + + + + diff --git a/frontend/src/lib/svg/TagsIcon.svelte b/frontend/src/lib/svg/TagsIcon.svelte new file mode 100644 index 0000000..27cff64 --- /dev/null +++ b/frontend/src/lib/svg/TagsIcon.svelte @@ -0,0 +1,4 @@ + + + + diff --git a/frontend/src/routes/+layout.svelte b/frontend/src/routes/+layout.svelte index a026360..121bb6e 100644 --- a/frontend/src/routes/+layout.svelte +++ b/frontend/src/routes/+layout.svelte @@ -1,11 +1,19 @@ @@ -19,11 +27,7 @@ - - - - - + Probo @@ -34,10 +38,6 @@ target="_blank" rel="noreferrer" > - - - - Search @@ -46,62 +46,50 @@ - +
- - - +
Quizzes -
+ - +
- - - +
Notes -
+ - +
- - - +
Groups -
+ - +
- - - - +
Tags -
+ - +
- - - - +
Settings -
+