Download packages/effects/layouts/src/basic/copyright/copyright.vue from binhugg3/admin: direct link, hf CLI and curl.
- Browser
- Download file 869 Bytes
-
https://huggingface.co/spaces/binhugg3/admin/resolve/main/packages/effects/layouts/src/basic/copyright/copyright.vue
- Command line
-
hf download hf://spaces/binhugg3/admin/packages/effects/layouts/src/basic/copyright/copyright.vue
-
curl -L -o copyright.vue https://huggingface.co/spaces/binhugg3/admin/resolve/main/packages/effects/layouts/src/basic/copyright/copyright.vue
869 Bytes
| <script lang="ts" setup> | |
| interface Props { | |
| companyName: string; | |
| companySiteLink?: string; | |
| date: string; | |
| icp?: string; | |
| icpLink?: string; | |
| } | |
| defineOptions({ | |
| name: 'Copyright', | |
| }); | |
| withDefaults(defineProps<Props>(), { | |
| companyName: 'Vben Admin', | |
| companySiteLink: '', | |
| date: '2024', | |
| icp: '', | |
| icpLink: '', | |
| }); | |
| </script> | |
| <template> | |
| <div class="text-md flex-center"> | |
| <!-- ICP Link --> | |
| <a | |
| v-if="icp" | |
| :href="icpLink || 'javascript:void(0)'" | |
| class="hover:text-primary-hover mx-1" | |
| target="_blank" | |
| > | |
| {{ icp }} | |
| </a> | |
| <!-- Copyright Text --> | |
| Copyright © {{ date }} | |
| <!-- Company Link --> | |
| <a | |
| v-if="companyName" | |
| :href="companySiteLink || 'javascript:void(0)'" | |
| class="hover:text-primary-hover mx-1" | |
| target="_blank" | |
| > | |
| {{ companyName }} | |
| </a> | |
| </div> | |
| </template> | |