Merge remote-tracking branch 'origin/main' into navbar

This commit is contained in:
Zahra Vaziri
2025-06-15 21:13:12 +03:30
22 changed files with 683 additions and 87 deletions
-3
View File
@@ -1,8 +1,6 @@
'use server';
import { IProjectCardProps } from '@/components/pages/project/project';
import api from '@/lib/axios';
import { IResponse } from '@/models/response';
import { cookies } from 'next/headers';
export async function getProjects() {
@@ -12,7 +10,6 @@ export async function getProjects() {
headers: {
Cookie: cookiesStore.toString(),
},
})
.then(({ data }) => Promise.resolve(data.data))
.catch((error) => Promise.reject(error));