Improve public pages 2
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user