diff --git a/src/App.tsx b/src/App.tsx index 1e7e2be..1f7b931 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -163,10 +163,10 @@ const AppContent: React.FC = () => { return ( (filters.platform === '' || (creator.platforms || []).some(platform => - platform.toLowerCase().includes(filters.platform.toLowerCase()) + platform && platform.toLowerCase().includes(filters.platform.toLowerCase()) )) && (filters.focus === '' || (creator.focus || []).some(f => - f.toLowerCase().includes(filters.focus.toLowerCase()) + f && f.toLowerCase().includes(filters.focus.toLowerCase()) )) && (filters.status === '' || creator.status === filters.status) && (filters.type === '' || creator.type === filters.type) && diff --git a/src/components/SEO.tsx b/src/components/SEO.tsx index f94fda1..b2c9691 100644 --- a/src/components/SEO.tsx +++ b/src/components/SEO.tsx @@ -8,9 +8,9 @@ interface SEOProps { } const SEO: React.FC = ({ - title = 'Creator Agencies - Find the Perfect Agency for Your Content', - description = 'Discover and compare creator agencies. Find the perfect agency for your content creation needs with our comprehensive database of agencies, their focus areas, and requirements.', - keywords = 'creator agencies, content creator, influencer marketing, agency database, content creation, social media agencies' + title = 'DACH Creator Agenturen - Finde die perfekte Agentur für deinen Content', + description = 'Entdecke und vergleiche Creator-Agenturen im DACH-Raum. Finde die perfekte Agentur für deine Content Creation mit unserer umfassenden Datenbank von Agenturen, deren Schwerpunkten und Anforderungen.', + keywords = 'creator agenturen, content creator, influencer marketing, agentur datenbank, content creation, social media agenturen, DACH, Deutschland, Österreich, Schweiz' }) => { return ( @@ -31,7 +31,7 @@ const SEO: React.FC = ({ {/* Additional SEO tags */} - + diff --git a/src/components/SearchAndFilter.tsx b/src/components/SearchAndFilter.tsx index eb1abc8..8663f76 100644 --- a/src/components/SearchAndFilter.tsx +++ b/src/components/SearchAndFilter.tsx @@ -5,14 +5,14 @@ import { useTranslation, useNumberFormat } from '../i18n/I18nProvider'; interface SearchAndFilterProps { onSearch: (query: string) => void; - onFilterChange: (filters: { + onFilterChange: (filters: Partial<{ platform: string; status: string; minFollowers: number; focus: string; type: string; pricing_model: string; - }) => void; + }>) => void; data: Creator[]; }