diff --git a/src/app/[locale]/page.tsx b/src/app/[locale]/page.tsx index c72d733..d59c900 100644 --- a/src/app/[locale]/page.tsx +++ b/src/app/[locale]/page.tsx @@ -1,7 +1,6 @@ import { getTranslations } from 'next-intl/server' -import { getProjects, getAllTags } from '@/hooks/useProjects' +import { getProjects } from '@/hooks/useProjects' import { ProjectList } from '@/components/project/ProjectList' -import { TagCloud } from '@/components/project/TagCloud' import { SearchBar } from '@/components/search/SearchBar' import { Suspense } from 'react' @@ -14,10 +13,7 @@ export default async function HomePage({ params }: HomePageProps) { const t = await getTranslations('home') const tCommon = await getTranslations('common') - const [projectsData, tags] = await Promise.all([ - getProjects({ limit: 6 }), - getAllTags(), - ]) + const projectsData = await getProjects({ limit: 6 }) return ( <> @@ -42,14 +38,6 @@ export default async function HomePage({ params }: HomePageProps) { - {/* Browse by Tags Section */} -
-

- {t('browseByTagsSection')} -

- -
- {/* Featured Projects Section */}
diff --git a/src/app/[locale]/projects/page.tsx b/src/app/[locale]/projects/page.tsx index b36757a..57eff01 100644 --- a/src/app/[locale]/projects/page.tsx +++ b/src/app/[locale]/projects/page.tsx @@ -29,22 +29,7 @@ export default async function ProjectsPage({ ]) return ( -
- {/* Decorative shapes */} -
-
- - {/* Page Header */} -
-

- PROJECT
NAVIGATOR -

-

- Discover and explore high-quality AI projects from across the web.
- Curated for developers and enthusiasts. -

-
- +
{/* Search and Filter Section */}
}>