fix(i18n): traducir Hero y Footer completamente (es/en), restaurar /mwp/ WordPress
- Hero: extraído de hardcoded español/inglés a usar traducciones (i18n/ui.ts) - Footer: 'Maldonado, Uruguay' ahora viene de la traducción - Hero badges (26+ años, Uptime, Soporte, Maldonado) ahora son traducibles - Footer subline (Web, correo, infraestructura...) ahora es traducible - Hero CTAs cambiaron: 'Ver planes' + 'Hablar por WhatsApp' (antes 'Ver servicios') RESTAURACIÓN CRÍTICA: - /home/hostingd/public_html/mwp/ había sido borrado por error en un deploy previo - Restaurado desde /home/hostingd/mwp-backup-20260608-222300.tar.gz (74MB) - WordPress ahora responde en https://mwp.hostingdelsur.net (200) - Backup del WordPress queda en /home/hostingd/ para emergencias futuras
This commit is contained in:
@@ -10,6 +10,7 @@ interface Props {
|
||||
const { t, lang } = Astro.props;
|
||||
const year = new Date().getFullYear();
|
||||
const base = lang === 'en' ? '/en' : '';
|
||||
const locationText = lang === 'en' ? 'Maldonado, Uruguay' : 'Maldonado, Uruguay';
|
||||
|
||||
const navLinks: { href: string; key: TranslationKey }[] = [
|
||||
{ href: `${base}/`, key: 'nav.home' },
|
||||
@@ -39,7 +40,7 @@ const legalLinks = [
|
||||
{t('footer.tagline')}
|
||||
</p>
|
||||
<p class="text-xs mt-4" style="color: #8A8580;">
|
||||
{lang === 'en' ? 'Web, email, infrastructure and human support in Uruguay.' : 'Web, correo, infraestructura y soporte humano en Uruguay.'}
|
||||
{t('footer.subline')}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -77,7 +78,7 @@ const legalLinks = [
|
||||
contacto@hostingdelsur.net
|
||||
</a>
|
||||
</li>
|
||||
<li>Maldonado, Uruguay</li>
|
||||
<li>{locationText}</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -103,7 +104,7 @@ const legalLinks = [
|
||||
|
||||
<div class="mt-12 pt-6 border-t flex flex-col sm:flex-row sm:justify-between gap-3 text-xs" style="border-color: #2A2520; color: #8A8580;">
|
||||
<p>© {year} Hosting del Sur. {t('footer.copyright')}</p>
|
||||
<p>Maldonado, Uruguay</p>
|
||||
<p>{locationText}</p>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
Reference in New Issue
Block a user