feat: Add company website links to navbar and footer
- Add 'Company' section to footer with MySovereignty website links - Link to main website (mysovereignty.digital) - Link to Village Ecosystem page - Link to About Us page - Add 'Company' section to navbar mobile menu - Link to main website (mysovereignty.digital) - Update footer grid layout: md:grid-cols-4 → md:grid-cols-2 lg:grid-cols-5 - Include translations for all 3 languages (EN, DE, FR) - EN: Company - DE: Unternehmen - FR: Entreprise Files modified: - public/js/components/footer.js (lines 52-62) - public/js/components/navbar.js (lines 110-116) - public/locales/en/common.json - public/locales/de/common.json - public/locales/fr/common.json Tested locally on port 9000 - all links functional, translations verified.
This commit is contained in:
parent
93138d2139
commit
a7937dc274
5 changed files with 73 additions and 4 deletions
|
|
@ -49,7 +49,17 @@
|
||||||
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
|
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
|
||||||
|
|
||||||
<!-- Main Footer Content -->
|
<!-- Main Footer Content -->
|
||||||
<div class="grid grid-cols-1 md:grid-cols-4 gap-8 mb-8">
|
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-5 gap-8 mb-8">
|
||||||
|
|
||||||
|
<!-- Company -->
|
||||||
|
<div>
|
||||||
|
<h3 class="text-white font-semibold mb-4" data-i18n="footer.company_heading">Company</h3>
|
||||||
|
<ul class="space-y-2 text-sm">
|
||||||
|
<li><a href="https://mysovereignty.digital" class="hover:text-white transition" data-i18n="footer.company_links.website">← MySovereignty</a></li>
|
||||||
|
<li><a href="https://mysovereignty.digital/ecosystem.html" class="hover:text-white transition" data-i18n="footer.company_links.ecosystem">Village Ecosystem</a></li>
|
||||||
|
<li><a href="https://mysovereignty.digital/about.html" class="hover:text-white transition" data-i18n="footer.company_links.about_company">About Us</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- About -->
|
<!-- About -->
|
||||||
<div>
|
<div>
|
||||||
|
|
|
||||||
|
|
@ -107,6 +107,14 @@ class TractatusNavbar {
|
||||||
<span class="text-sm font-semibold">🤝 Support (Koha)</span>
|
<span class="text-sm font-semibold">🤝 Support (Koha)</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
<!-- Company -->
|
||||||
|
<div class="pt-3 mt-3 border-t border-gray-200">
|
||||||
|
<p class="text-xs font-semibold text-gray-500 uppercase tracking-wider mb-2 px-3" data-i18n="navbar.company_heading">Company</p>
|
||||||
|
<a href="https://mysovereignty.digital" class="block px-3 py-2.5 text-gray-700 hover:bg-blue-50 hover:text-blue-700 rounded-lg transition">
|
||||||
|
<span class="text-sm font-semibold" data-i18n="navbar.company_links.website">← MySovereignty</span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- Feedback (opens modal) -->
|
<!-- Feedback (opens modal) -->
|
||||||
<div class="pt-3 mt-3 border-t border-gray-200">
|
<div class="pt-3 mt-3 border-t border-gray-200">
|
||||||
<button id="navbar-feedback-btn" class="w-full text-left block px-3 py-2.5 text-white bg-gradient-to-r from-blue-600 to-blue-700 hover:shadow-lg rounded-lg transition">
|
<button id="navbar-feedback-btn" class="w-full text-left block px-3 py-2.5 text-white bg-gradient-to-r from-blue-600 to-blue-700 hover:shadow-lg rounded-lg transition">
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,11 @@
|
||||||
{
|
{
|
||||||
"footer": {
|
"footer": {
|
||||||
|
"company_heading": "Unternehmen",
|
||||||
|
"company_links": {
|
||||||
|
"website": "← MySovereignty",
|
||||||
|
"ecosystem": "Ökosystem Dorf",
|
||||||
|
"about_company": "Über uns"
|
||||||
|
},
|
||||||
"about_heading": "Tractatus Framework",
|
"about_heading": "Tractatus Framework",
|
||||||
"about_text": "Architektonische Beschränkungen für KI-Sicherheit, die menschliche Entscheidungsfreiheit durch strukturelle, nicht aspirationale, Garantien wahren.",
|
"about_text": "Architektonische Beschränkungen für KI-Sicherheit, die menschliche Entscheidungsfreiheit durch strukturelle, nicht aspirationale, Garantien wahren.",
|
||||||
"documentation_heading": "Dokumentation",
|
"documentation_heading": "Dokumentation",
|
||||||
|
|
@ -16,6 +22,13 @@
|
||||||
"media_inquiries": "Medienanfragen",
|
"media_inquiries": "Medienanfragen",
|
||||||
"submit_case": "Fallstudie einreichen"
|
"submit_case": "Fallstudie einreichen"
|
||||||
},
|
},
|
||||||
|
"subscribe_heading": "Abonnieren",
|
||||||
|
"subscribe_links": {
|
||||||
|
"newsletter": "Newsletter",
|
||||||
|
"rss_all": "RSS-Feed (Alle)",
|
||||||
|
"rss_research": "RSS (Forschung)",
|
||||||
|
"rss_governance": "RSS (Verwaltung)"
|
||||||
|
},
|
||||||
"legal_heading": "Rechtliches",
|
"legal_heading": "Rechtliches",
|
||||||
"legal_links": {
|
"legal_links": {
|
||||||
"privacy": "Datenschutzerklärung",
|
"privacy": "Datenschutzerklärung",
|
||||||
|
|
@ -54,6 +67,10 @@
|
||||||
},
|
},
|
||||||
"navbar": {
|
"navbar": {
|
||||||
"feedback": "Feedback geben",
|
"feedback": "Feedback geben",
|
||||||
"feedback_desc": "Beherrscht vom Tractatus AL"
|
"feedback_desc": "Beherrscht vom Tractatus AL",
|
||||||
|
"company_heading": "Unternehmen",
|
||||||
|
"company_links": {
|
||||||
|
"website": "← MySovereignty"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1,5 +1,11 @@
|
||||||
{
|
{
|
||||||
"footer": {
|
"footer": {
|
||||||
|
"company_heading": "Company",
|
||||||
|
"company_links": {
|
||||||
|
"website": "← MySovereignty",
|
||||||
|
"ecosystem": "Village Ecosystem",
|
||||||
|
"about_company": "About Us"
|
||||||
|
},
|
||||||
"about_heading": "Tractatus Framework",
|
"about_heading": "Tractatus Framework",
|
||||||
"about_text": "Architectural constraints for AI safety that preserve human agency through structural, not aspirational, enforcement.",
|
"about_text": "Architectural constraints for AI safety that preserve human agency through structural, not aspirational, enforcement.",
|
||||||
"documentation_heading": "Documentation",
|
"documentation_heading": "Documentation",
|
||||||
|
|
@ -16,6 +22,13 @@
|
||||||
"media_inquiries": "Media Inquiries",
|
"media_inquiries": "Media Inquiries",
|
||||||
"submit_case": "Submit Case Study"
|
"submit_case": "Submit Case Study"
|
||||||
},
|
},
|
||||||
|
"subscribe_heading": "Subscribe",
|
||||||
|
"subscribe_links": {
|
||||||
|
"newsletter": "Newsletter",
|
||||||
|
"rss_all": "RSS Feed (All)",
|
||||||
|
"rss_research": "RSS (Research)",
|
||||||
|
"rss_governance": "RSS (Governance)"
|
||||||
|
},
|
||||||
"legal_heading": "Legal",
|
"legal_heading": "Legal",
|
||||||
"legal_links": {
|
"legal_links": {
|
||||||
"privacy": "Privacy Policy",
|
"privacy": "Privacy Policy",
|
||||||
|
|
@ -68,6 +81,10 @@
|
||||||
},
|
},
|
||||||
"navbar": {
|
"navbar": {
|
||||||
"feedback": "Give Feedback",
|
"feedback": "Give Feedback",
|
||||||
"feedback_desc": "Governed by Tractatus + AL"
|
"feedback_desc": "Governed by Tractatus + AL",
|
||||||
|
"company_heading": "Company",
|
||||||
|
"company_links": {
|
||||||
|
"website": "← MySovereignty"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1,5 +1,11 @@
|
||||||
{
|
{
|
||||||
"footer": {
|
"footer": {
|
||||||
|
"company_heading": "Entreprise",
|
||||||
|
"company_links": {
|
||||||
|
"website": "← MySovereignty",
|
||||||
|
"ecosystem": "Ecosystème du village",
|
||||||
|
"about_company": "À propos de nous"
|
||||||
|
},
|
||||||
"about_heading": "Tractatus Framework",
|
"about_heading": "Tractatus Framework",
|
||||||
"about_text": "Contraintes architecturales pour la sécurité de l'IA qui préservent l'autonomie humaine par des garanties structurelles, et non aspirationnelles.",
|
"about_text": "Contraintes architecturales pour la sécurité de l'IA qui préservent l'autonomie humaine par des garanties structurelles, et non aspirationnelles.",
|
||||||
"documentation_heading": "Documentation",
|
"documentation_heading": "Documentation",
|
||||||
|
|
@ -16,6 +22,13 @@
|
||||||
"media_inquiries": "Demandes des médias",
|
"media_inquiries": "Demandes des médias",
|
||||||
"submit_case": "Soumettre une étude de cas"
|
"submit_case": "Soumettre une étude de cas"
|
||||||
},
|
},
|
||||||
|
"subscribe_heading": "S'abonner",
|
||||||
|
"subscribe_links": {
|
||||||
|
"newsletter": "Bulletin d'information",
|
||||||
|
"rss_all": "Flux RSS (Tous)",
|
||||||
|
"rss_research": "RSS (Recherche)",
|
||||||
|
"rss_governance": "RSS (Gouvernance)"
|
||||||
|
},
|
||||||
"legal_heading": "Légal",
|
"legal_heading": "Légal",
|
||||||
"legal_links": {
|
"legal_links": {
|
||||||
"privacy": "Politique de confidentialité",
|
"privacy": "Politique de confidentialité",
|
||||||
|
|
@ -54,6 +67,10 @@
|
||||||
},
|
},
|
||||||
"navbar": {
|
"navbar": {
|
||||||
"feedback": "Donner son avis",
|
"feedback": "Donner son avis",
|
||||||
"feedback_desc": "Régie par le Tractatus AL"
|
"feedback_desc": "Régie par le Tractatus AL",
|
||||||
|
"company_heading": "Entreprise",
|
||||||
|
"company_links": {
|
||||||
|
"website": "← MySovereignty"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Reference in a new issue