summaryrefslogtreecommitdiff
path: root/docs/showcases/Showcases.vue
diff options
context:
space:
mode:
Diffstat (limited to 'docs/showcases/Showcases.vue')
-rw-r--r--docs/showcases/Showcases.vue20
1 files changed, 17 insertions, 3 deletions
diff --git a/docs/showcases/Showcases.vue b/docs/showcases/Showcases.vue
index acdf601..34960d2 100644
--- a/docs/showcases/Showcases.vue
+++ b/docs/showcases/Showcases.vue
@@ -2,7 +2,6 @@
import showcases from "./showcases"
import Showcase from "./Showcase.vue"
</script>
-
<template>
<div class="Showcases">
<template v-for="(showcase, index) in showcases" :key="index">
@@ -13,10 +12,25 @@ import Showcase from "./Showcase.vue"
class="item"
:class="`grid-${showcase.length}`"
>
- <Showcase v-bind="elem" />
+ <Showcase
+ :src="elem.src"
+ :url="elem.url"
+ :icon="elem.icon"
+ :title="elem.title"
+ :description="elem.description"
+ :author="elem.author"
+ />
</div>
</div>
- <Showcase v-else v-bind="showcase" />
+ <Showcase
+ v-else
+ :src="showcase.src"
+ :url="showcase.url"
+ :icon="showcase.icon"
+ :title="showcase.title"
+ :description="showcase.description"
+ :author="showcase.author"
+ />
</template>
</div>
</template>