Improve public pages 2

This commit is contained in:
Urtzi Alfaro
2026-01-05 20:17:44 +01:00
parent 6c6be6f5a5
commit 2c1fc756a1
5 changed files with 181 additions and 28 deletions

View File

@@ -2,18 +2,12 @@ import React, { forwardRef } from 'react';
import { clsx } from 'clsx';
import { Link } from 'react-router-dom';
import { useTranslation } from 'react-i18next';
import { Button } from '../../ui';
import {
Heart,
ExternalLink,
Mail,
Phone,
MapPin,
Github,
Twitter,
Linkedin,
Globe,
Shield,
FileText,
HelpCircle,
MessageSquare
@@ -141,12 +135,6 @@ export const Footer = forwardRef<FooterRef, FooterProps>(({
copyrightText,
showVersion = true,
version = '2.0.0',
showLanguageSelector = false,
languages = [],
currentLanguage = 'es',
onLanguageChange,
showThemeToggle = false,
onThemeToggle,
showPrivacyLinks = true,
compact = false,
children,
@@ -208,12 +196,6 @@ export const Footer = forwardRef<FooterRef, FooterProps>(({
const socialLinksToShow = socialLinks || defaultSocialLinks;
// Privacy links
const privacyLinks: FooterLink[] = [
{ id: 'privacy', label: t('common:footer.links.privacy', 'Privacidad'), href: '/privacy', icon: Shield },
{ id: 'terms', label: t('common:footer.links.terms', 'Términos'), href: '/terms', icon: FileText },
{ id: 'cookies', label: t('common:footer.links.cookies', 'Cookies'), href: '/cookies' },
];
// Scroll into view
const scrollIntoView = React.useCallback(() => {