mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 18:13:54 +00:00
43 lines
785 B
Vue
43 lines
785 B
Vue
<template>
|
|
<div class="column">
|
|
<div class="card">
|
|
<header class="card-header">
|
|
<p class="card-header-title has-text-grey">
|
|
{{ title }}
|
|
</p>
|
|
</header>
|
|
<div class="card-content">
|
|
<div class="content has-text-centered">
|
|
<b-icon
|
|
:icon="icon"
|
|
size="is-large"
|
|
type="is-primary"
|
|
/>
|
|
</div>
|
|
</div>
|
|
<footer class="card-footer">
|
|
<div class="card-footer-item">
|
|
<span>
|
|
<slot />
|
|
</span>
|
|
</div>
|
|
</footer>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
props: {
|
|
title: {
|
|
type: String,
|
|
required: true
|
|
},
|
|
icon: {
|
|
type: String,
|
|
required: true
|
|
}
|
|
}
|
|
}
|
|
</script>
|