import type { NextConfig } from 'next'; const nextConfig: NextConfig = { async redirects() { return [ { source: '/blog', destination: '/', permanent: true }, { source: '/blog/:slug*', destination: '/', permanent: true }, { source: '/contact', destination: '/#contact', permanent: true }, ]; }, }; export default nextConfig;