- Added image quality settings and device sizes in next.config.ts for better image optimization. - Updated package dependencies, including cheerio and baseline-browser-mapping. - Improved global styles for blog content images to ensure responsiveness. - Refactored button components for consistent sizing and styling across the application. - Enhanced blog post card layout with new variants and improved author name formatting. - Adjusted hero section and content layout for better visual appeal and user experience.
33 lines
706 B
TypeScript
33 lines
706 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: 'standalone',
|
|
images: {
|
|
qualities: [100, 75],
|
|
deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840],
|
|
remotePatterns: [
|
|
{
|
|
protocol: "https",
|
|
hostname: "ik.imagekit.io",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "images.unsplash.com",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "wpa.feep.ir",
|
|
},
|
|
],
|
|
},
|
|
typescript: {
|
|
// !! WARN !!
|
|
// Dangerously allow production builds to successfully complete even if
|
|
// your project has type errors.
|
|
// !! WARN !!
|
|
ignoreBuildErrors: true,
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|