feat: Add service details page with API integration

This commit is contained in:
nguyenvanbao
2026-02-03 10:18:53 +07:00
parent 8d105dda9c
commit 9f67fd44ef
8 changed files with 1136 additions and 71 deletions

5
app/utils/image.ts Normal file
View File

@@ -0,0 +1,5 @@
export const imageUrl = (path?: string) => {
if (!path) return "";
if (path.startsWith("http")) return path;
return `${process.env.NEXT_PUBLIC_API_URL}/${path}`;
};