diff --git a/NextJS/123_script_link_image_component/app/about/page.js b/NextJS/123_script_link_image_component/app/about/page.js
index c71f180..a9ad5e0 100644
--- a/NextJS/123_script_link_image_component/app/about/page.js
+++ b/NextJS/123_script_link_image_component/app/about/page.js
@@ -8,4 +8,9 @@ const about = () => {
)
}
-export default about
\ No newline at end of file
+export default about
+
+export const metadata = {
+ title: "About Facebook - Contact with peoples",
+ description: "This is about facebook",
+};
\ No newline at end of file
diff --git a/NextJS/123_script_link_image_component/app/contact/page.js b/NextJS/123_script_link_image_component/app/contact/page.js
index 7797867..05b5c11 100644
--- a/NextJS/123_script_link_image_component/app/contact/page.js
+++ b/NextJS/123_script_link_image_component/app/contact/page.js
@@ -1,12 +1,20 @@
import React from 'react'
-
+import Script from 'next/script'
const contact = () => {
return (
+
I am Contact
)
}
-export default contact
\ No newline at end of file
+export default contact
+
+export const metadata = {
+ title: "Contact Facebook - Contact with peoples",
+ description: "This is Contact facebook",
+};
\ No newline at end of file
diff --git a/NextJS/123_script_link_image_component/app/page.js b/NextJS/123_script_link_image_component/app/page.js
index 0690fdd..f605442 100644
--- a/NextJS/123_script_link_image_component/app/page.js
+++ b/NextJS/123_script_link_image_component/app/page.js
@@ -2,8 +2,10 @@ import Image from "next/image";
export default function Home() {
return (
-
+
I am Home
+
+
);
}
diff --git a/NextJS/123_script_link_image_component/next.config.mjs b/NextJS/123_script_link_image_component/next.config.mjs
index 4678774..0b54eef 100644
--- a/NextJS/123_script_link_image_component/next.config.mjs
+++ b/NextJS/123_script_link_image_component/next.config.mjs
@@ -1,4 +1,15 @@
/** @type {import('next').NextConfig} */
-const nextConfig = {};
+const nextConfig = {
+ images: {
+ remotePatterns: [
+ {
+ protocol: 'https',
+ hostname: 'www.simplilearn.com',
+ port: '',
+
+ },
+ ],
+ },
+};
export default nextConfig;