Horizontal scrolling in mobile mode for projects and blogs and add favicon

This commit is contained in:
zahravaziri
2025-06-29 15:46:44 +03:30
parent edaea7e1e0
commit cef9c3bbc1
25 changed files with 313 additions and 125 deletions
+8 -1
View File
@@ -5,6 +5,8 @@ import { getProjects } from '@/services/projects';
import ProjectsGrid from '../project/ProjectGrid';
import Button from '@/components/uikit/button';
import routeFactory from '@/assets/constants/routeFactory';
import ProjectsGridView from '../project/projectGridView';
import ProjectsGridSlider from '../project/projectsGridSlider';
interface Props {
locale: TLocales;
}
@@ -36,8 +38,13 @@ export default async function HomePageProjects({ locale }: Props) {
</Button>
</div>
</div>
<div className="mt-10">
<ProjectsGridSlider
projects={projects.data?.slice(0, 3)}
locale={locale}
/>
</div>
<ProjectsGrid projects={projects.data?.slice(3)} className="mt-10" />
<Button
link={routes.projects.route()}
endIcon="showMore"