Skip to content

Commit 61f509a

Browse files
committed
photography page made
1 parent 0edd96d commit 61f509a

File tree

7 files changed

+706
-116
lines changed

7 files changed

+706
-116
lines changed

.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CLOUDINARY_URL=cloudinary://887487813663316:VwYy6SpWKubz3CxXHl9fPOiAnAo@dvivjvhxu
2+
REVALIDATION_SECRET=fajkepwjfewiofjmaewpfijwapfmaepicjeawnvaipwn

next.config.mjs

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,21 @@ const nextConfig = {
44
images: {
55
remotePatterns: [
66
{
7-
protocol: "https",
87
hostname: "images.unsplash.com",
9-
port: "",
10-
pathname: "**",
118
},
9+
{
10+
hostname: "res.cloudinary.com",
11+
},
12+
{
13+
hostname: "api.microlink.io",
14+
}
1215
],
13-
domains: [
14-
"api.microlink.io", // Microlink Image Preview
15-
],
16-
formats: ["image/webp"],
16+
formats: ["image/webp", "image/avif"],
1717
unoptimized: true
1818
},
1919
experimental: {
2020
optimizeCss: true,
2121
},
22-
// webpack: (
23-
// config,
24-
// { buildId, dev, isServer, defaultLoaders, nextRuntime, webpack }
25-
// ) => {
26-
// // Important: return the modified config
27-
// config.module.rules.push({
28-
// test: ''
29-
// })
30-
// return config;
31-
// },
3222
};
3323

3424
export default nextConfig;

0 commit comments

Comments
 (0)