docs: updated Card component examples
This commit is contained in:
@@ -24,7 +24,12 @@ Use these responsive card components to show data entries and information to you
|
||||
import { TheCard } from 'flowbite-vue'
|
||||
</script>
|
||||
<template>
|
||||
<the-card href="#"/>
|
||||
<the-card href="#">
|
||||
<h5 class="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">Noteworthy technology acquisitions 2021</h5>
|
||||
<p class="font-normal text-gray-700 dark:text-gray-400">
|
||||
Here are the biggest enterprise technology acquisitions of 2021 so far, in reverse chronological order.
|
||||
</p>
|
||||
</the-card>
|
||||
</template>
|
||||
```
|
||||
|
||||
@@ -37,12 +42,12 @@ import { TheCard } from 'flowbite-vue'
|
||||
import { TheCard } from 'flowbite-vue'
|
||||
</script>
|
||||
<template>
|
||||
<the-card
|
||||
variant="image"
|
||||
href="#"
|
||||
img-src="./images/blog/image-1.jpg"
|
||||
img-alt="Image"
|
||||
/>
|
||||
<the-card variant="image" img-src="https://flowbite.com/docs/images/blog/image-1.jpg" img-alt="Desk">
|
||||
<h5 class="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">Noteworthy technology acquisitions 2021</h5>
|
||||
<p class="font-normal text-gray-700 dark:text-gray-400">
|
||||
Here are the biggest enterprise technology acquisitions of 2021 so far, in reverse chronological order.
|
||||
</p>
|
||||
</the-card>
|
||||
</template>
|
||||
```
|
||||
|
||||
@@ -55,11 +60,11 @@ import { TheCard } from 'flowbite-vue'
|
||||
import { TheCard } from 'flowbite-vue'
|
||||
</script>
|
||||
<template>
|
||||
<the-card
|
||||
variant="horizontal"
|
||||
href="#"
|
||||
img-src="./images/blog/image-4.jpg"
|
||||
img-alt="Image"
|
||||
/>
|
||||
<the-card href="#" variant="horizontal" img-src="https://flowbite.com/docs/images/blog/image-4.jpg" img-alt="Desk">
|
||||
<h5 class="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">Noteworthy technology acquisitions 2021</h5>
|
||||
<p class="font-normal text-gray-700 dark:text-gray-400">
|
||||
Here are the biggest enterprise technology acquisitions of 2021 so far, in reverse chronological order.
|
||||
</p>
|
||||
</the-card>
|
||||
</template>
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user