From d29f181000c0c098c82099dcfc430464332b75b9 Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Sat, 30 Nov 2024 02:19:32 +0100 Subject: [PATCH] refactor: :recycle: Reimplement Notes --- bun.lockb | Bin 503392 -> 503392 bytes components/notes/content.vue | 69 ++++++++++++++++++++++++ components/notes/copyable-text.vue | 39 ++++++++++++++ components/notes/header.vue | 70 +++++++++++++++++++++++++ components/notes/note.vue | 26 +++++++++ components/sidebars/sidebar.vue | 12 ++--- components/sidebars/theme-switcher.vue | 21 +++++--- components/timelines/timeline-item.vue | 5 +- components/timelines/timeline.vue | 6 +-- components/ui/card/Card.vue | 27 ++++++++++ components/ui/card/CardContent.vue | 14 +++++ components/ui/card/CardDescription.vue | 14 +++++ components/ui/card/CardFooter.vue | 14 +++++ components/ui/card/CardHeader.vue | 14 +++++ components/ui/card/CardTitle.vue | 18 +++++++ components/ui/card/index.ts | 6 +++ pages/home.vue | 2 - pages/local.vue | 2 - pages/notifications.vue | 2 - pages/public.vue | 2 - styles/index.css | 2 - 21 files changed, 335 insertions(+), 30 deletions(-) create mode 100644 components/notes/content.vue create mode 100644 components/notes/copyable-text.vue create mode 100644 components/notes/header.vue create mode 100644 components/notes/note.vue create mode 100644 components/ui/card/Card.vue create mode 100644 components/ui/card/CardContent.vue create mode 100644 components/ui/card/CardDescription.vue create mode 100644 components/ui/card/CardFooter.vue create mode 100644 components/ui/card/CardHeader.vue create mode 100644 components/ui/card/CardTitle.vue create mode 100644 components/ui/card/index.ts diff --git a/bun.lockb b/bun.lockb index 1a8c5443d4f534084b0f79499fe2eff950c48dd2..85e610d911a5711a2275b5cbb70e6ce1c239d5be 100755 GIT binary patch delta 40 vcmaEGNAAHLxrP?T7N!>FEiC=NI2hv$jr0uk4BDsvVgX{-?bCm;o!krnUMCTe delta 40 qcmaEGNAAHLxrP?T7N!>FEiC=NIG7k9pndu;79eKbKK&Ql$;|*l;Sd!7 diff --git a/components/notes/content.vue b/components/notes/content.vue new file mode 100644 index 0000000..925dd74 --- /dev/null +++ b/components/notes/content.vue @@ -0,0 +1,69 @@ + + + + + \ No newline at end of file diff --git a/components/notes/copyable-text.vue b/components/notes/copyable-text.vue new file mode 100644 index 0000000..cc980e3 --- /dev/null +++ b/components/notes/copyable-text.vue @@ -0,0 +1,39 @@ + + + \ No newline at end of file diff --git a/components/notes/header.vue b/components/notes/header.vue new file mode 100644 index 0000000..973a0a1 --- /dev/null +++ b/components/notes/header.vue @@ -0,0 +1,70 @@ + + + \ No newline at end of file diff --git a/components/notes/note.vue b/components/notes/note.vue new file mode 100644 index 0000000..56cce77 --- /dev/null +++ b/components/notes/note.vue @@ -0,0 +1,26 @@ + + + \ No newline at end of file diff --git a/components/sidebars/sidebar.vue b/components/sidebars/sidebar.vue index 6a0c91c..a6bfdf7 100644 --- a/components/sidebars/sidebar.vue +++ b/components/sidebars/sidebar.vue @@ -121,7 +121,7 @@ const instance = useInstance(); - + @@ -135,7 +135,7 @@ const instance = useInstance(); - + @@ -180,12 +180,6 @@ const instance = useInstance(); - - - - More - - @@ -270,7 +264,7 @@ const instance = useInstance(); -
+
diff --git a/components/sidebars/theme-switcher.vue b/components/sidebars/theme-switcher.vue index a0003d9..3840cd4 100644 --- a/components/sidebars/theme-switcher.vue +++ b/components/sidebars/theme-switcher.vue @@ -1,5 +1,5 @@