Spaces:
Sleeping
Sleeping
Commit
·
bc21530
1
Parent(s):
754c6ef
The NextJS app server is having trouble starting. Please identify what c
Browse files
next.config.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
import type {NextConfig} from 'next';
|
| 2 |
|
| 3 |
const nextConfig: NextConfig = {
|
|
@@ -18,6 +19,11 @@ const nextConfig: NextConfig = {
|
|
| 18 |
},
|
| 19 |
],
|
| 20 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
};
|
| 22 |
|
| 23 |
export default nextConfig;
|
|
|
|
| 1 |
+
|
| 2 |
import type {NextConfig} from 'next';
|
| 3 |
|
| 4 |
const nextConfig: NextConfig = {
|
|
|
|
| 19 |
},
|
| 20 |
],
|
| 21 |
},
|
| 22 |
+
experimental: {
|
| 23 |
+
allowedDevOrigins: [
|
| 24 |
+
'https://6000-firebase-studio-1749886052794.cluster-zumahodzirciuujpqvsniawo3o.cloudworkstations.dev'
|
| 25 |
+
],
|
| 26 |
+
}
|
| 27 |
};
|
| 28 |
|
| 29 |
export default nextConfig;
|
src/components/journey/journey-card.tsx
CHANGED
|
@@ -26,6 +26,7 @@ export function JourneyCard({ journey, index }: JourneyCardProps) {
|
|
| 26 |
data-ai-hint={journey.imageHint}
|
| 27 |
className="object-cover transition-transform duration-300 ease-in-out group-hover:scale-105"
|
| 28 |
sizes="(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"
|
|
|
|
| 29 |
/>
|
| 30 |
</CardHeader>
|
| 31 |
<CardContent className="flex flex-grow items-center justify-between p-4 md:p-6">
|
|
|
|
| 26 |
data-ai-hint={journey.imageHint}
|
| 27 |
className="object-cover transition-transform duration-300 ease-in-out group-hover:scale-105"
|
| 28 |
sizes="(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"
|
| 29 |
+
priority={index < 3} // Add priority for first few images for LCP
|
| 30 |
/>
|
| 31 |
</CardHeader>
|
| 32 |
<CardContent className="flex flex-grow items-center justify-between p-4 md:p-6">
|