From d7a8087c6cb69780656eaa3b2ea5b435e0e5ebba Mon Sep 17 00:00:00 2001 From: Peaceultime Date: Thu, 5 Sep 2024 17:44:30 +0200 Subject: [PATCH] Components rework and lots of fixes --- components/canvas/CanvasNode.vue | 4 +- components/explorer/NavigationLink.vue | 22 ++--- components/explorer/PreviewContent.vue | 85 ++++++------------- components/prose/ProseA.vue | 47 +++++----- components/prose/ProseTag.vue | 47 +++++++++- components/standard/Accordion.vue | 19 +++++ .../Highlight.vue} | 2 +- components/standard/HoverPopup.vue | 52 ++++++++++++ components/standard/Input.vue | 8 +- components/{ => standard}/InputField.vue | 0 components/{ => standard}/Markdown.vue | 0 .../{ => standard}/MarkdownRenderer.vue | 1 + components/standard/NavBar.vue | 70 +++++++++++++++ components/{ => standard}/SearchView.vue | 6 +- components/{ => standard}/ThemeIcon.vue | 0 .../{ => standard}/ThemeSwitch.client.vue | 0 layouts/default.vue | 46 ++-------- layouts/explorer.vue | 50 ++--------- pages/third-party.vue | 11 ++- pages/user/login.vue | 4 +- pages/user/register.vue | 8 +- 21 files changed, 286 insertions(+), 196 deletions(-) create mode 100644 components/standard/Accordion.vue rename components/{BoldContent.vue => standard/Highlight.vue} (90%) create mode 100644 components/standard/HoverPopup.vue rename components/{ => standard}/InputField.vue (100%) rename components/{ => standard}/Markdown.vue (100%) rename components/{ => standard}/MarkdownRenderer.vue (98%) create mode 100644 components/standard/NavBar.vue rename components/{ => standard}/SearchView.vue (93%) rename components/{ => standard}/ThemeIcon.vue (100%) rename components/{ => standard}/ThemeSwitch.client.vue (100%) diff --git a/components/canvas/CanvasNode.vue b/components/canvas/CanvasNode.vue index a72c309..6419950 100644 --- a/components/canvas/CanvasNode.vue +++ b/components/canvas/CanvasNode.vue @@ -31,8 +31,8 @@ const colors = computed(() => {