Improve the frontend 3
This commit is contained in:
@@ -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 */}
|
||||
|
||||
@@ -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> = {
|
||||
|
||||
Reference in New Issue
Block a user