mirror of
https://git.meshkee.com/Meshkee-Websites/arad-arisman.git
synced 2026-08-11 20:29:33 +04:30
Self-host hero slider images instead of hotlinking to Unsplash
Production server has no path to fetch images.unsplash.com at request time, so the slider was rendering without backgrounds after deploy. Downloaded and cropped the same 3 photos locally into public/images/ (landscape, ~1920px, ~450-730KB each) and point the slider at them; dropped the now-unused Unsplash remotePattern from next.config.ts.
This commit is contained in:
@@ -3,10 +3,6 @@ import type { NextConfig } from "next";
|
||||
const nextConfig: NextConfig = {
|
||||
images: {
|
||||
remotePatterns: [
|
||||
{
|
||||
protocol: "https",
|
||||
hostname: "images.unsplash.com",
|
||||
},
|
||||
{
|
||||
protocol: "https",
|
||||
hostname: "c804387.parspack.net",
|
||||
|
||||
Reference in New Issue
Block a user