diff --git a/next.config.js b/next.config.js index 8e08453..fc638e5 100644 --- a/next.config.js +++ b/next.config.js @@ -3,5 +3,12 @@ module.exports = { output: "standalone", images: { formats: ['image/webp', 'image/avif'], + remotePatterns: [ + { + protocol: 'https', + hostname: 'img.leboncoin.fr', + port: '', + } + ] }, }; \ No newline at end of file diff --git a/src/app/produits/page.tsx b/src/app/produits/page.tsx index 47b1a87..0286c37 100644 --- a/src/app/produits/page.tsx +++ b/src/app/produits/page.tsx @@ -1,5 +1,6 @@ import { Container } from "@/components/Container"; import Products from "@/components/products"; +import Image from "next/image"; export default function ArticlesPage() { return ( @@ -10,10 +11,12 @@ export default function ArticlesPage() {
{Products.map((article, index) => (
- {article.title}

{article.title}

{article.description}

diff --git a/src/components/Hero.tsx b/src/components/Hero.tsx index a4c66e1..8ee7831 100644 --- a/src/components/Hero.tsx +++ b/src/components/Hero.tsx @@ -29,8 +29,8 @@ export const Hero = () => {
- Hero Illustration - {/* Hero Illustration */} + { alt="Hero Illustration" loading="eager" placeholder="blur" - /> */} + />