-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
159 additions
and
230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
packages/docs/docs/.vitepress/docs/documentation/components/card.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Card | ||
|
||
<card> | ||
|
||
## Default | ||
|
||
Add a card with the vs-card component for the structure of this component we have several slots: | ||
|
||
- title | ||
- text | ||
- buttons | ||
- interactions | ||
- img | ||
|
||
</card> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 7 additions & 2 deletions
9
packages/docs/docs/.vitepress/theme/global-components/template/Button/Href.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
packages/docs/docs/.vitepress/theme/global-components/template/Button/Size.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
packages/docs/docs/.vitepress/theme/global-components/template/Card/Default.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<template> | ||
<VsCard> | ||
<template #title> | ||
<h3>Pot with a plant</h3> | ||
</template> | ||
<template #img> | ||
<img src="/foto5.png" alt="" /> | ||
</template> | ||
<template #text> | ||
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit.</p> | ||
</template> | ||
<template #interactions> | ||
<VsButton color="danger" icon> | ||
<i class="bx bx-heart"></i> | ||
</VsButton> | ||
<VsButton shadow> | ||
<i class="bx bx-chat"></i> | ||
<span style="margin-left: 4px"> 54 </span> | ||
</VsButton> | ||
</template> | ||
</VsCard> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import { VsCard, VsButton } from 'vuesax-ts' | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.