dependabot/npm_and_yarn/prettier-3.7.4
copilot/add-i18n-support-for-english
dependabot/npm_and_yarn/astro-5.16.4
dependabot/npm_and_yarn/katex-0.16.27
dependabot/npm_and_yarn/prettier-3.7.4
dependabot/npm_and_yarn/tailwindcss-4.1.16
dependabot/npm_and_yarn/tailwindcss/vite-4.1.16
dependabot/npm_and_yarn/typescript-eslint-8.46.2
dependabot/npm_and_yarn/typescript-eslint/parser-8.46.2
development
main
| 1 | --- |
| 2 | import { SITE } from '@/config' |
| 3 | const today = new Date() |
| 4 | --- |
| 5 | |
| 6 | <footer> |
| 7 | <div class="footer-content"> |
| 8 | <div class="footer-links"> |
| 9 | <nav class="footer-nav"> |
| 10 | <a href="/contact">Kontak</a> |
| 11 | <a href="/privacy-policy">Kebijakan Privasi</a> |
| 12 | <a href="/terms-of-use">Ketentuan Penggunaan</a> |
| 13 | </nav> |
| 14 | </div> |
| 15 | <div class="footer-bottom"> |
| 16 | <div class="copyright"> |
| 17 | <span class="date"> |
| 18 | © |
| 19 | {today.getFullYear()} |
| 20 | </span> |
| 21 | {SITE.author} |
| 22 | </div> |
| 23 | <div class="powered-by"> |
| 24 | Powered by{' '} |
| 25 | <a href="https://smbcloud.xyz" target="__blank">smbCloud</a> |{' '} |
| 26 | <a href="https://github.com/smbcloudXYZ/pepakbasajawa-web" target="__blank">Source</a> |
| 27 | </div> |
| 28 | </div> |
| 29 | </div> |
| 30 | </footer> |
| 31 | <style> |
| 32 | footer { |
| 33 | font-size: var(--font-size-s); |
| 34 | font-weight: var(--font-weight-light); |
| 35 | line-height: 1.75; |
| 36 | color: var(--text-secondary); |
| 37 | margin-top: 4rem; |
| 38 | } |
| 39 | |
| 40 | .footer-content { |
| 41 | display: flex; |
| 42 | flex-direction: column; |
| 43 | gap: 1.5rem; |
| 44 | width: 100%; |
| 45 | } |
| 46 | |
| 47 | .footer-links { |
| 48 | padding-bottom: 1rem; |
| 49 | border-bottom: 1px solid var(--border); |
| 50 | } |
| 51 | |
| 52 | .footer-nav { |
| 53 | display: flex; |
| 54 | gap: 1.5rem; |
| 55 | justify-content: center; |
| 56 | flex-wrap: wrap; |
| 57 | } |
| 58 | |
| 59 | .footer-nav a { |
| 60 | color: var(--text-secondary); |
| 61 | text-decoration: none; |
| 62 | padding: 0.25rem 0.5rem; |
| 63 | border-radius: 0.25rem; |
| 64 | transition: all 0.2s ease-out; |
| 65 | } |
| 66 | |
| 67 | .footer-nav a:hover { |
| 68 | color: var(--text-primary); |
| 69 | background-color: var(--code-bg); |
| 70 | } |
| 71 | |
| 72 | .footer-bottom { |
| 73 | display: flex; |
| 74 | justify-content: space-between; |
| 75 | align-items: center; |
| 76 | flex-direction: row; |
| 77 | flex-wrap: nowrap; |
| 78 | width: 100%; |
| 79 | } |
| 80 | |
| 81 | .copyright, |
| 82 | .powered-by { |
| 83 | white-space: nowrap; |
| 84 | } |
| 85 | |
| 86 | .powered-by a { |
| 87 | color: var(--text-secondary); |
| 88 | text-decoration: none; |
| 89 | transition: color 0.2s ease-out; |
| 90 | } |
| 91 | |
| 92 | .powered-by a:hover { |
| 93 | color: var(--text-primary); |
| 94 | } |
| 95 | |
| 96 | @media (max-width: 768px) { |
| 97 | .footer-nav { |
| 98 | gap: 1rem; |
| 99 | } |
| 100 | |
| 101 | .footer-bottom { |
| 102 | flex-direction: column; |
| 103 | gap: 0.75rem; |
| 104 | text-align: center; |
| 105 | } |
| 106 | |
| 107 | .copyright, |
| 108 | .powered-by { |
| 109 | white-space: normal; |
| 110 | } |
| 111 | } |
| 112 | </style> |