mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +00:00
Template page updates
This commit is contained in:
parent
8039d3c5fe
commit
dc1b18d7e5
42 changed files with 5925 additions and 20 deletions
25
components/template/Related.vue
Normal file
25
components/template/Related.vue
Normal file
|
@ -0,0 +1,25 @@
|
|||
<template>
|
||||
<div class="template-related-wrapper">
|
||||
<div class="template-related">
|
||||
<h2 class="template-related-title">Related Layouts</h2>
|
||||
<div class="template-related-slide">
|
||||
<template v-for="(data, index) in relatedData" :key="index">
|
||||
<a :href="data.href" target="_blank" class="template-related-slide-card">
|
||||
<img :src="data.src" :alt="'Related Image ' + index" />
|
||||
</a>
|
||||
</template>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
relatedData: {
|
||||
type: null,
|
||||
default: null
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue