This commit is contained in:
2024-03-18 17:24:01 +05:00
parent 58df0badf7
commit a2bbe70589
9 changed files with 191 additions and 4976 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ function ProjectCard({
<div
className="group-hover:scale-110 transition-transform duration-500 absolute top-0 left-0 w-full h-full bg-cover bg-center bg-no-repeat"
style={{
backgroundImage: `url(${process.env.VITE_API_URL}/upload/${image})`,
backgroundImage: `url(${process.env.NEXT_PUBLIC_API_URL}/upload/${image})`,
}}
></div>
<div className="absolute top-0 left-0 w-full h-full bg-gradient-card"></div>
+1 -1
View File
@@ -170,7 +170,7 @@ function EditProjectModal({ projectId }: EditProjectModalProps) {
) : (
project.image && (
<img
src={`${process.env.VITE_API_URL}/upload/${project.image}`}
src={`${process.env.NEXT_PUBLIC_API_URL}/upload/${project.image}`}
alt=""
/>
)