Redesign core pages and connect dynamic content
This commit is contained in:
+15
-1
@@ -7,7 +7,7 @@ const nextConfig: NextConfig = {
|
||||
formats: ["image/avif", "image/webp"],
|
||||
// Every quality value used across the page. Required from Next.js 16 on.
|
||||
qualities: [70, 72, 75, 80, 82, 88, 90],
|
||||
// Portfolio media served live from the meshkee API. The storage host has
|
||||
// Project media served live from the meshkee API. The storage host has
|
||||
// already changed once mid-project (parminstorage.ir -> parspack.net) —
|
||||
// keep both around since either could be what a given item still points to.
|
||||
remotePatterns: [
|
||||
@@ -16,6 +16,20 @@ const nextConfig: NextConfig = {
|
||||
{ protocol: "https", hostname: "c804387.parspack.net" },
|
||||
],
|
||||
},
|
||||
async redirects() {
|
||||
return [
|
||||
{
|
||||
source: "/our-services",
|
||||
destination: "/atelier",
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: "/portfolios/:path*",
|
||||
destination: "/projects/:path*",
|
||||
permanent: true,
|
||||
},
|
||||
];
|
||||
},
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
|
||||
Reference in New Issue
Block a user