Latest Blog
diff --git a/components/layout.tsx b/components/layout.tsx
index 1b9538df..701c6fb1 100644
--- a/components/layout.tsx
+++ b/components/layout.tsx
@@ -1,10 +1,18 @@
import { Post } from "../types/post";
-import Alert from './alert'
-import Footer from './footer'
-import Meta from './meta'
+import Alert from './alert';
+import Footer from './footer';
+import Meta from './meta';
import Script from 'next/script';
import { motion } from "framer-motion";
-export default function Layout({ preview, children, featuredImage, Title, Description }:{
+import Header from './header';
+
+export default function Layout({
+ preview,
+ children,
+ featuredImage,
+ Title,
+ Description,
+}: {
preview: any;
Description: any;
featuredImage: Post["featuredImage"]["node"]["sourceUrl"];
@@ -23,10 +31,12 @@ export default function Layout({ preview, children, featuredImage, Title, Descri
stiffness: 260,
damping: 20,
}}
- className="min-h-screen"
+ className="min-h-screen bg-white text-black dark:bg-gray-900 dark:text-white transition-colors duration-500"
>
- {/*
*/}
-
{children}
+
+
+ {children}
+
@@ -44,8 +54,6 @@ export default function Layout({ preview, children, featuredImage, Title, Descri
}}
/>
-
-
- {/* publisher Script */}
-
+ id="swg-basic"
+ src="https://news.google.com/swg/js/v1/swg-basic.js">
+
-