From ed30ce43f5d722b58d551513a622428a9318c9dc Mon Sep 17 00:00:00 2001 From: Nabil Ould Hamou Date: Sun, 7 Jan 2024 04:16:51 +0100 Subject: [PATCH] feat: ajout de nouveaux fichiers fix: QOL -> "logo" cliquable pour revenir sur la page principale --- components.json | 13 ++++ src/lib/components/Navbar.svelte | 2 +- .../ui/avatar/avatar-fallback.svelte | 19 ++++++ .../components/ui/avatar/avatar-image.svelte | 18 ++++++ src/lib/components/ui/avatar/avatar.svelte | 21 +++++++ src/lib/components/ui/avatar/index.ts | 13 ++++ src/lib/components/ui/button/button.svelte | 25 ++++++++ src/lib/components/ui/button/index.ts | 52 ++++++++++++++++ .../components/ui/card/card-content.svelte | 13 ++++ .../ui/card/card-description.svelte | 13 ++++ src/lib/components/ui/card/card-footer.svelte | 13 ++++ src/lib/components/ui/card/card-header.svelte | 13 ++++ src/lib/components/ui/card/card-title.svelte | 21 +++++++ src/lib/components/ui/card/card.svelte | 25 ++++++++ src/lib/components/ui/card/index.ts | 24 +++++++ .../ui/dialog/dialog-content.svelte | 36 +++++++++++ .../ui/dialog/dialog-description.svelte | 16 +++++ .../components/ui/dialog/dialog-footer.svelte | 19 ++++++ .../components/ui/dialog/dialog-header.svelte | 16 +++++ .../ui/dialog/dialog-overlay.svelte | 24 +++++++ .../components/ui/dialog/dialog-portal.svelte | 9 +++ .../components/ui/dialog/dialog-title.svelte | 16 +++++ src/lib/components/ui/dialog/index.ts | 34 ++++++++++ .../ui/drawer/drawer-content.svelte | 24 +++++++ .../ui/drawer/drawer-description.svelte | 18 ++++++ .../components/ui/drawer/drawer-footer.svelte | 20 ++++++ .../components/ui/drawer/drawer-header.svelte | 19 ++++++ .../ui/drawer/drawer-overlay.svelte | 18 ++++++ .../components/ui/drawer/drawer-title.svelte | 18 ++++++ src/lib/components/ui/drawer/drawer.svelte | 17 +++++ src/lib/components/ui/drawer/index.ts | 37 +++++++++++ src/lib/utils.ts | 62 +++++++++++++++++++ 32 files changed, 687 insertions(+), 1 deletion(-) create mode 100644 components.json create mode 100644 src/lib/components/ui/avatar/avatar-fallback.svelte create mode 100644 src/lib/components/ui/avatar/avatar-image.svelte create mode 100644 src/lib/components/ui/avatar/avatar.svelte create mode 100644 src/lib/components/ui/avatar/index.ts create mode 100644 src/lib/components/ui/button/button.svelte create mode 100644 src/lib/components/ui/button/index.ts create mode 100644 src/lib/components/ui/card/card-content.svelte create mode 100644 src/lib/components/ui/card/card-description.svelte create mode 100644 src/lib/components/ui/card/card-footer.svelte create mode 100644 src/lib/components/ui/card/card-header.svelte create mode 100644 src/lib/components/ui/card/card-title.svelte create mode 100644 src/lib/components/ui/card/card.svelte create mode 100644 src/lib/components/ui/card/index.ts create mode 100644 src/lib/components/ui/dialog/dialog-content.svelte create mode 100644 src/lib/components/ui/dialog/dialog-description.svelte create mode 100644 src/lib/components/ui/dialog/dialog-footer.svelte create mode 100644 src/lib/components/ui/dialog/dialog-header.svelte create mode 100644 src/lib/components/ui/dialog/dialog-overlay.svelte create mode 100644 src/lib/components/ui/dialog/dialog-portal.svelte create mode 100644 src/lib/components/ui/dialog/dialog-title.svelte create mode 100644 src/lib/components/ui/dialog/index.ts create mode 100644 src/lib/components/ui/drawer/drawer-content.svelte create mode 100644 src/lib/components/ui/drawer/drawer-description.svelte create mode 100644 src/lib/components/ui/drawer/drawer-footer.svelte create mode 100644 src/lib/components/ui/drawer/drawer-header.svelte create mode 100644 src/lib/components/ui/drawer/drawer-overlay.svelte create mode 100644 src/lib/components/ui/drawer/drawer-title.svelte create mode 100644 src/lib/components/ui/drawer/drawer.svelte create mode 100644 src/lib/components/ui/drawer/index.ts create mode 100644 src/lib/utils.ts diff --git a/components.json b/components.json new file mode 100644 index 0000000..ce18a67 --- /dev/null +++ b/components.json @@ -0,0 +1,13 @@ +{ + "$schema": "https://shadcn-svelte.com/schema.json", + "style": "new-york", + "tailwind": { + "config": "tailwind.config.js", + "css": "src/app.css", + "baseColor": "zinc" + }, + "aliases": { + "components": "$lib/components", + "utils": "$lib/utils" + } +} \ No newline at end of file diff --git a/src/lib/components/Navbar.svelte b/src/lib/components/Navbar.svelte index 7fc0284..ea47732 100644 --- a/src/lib/components/Navbar.svelte +++ b/src/lib/components/Navbar.svelte @@ -7,7 +7,7 @@
- nbiloh.me + nbiloh.me