Enhance footer component by adding credits section and updating translations for footer credits

This commit is contained in:
becarta
2025-05-18 21:55:45 +02:00
parent d0a30705e9
commit 3f5a192281
2 changed files with 6 additions and 2 deletions

View File

@@ -83,8 +83,10 @@ const currentYear = new Date().getFullYear();
<!-- Bottom footer content --> <!-- Bottom footer content -->
<div class="pt-6 border-t border-silver-dark/20 flex flex-col md:flex-row justify-between items-center gap-4"> <div class="pt-6 border-t border-silver-dark/20 flex flex-col md:flex-row justify-between items-center gap-4">
<div class="text-silver-dark text-xs"> <div class="text-silver-dark text-xs flex items-center flex-wrap">
{t['footer.copyright'].replace('{year}', currentYear.toString())} <span>{t['footer.copyright'].replace('{year}', currentYear.toString())}</span>
<span class="mx-2">•</span>
<span>{t['footer.credits']} <a href="https://www.365devnet.eu" target="_blank" rel="noopener" class="text-silver-dark hover:text-silver-light transition-colors">365devnet</a></span>
</div> </div>
<div class="flex gap-6"> <div class="flex gap-6">
<a href={`/${currentLang}/privacy/`} class="text-silver-dark text-xs hover:text-silver-light transition-colors relative z-10 py-1 inline-block">{t['footer.privacy']}</a> <a href={`/${currentLang}/privacy/`} class="text-silver-dark text-xs hover:text-silver-light transition-colors relative z-10 py-1 inline-block">{t['footer.privacy']}</a>

View File

@@ -91,6 +91,7 @@ export const ui = {
'footer.copyright': '© {year} JPM Security & Services. All rights reserved.', 'footer.copyright': '© {year} JPM Security & Services. All rights reserved.',
'footer.privacy': 'Privacy Policy', 'footer.privacy': 'Privacy Policy',
'footer.terms': 'Terms of Service', 'footer.terms': 'Terms of Service',
'footer.credits': 'Created & managed by',
}, },
nl: { nl: {
// Header // Header
@@ -171,6 +172,7 @@ export const ui = {
'footer.copyright': '© {year} JPM Security & Services. Alle rechten voorbehouden.', 'footer.copyright': '© {year} JPM Security & Services. Alle rechten voorbehouden.',
'footer.privacy': 'Privacybeleid', 'footer.privacy': 'Privacybeleid',
'footer.terms': 'Servicevoorwaarden', 'footer.terms': 'Servicevoorwaarden',
'footer.credits': 'Gemaakt & beheerd door',
}, },
}; };