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

47 lines
935 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">
A <a ref="noopener noreferer" href="https://www.tusimple.com" target="_blank" class="link">
<n-text>
Tusimple
2020-02-27 18:09:23 +08:00
</n-text>
2020-03-05 22:31:20 +08:00
</a> Project ·&nbsp;
</n-text>
<n-text depth="tertiary">
Designed by <n-a ref="noopener noreferer" class="link" href="https://www.ritalei.com" target="_blank">
<n-text>
Rita Lei
</n-text>
</n-a>
<n-text depth="tertiary">
&nbsp;· Refined by Haiyang Yu &amp; 07akioni
2020-02-27 18:36:46 +08:00
</n-text>
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>