header is responsive now

This commit is contained in:
parsa aghaei committed 2024-09-23 16:31:48 +03:30
1 parent f984d61091
commit 3e757c5481
124 files changed
+238 -402

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
import { NextResponse } from "next/server";
export async function GET() {
const response = await fetch(`${process.env.NEXT_PUBLIC_API_URL}/about-me`, {
cache: "no-store" // غیرفعال کردن کش
});
const data = await response.json();
return NextResponse.json(data);
}
+9
View File
@@ -0,0 +1,9 @@
import { NextResponse } from "next/server";
export async function GET() {
const response = await fetch(`${process.env.NEXT_PUBLIC_API_URL}/projects`, {
cache: "no-store" // غیرفعال کردن کش
});
const data = await response.json();
return NextResponse.json(data);
}