From ca10d491b35eb0f64717cf9ac92cdd51410dd728 Mon Sep 17 00:00:00 2001 From: Stefan E-K Date: Tue, 14 Nov 2023 10:11:42 +0100 Subject: [PATCH] fix(docs): clean up cards examples --- .../docs/src/components/cards/cookie-settings.tsx | 6 +++--- apps/docs/src/components/cards/create-account.tsx | 2 +- apps/docs/src/components/cards/notifications.tsx | 13 +++++++------ apps/docs/src/components/cards/payment-method.tsx | 15 ++++++++------- apps/docs/src/components/cards/share-document.tsx | 6 +++--- apps/docs/src/components/cards/solid-ui.tsx | 6 +++--- apps/docs/src/components/cards/team-members.tsx | 13 ++++++------- 7 files changed, 31 insertions(+), 30 deletions(-) diff --git a/apps/docs/src/components/cards/cookie-settings.tsx b/apps/docs/src/components/cards/cookie-settings.tsx index 1d937311..af995c51 100644 --- a/apps/docs/src/components/cards/cookie-settings.tsx +++ b/apps/docs/src/components/cards/cookie-settings.tsx @@ -21,7 +21,7 @@ export function CookieSettings() {
@@ -30,7 +30,7 @@ export function CookieSettings() {
@@ -39,7 +39,7 @@ export function CookieSettings() {
diff --git a/apps/docs/src/components/cards/create-account.tsx b/apps/docs/src/components/cards/create-account.tsx index a5fbfe69..aabef430 100644 --- a/apps/docs/src/components/cards/create-account.tsx +++ b/apps/docs/src/components/cards/create-account.tsx @@ -36,7 +36,7 @@ export function CreateAccount() {
- Or continue with + Or continue with
diff --git a/apps/docs/src/components/cards/notifications.tsx b/apps/docs/src/components/cards/notifications.tsx index 59b04067..78a3e4ec 100644 --- a/apps/docs/src/components/cards/notifications.tsx +++ b/apps/docs/src/components/cards/notifications.tsx @@ -1,4 +1,5 @@ import { TbBell, TbEyeOff, TbUser } from "solid-icons/tb" + import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "~/registry/ui/card" export function Notifications() { @@ -9,25 +10,25 @@ export function Notifications() { Choose what you want to be notified about. -
+

Everything

-

Email digest, mentions & all activity.

+

Email digest, mentions & all activity.

-
+

Available

-

Only mentions and comments.

+

Only mentions and comments.

-
+

Ignoring

-

Turn off all notifications.

+

Turn off all notifications.

diff --git a/apps/docs/src/components/cards/payment-method.tsx b/apps/docs/src/components/cards/payment-method.tsx index ebcc5423..bb27d8c2 100644 --- a/apps/docs/src/components/cards/payment-method.tsx +++ b/apps/docs/src/components/cards/payment-method.tsx @@ -1,7 +1,6 @@ +import { TbBrandApple, TbBrandPaypal, TbCreditCard } from "solid-icons/tb" + import { Button } from "~/registry/ui/button" -import { Input } from "~/registry/ui/input" -import { RadioGroup, RadioGroupItem } from "~/registry/ui/radio-group" -import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "~/registry/ui/select" import { Card, CardContent, @@ -10,8 +9,10 @@ import { CardHeader, CardTitle } from "~/registry/ui/card" +import { Input } from "~/registry/ui/input" import { Label } from "~/registry/ui/label" -import { TbBrandApple, TbBrandPaypal, TbCreditCard } from "solid-icons/tb" +import { RadioGroup, RadioGroupItem } from "~/registry/ui/radio-group" +import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "~/registry/ui/select" export function PaymentMethod() { return ( @@ -26,7 +27,7 @@ export function PaymentMethod() {

Sofia Davis

-

p@example.com

+

p@example.com