Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,10 @@

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) &&
Expand Down Expand Up @@ -325,7 +325,7 @@
</h2>
<SearchAndFilter
onSearch={handleSearch}
onFilterChange={handleFilterChange}

Check failure on line 328 in src/App.tsx

View workflow job for this annotation

GitHub Actions / Code Quality

Type '(newFilters: { platform: string; status: string; minFollowers: number; focus: string; type: string; pricing_model: string; }) => void' is not assignable to type '(filters: Partial<{ platform: string; status: string; minFollowers: number; focus: string; type: string; pricing_model: string; }>) => void'.
data={creators}
/>
</section>
Expand Down
8 changes: 4 additions & 4 deletions src/components/SEO.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ interface SEOProps {
}

const SEO: React.FC<SEOProps> = ({
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 (
<Helmet>
Expand All @@ -31,7 +31,7 @@ const SEO: React.FC<SEOProps> = ({

{/* Additional SEO tags */}
<meta name="robots" content="index, follow" />
<meta name="language" content="English" />
<meta name="language" content="German" />
<meta name="revisit-after" content="7 days" />
<link rel="canonical" href="https://agencies.xboxdev.com" />
</Helmet>
Expand Down
4 changes: 2 additions & 2 deletions src/components/SearchAndFilter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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[];
}

Expand Down
Loading