| 1 | <template> |
| 2 | <footer class="footer py-4" :class="{ boxed }"> |
| 3 | <div class="wrap flex items-center justify-end gap-3"> |
| 4 | <div class="copy"> |
| 5 | Made with |
| 6 | <Icon :size="22" class="text-primary mx-1"> |
| 7 | <BrainIcon /> |
| 8 | </Icon> |
| 9 | By |
| 10 | <a |
| 11 | href="https://www.socfortress.co/" |
| 12 | target="_blank" |
| 13 | alt="SOCFortress" |
| 14 | rel="noopener noreferrer" |
| 15 | class="mx-1" |
| 16 | > |
| 17 | SOCFortress |
| 18 | </a> |
| 19 | All rights Reserved © Copyright {{ year }} |
| 20 | </div> |
| 21 | </div> |
| 22 | </footer> |
| 23 | </template> |
| 24 | |
| 25 | <script lang="ts" setup> |
| 26 | import { ref } from "vue" |
| 27 | import BrainIcon from "@/assets/icons/brain-icon.svg" |
| 28 | import Icon from "@/components/common/Icon.vue" |
| 29 | |
| 30 | const { boxed } = defineProps<{ |
| 31 | boxed: boolean |
| 32 | }>() |
| 33 | |
| 34 | const year = ref(new Date().getFullYear()) |
| 35 | </script> |
| 36 | |
| 37 | <style lang="scss" scoped> |
| 38 | .footer { |
| 39 | width: 100%; |
| 40 | max-width: 100%; |
| 41 | overflow: hidden; |
| 42 | font-size: 13px; |
| 43 | |
| 44 | .wrap { |
| 45 | overflow: hidden; |
| 46 | width: 100%; |
| 47 | max-width: 100%; |
| 48 | margin: 0 auto; |
| 49 | padding: 0 var(--view-padding); |
| 50 | |
| 51 | .copy { |
| 52 | line-height: 1.6; |
| 53 | |
| 54 | a { |
| 55 | font-weight: bold; |
| 56 | text-decoration: none; |
| 57 | } |
| 58 | * { |
| 59 | display: inline; |
| 60 | } |
| 61 | i { |
| 62 | display: inline-block; |
| 63 | } |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | &.boxed { |
| 68 | .wrap { |
| 69 | max-width: var(--boxed-width); |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | @media (max-width: 700px) { |
| 74 | font-size: 10px; |
| 75 | |
| 76 | i.n-icon { |
| 77 | font-size: 18px !important; |
| 78 | } |
| 79 | } |
| 80 | } |
| 81 | </style> |