From d0f5eb6252de8be7dacd16484833b719b61f700c Mon Sep 17 00:00:00 2001
From: taskylizard <75871323+taskylizard@users.noreply.github.com>
Date: Sun, 31 Mar 2024 02:55:32 +0000
Subject: [PATCH] refactor(components): refactor GradientCard for `thin`,`link`
props
---
.changeset/ten-chefs-try.md | 5 +
docs/components.md | 10 +-
.../src/components/GradientCard.vue | 99 ++++++++++++-------
3 files changed, 79 insertions(+), 35 deletions(-)
create mode 100644 .changeset/ten-chefs-try.md
diff --git a/.changeset/ten-chefs-try.md b/.changeset/ten-chefs-try.md
new file mode 100644
index 0000000..44831b5
--- /dev/null
+++ b/.changeset/ten-chefs-try.md
@@ -0,0 +1,5 @@
+---
+"@fmhy/components": patch
+---
+
+refactor GradientCard to add `thin`,`link` props
diff --git a/docs/components.md b/docs/components.md
index fc36ab8..683ff87 100644
--- a/docs/components.md
+++ b/docs/components.md
@@ -3,4 +3,12 @@
## `GradientCard`
+adipisicing minim sint cillum sint consectetur cupidatat." tag="tag" />
+
+Or, it's `thin` variant:
+
+
+
+You can also pass a `link`:
+
+
diff --git a/packages/components/src/components/GradientCard.vue b/packages/components/src/components/GradientCard.vue
index 7ba8190..fff1e6e 100644
--- a/packages/components/src/components/GradientCard.vue
+++ b/packages/components/src/components/GradientCard.vue
@@ -1,49 +1,80 @@
-
+
-
- {{ title }}
+
+ {{ props.title }}
-
-
-
+
+
+
-
- {{ tag }}
+
+ {{ props.tag }}
-
+
+
+
-