38 lines
617 B
Vue
38 lines
617 B
Vue
<template>
|
|
<div class="admin-tile">
|
|
<div v-if="title" class="admin-tile__title">
|
|
{{ title }}
|
|
<slot name="headerAction" />
|
|
</div>
|
|
<div class="admin-tile__body">
|
|
<slot />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
props: ['title'],
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
@import '~/assets/css/components';
|
|
|
|
.admin-tile {
|
|
min-width: 240px;
|
|
margin: 16px;
|
|
|
|
&__title {
|
|
font-size: 32px;
|
|
font-family: $secondary-font;
|
|
border-bottom: 1px solid #ffffff;
|
|
margin-bottom: 16px;
|
|
}
|
|
&__body {
|
|
font-family: $secondary-font;
|
|
font-size: 18px;
|
|
}
|
|
}
|
|
</style>
|