naive-ui/demo/documentation/landing/Footer.vue

33 lines
456 B
Vue
Raw Normal View History

2020-02-27 18:09:23 +08:00
<template>
2020-03-05 22:31:20 +08:00
<div class="footer">
2020-03-05 23:01:27 +08:00
<n-divider v-if="showDivider" style="margin: 0 0 16px 0;" />
2020-03-05 22:31:20 +08:00
<n-text depth="tertiary">
2020-08-15 01:58:26 +08:00
For Preview Only
2020-03-05 22:31:20 +08:00
</n-text>
</div>
2020-02-27 18:09:23 +08:00
</template>
2020-03-05 23:01:27 +08:00
<script>
export default {
props: {
showDivider: {
type: Boolean,
default: true
}
}
}
</script>
2020-02-27 18:09:23 +08:00
<style scoped>
.footer {
font-size: 15px;
text-align: center;
2020-02-27 18:36:46 +08:00
padding: 20px;
2020-02-27 23:03:15 +08:00
padding-top: 0;
2020-02-27 18:09:23 +08:00
}
2020-03-03 19:25:25 +08:00
.link {
text-decoration: none;
}
2020-02-27 18:09:23 +08:00
</style>