From c06384a757fa101393507eb925e6b77776da0bb4 Mon Sep 17 00:00:00 2001 From: ZTL-UwU Date: Mon, 3 Jun 2024 18:29:46 +0800 Subject: [PATCH] feat(components): tabs Signed-off-by: ZTL-UwU --- components/content/CodeGroup.vue | 110 +++++++----------- components/content/CodeGroupHeader.vue | 49 -------- components/content/Preview.vue | 2 +- components/content/ProseCode.vue | 2 +- components/content/Tabs.vue | 25 ++++ components/ui/tabs/TabsList.vue | 2 +- components/ui/tabs/TabsTrigger.vue | 2 +- .../3.writing/2.components.md | 93 +++++++++++++++ package.json | 2 +- 9 files changed, 168 insertions(+), 119 deletions(-) delete mode 100644 components/content/CodeGroupHeader.vue create mode 100644 components/content/Tabs.vue diff --git a/components/content/CodeGroup.vue b/components/content/CodeGroup.vue index 81bb4c0d..4e719944 100644 --- a/components/content/CodeGroup.vue +++ b/components/content/CodeGroup.vue @@ -1,73 +1,53 @@ diff --git a/components/content/CodeGroupHeader.vue b/components/content/CodeGroupHeader.vue deleted file mode 100644 index 8248dda0..00000000 --- a/components/content/CodeGroupHeader.vue +++ /dev/null @@ -1,49 +0,0 @@ - - - diff --git a/components/content/Preview.vue b/components/content/Preview.vue index 76f7fab0..096d091a 100644 --- a/components/content/Preview.vue +++ b/components/content/Preview.vue @@ -1,5 +1,5 @@ diff --git a/components/content/ProseCode.vue b/components/content/ProseCode.vue index 3b5ce28b..212d1418 100644 --- a/components/content/ProseCode.vue +++ b/components/content/ProseCode.vue @@ -1,6 +1,6 @@