mirror of
https://github.com/Dokploy/website.git
synced 2026-06-15 20:25:25 +02:00
refactor: update Next.js configuration and blog post styling
- Replaced the deprecated 'domains' property with 'remotePatterns' in the Next.js configuration for image handling. - Adjusted the margin of the blog post link to improve layout consistency.
This commit is contained in:
@@ -221,7 +221,7 @@ export default async function BlogPostPage({ params }: Props) {
|
||||
<article className="mx-auto w-full max-w-7xl px-4 pb-12 sm:px-6 lg:px-8">
|
||||
<Link
|
||||
href="/blog"
|
||||
className="mb-8 inline-flex items-center text-primary transition-colors hover:text-primary/80"
|
||||
className="mb-8 inline-flex items-center text-primary transition-colors hover:text-primary/80 mt-20"
|
||||
>
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
|
||||
@@ -2,20 +2,34 @@
|
||||
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
eslint: {
|
||||
ignoreDuringBuilds: true,
|
||||
},
|
||||
typescript: {
|
||||
ignoreBuildErrors: true,
|
||||
},
|
||||
images: {
|
||||
domains: [
|
||||
"static.ghost.org",
|
||||
"testing-ghost-8423be-31-220-108-27.traefik.me",
|
||||
"images.unsplash.com",
|
||||
"www.gravatar.com",
|
||||
"cms.dokploy.com",
|
||||
remotePatterns: [
|
||||
{
|
||||
hostname: "static.ghost.org",
|
||||
},
|
||||
{
|
||||
hostname: "testing-ghost-8423be-31-220-108-27.traefik.me",
|
||||
},
|
||||
{
|
||||
hostname: "images.unsplash.com",
|
||||
},
|
||||
{
|
||||
hostname: "www.gravatar.com",
|
||||
},
|
||||
{
|
||||
hostname: "cms.dokploy.com",
|
||||
},
|
||||
],
|
||||
// domains: [
|
||||
// "static.ghost.org",
|
||||
// "testing-ghost-8423be-31-220-108-27.traefik.me",
|
||||
// "images.unsplash.com",
|
||||
// "www.gravatar.com",
|
||||
// "cms.dokploy.com",
|
||||
// ],
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user