Improve the frontend 3

This commit is contained in:
Urtzi Alfaro
2025-10-30 21:08:07 +01:00
parent 36217a2729
commit 63f5c6d512
184 changed files with 21512 additions and 7442 deletions

View File

@@ -396,6 +396,14 @@ export const Footer = forwardRef<FooterRef, FooterProps>(({
)}
</div>
{/* Made with love in Madrid */}
{!compact && (
<div className="flex items-center gap-2 text-[var(--text-tertiary)]">
<Heart className="w-4 h-4 text-red-500 fill-red-500" />
<span>{t('common:footer.made_with_love', 'Hecho con amor en Madrid')}</span>
</div>
)}
{/* Essential utilities only */}
<div className="flex items-center gap-4">
{/* Privacy links - minimal set */}

View File

@@ -168,12 +168,6 @@ export const Sidebar = forwardRef<SidebarRef, SidebarProps>(({
const baseNavigationRoutes = useMemo(() => getNavigationRoutes(), []);
const { filteredRoutes: subscriptionFilteredRoutes } = useSubscriptionAwareRoutes(baseNavigationRoutes);
// Force re-render when subscription changes
useEffect(() => {
// The subscriptionVersion change will trigger a re-render
// This ensures the sidebar picks up new route filtering based on updated subscription
}, [subscriptionVersion]);
// Map route paths to translation keys
const getTranslationKey = (routePath: string): string => {
const pathMappings: Record<string, string> = {