diff --git a/src/app/(main)/blog/[slug]/page.tsx b/src/app/(main)/blog/[slug]/page.tsx index 81a72ae..d4f4ad6 100644 --- a/src/app/(main)/blog/[slug]/page.tsx +++ b/src/app/(main)/blog/[slug]/page.tsx @@ -1,6 +1,7 @@ import HeroImage from "@/components/HeroImage"; import { getDefaultMetadata } from "@/utils/metadata"; import { Metadata } from "next"; +import Image from "next/image"; const metaDesc = "Explore the latest insights, news, and resources on the Dynamic Realty blog. Read our articles today."; @@ -68,7 +69,7 @@ export default function BlogDetail() {
- +
@@ -88,7 +89,7 @@ export default function BlogDetail() {
- +
@@ -140,7 +141,7 @@ export default function BlogDetail() {
- +
@@ -153,7 +154,7 @@ export default function BlogDetail() {
- +
@@ -166,7 +167,7 @@ export default function BlogDetail() {
- +
diff --git a/src/app/(main)/layout.tsx b/src/app/(main)/layout.tsx index 5c816da..0592a8a 100644 --- a/src/app/(main)/layout.tsx +++ b/src/app/(main)/layout.tsx @@ -5,6 +5,7 @@ import { Metadata } from "next"; import { getDefaultMetadata } from "@/utils/metadata"; import Header from "@/components/layouts/Header"; import Footer from "@/components/layouts/Footer"; +import Image from "next/image"; const geistSans = Geist({ variable: "--font-geist-sans", @@ -57,7 +58,7 @@ export default function RootLayout({ >
- { - return true; - }, + read: () => true, }, }; diff --git a/src/components/layouts/Footer.tsx b/src/components/layouts/Footer.tsx index a759460..61fac2c 100644 --- a/src/components/layouts/Footer.tsx +++ b/src/components/layouts/Footer.tsx @@ -1,3 +1,5 @@ +import Image from "next/image"; + export default function Footer() { return ( <> @@ -10,7 +12,7 @@ export default function Footer() {
- +