61 lines
2.0 KiB
Vue
Executable File
61 lines
2.0 KiB
Vue
Executable File
<template>
|
|
<div>
|
|
<div class="content-section introduction">
|
|
<div class="feature-intro">
|
|
<h1>Card</h1>
|
|
<p>Card is a flexible container component.</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="content-section implementation">
|
|
<Card style="width: 25rem; margin-bottom: 2em">
|
|
<template slot="title">
|
|
Simple Card
|
|
</template>
|
|
<template slot="content">
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Inventore sed consequuntur error repudiandae numquam deserunt
|
|
quisquam repellat libero asperiores earum nam nobis, culpa ratione quam perferendis esse, cupiditate neque quas!</p>
|
|
</template>
|
|
</Card>
|
|
|
|
<Card style="width: 25em">
|
|
<template slot="header">
|
|
<img alt="user header" src="demo/images/usercard.png">
|
|
</template>
|
|
<template slot="title">
|
|
Advanced Card
|
|
</template>
|
|
<template slot="subtitle">
|
|
Card subtitle
|
|
</template>
|
|
<template slot="content">
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Inventore sed consequuntur error repudiandae numquam deserunt
|
|
quisquam repellat libero asperiores earum nam nobis, culpa ratione quam perferendis esse, cupiditate neque quas!</p>
|
|
</template>
|
|
<template slot="footer">
|
|
<Button icon="pi pi-check" label="Save" />
|
|
<Button icon="pi pi-times" label="Cancel" class="p-button-secondary" style="margin-left: .5em" />
|
|
</template>
|
|
</Card>
|
|
</div>
|
|
|
|
<CardDoc/>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import CardDoc from './CardDoc';
|
|
|
|
export default {
|
|
components: {
|
|
'CardDoc': CardDoc
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
p {
|
|
line-height: 1.5;
|
|
margin: 0;
|
|
}
|
|
</style> |