File tree Expand file tree Collapse file tree 3 files changed +32
-1
lines changed
blogs/how_the_blog_feature_works Expand file tree Collapse file tree 3 files changed +32
-1
lines changed Original file line number Diff line number Diff line change
1
+ export const metadata = {
2
+ title: " How the Blog Feature Work..." ,
3
+ description:
4
+ " Learn how to use MDX and NextJS to add static blogs in your website" ,
5
+ isPublished: true ,
6
+ slug: " welcome_to_logsfolio" ,
7
+ publishDate: " 2nd Jul, 2024" ,
8
+ };
9
+
10
+ <br />
11
+
12
+ # How the Blog Feature Work...
13
+
14
+ <br />
15
+ <div className = " flex justify-center" >
16
+ <iframe
17
+ width = " 680"
18
+ height = " 400"
19
+ src = " https://www.youtube.com/embed/mjD5arlOB9A?si=fNs456hV8Jj0ROQw"
20
+ title = " YouTube video player"
21
+ frameborder = " 0"
22
+ allow = " accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
23
+ referrerpolicy = " strict-origin-when-cross-origin"
24
+ allowfullscreen
25
+ ></iframe >
26
+ </div >
27
+ <br />
Original file line number Diff line number Diff line change 2
2
@tailwind components;
3
3
@tailwind utilities;
4
4
5
+ html {
6
+ scroll-behavior : smooth;
7
+ }
8
+
5
9
@layer base {
6
10
: root {
7
11
--background : 0 0% 100% ;
Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ export default async function Home() {
256
256
>
257
257
< h2 className = "font-bold text-3xl md:text-5xl mb-12" > Blogs</ h2 >
258
258
259
- < div className = "space-y-6 " >
259
+ < div className = "flex flex-col space-y-8 " >
260
260
{ posts . map ( ( post ) => (
261
261
< Link key = { post . slug } href = { `/blogs/${ post . slug } ` } >
262
262
< h3 className = "text-xl md:text-3xl font-semibold" >
You can’t perform that action at this time.
0 commit comments