File tree 3 files changed +19
-9
lines changed
3 files changed +19
-9
lines changed Original file line number Diff line number Diff line change 1
1
import Link from "next/link" ;
2
2
3
+ import { Button } from "@/components/ui/button" ;
4
+
3
5
export default function Home ( ) {
4
6
return (
5
- < >
6
- < section > My NextJs Minimal Blog Boilerplate.</ section >
7
- < p > Ready to go with minimal setup. Move fast with blogs.</ p >
8
- < br />
9
- < Link href = "/blog" > Blog →</ Link >
10
- </ >
7
+ < main className = "flex min-h-screen flex-col items-center p-24" >
8
+ < h1 className = "text-2xl font-bold" > Blog Fast!</ h1 >
9
+ < p > Start your blog in < span className = "text-purple-800 font-bold dark:text-purple-500" > few hours not few days.</ span > </ p >
10
+ < small className = "my-4" >
11
+ Ready to go, < span className = "text-purple-800 font-bold dark:text-purple-500" > done for you NextJs blog setup</ span > .
12
+ Clone, write your first blog, and deploy. As simple as that.
13
+ < br /> < br />
14
+ Focus on writing, not on setting up the blog.
15
+ < br /> < br />
16
+ New templates launching soon.
17
+ </ small >
18
+ < Link href = "/blog" >
19
+ < Button > Read blogs</ Button >
20
+ </ Link >
21
+ </ main >
11
22
) ;
12
23
}
Original file line number Diff line number Diff line change @@ -3,14 +3,13 @@ import { cn } from "@/lib/utils";
3
3
import Link from "next/link" ;
4
4
import { buttonVariants } from "./ui/button" ;
5
5
import { Icons } from "./icons" ;
6
- // import { MainNav } from "./main-nav";
7
6
import { ModeToggle } from "./mode-toggle" ;
8
7
9
8
export function SiteHeader ( ) {
10
9
return (
11
10
< header className = "sticky top-0 w-full border-b border-border bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60" >
12
11
< div className = "container flex h-14 max-w-screen-2xl items-center" >
13
- { /* <MainNav /> */ }
12
+ < Link href = "/" > BlogFast </ Link >
14
13
< div className = "flex flex-1 items-center justify-end space-x-2" >
15
14
< nav className = "flex items-center" >
16
15
< ModeToggle />
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " nextjs- blog-boilerplate " ,
2
+ "name" : " blog-fast " ,
3
3
"version" : " 0.1.0" ,
4
4
"private" : true ,
5
5
"scripts" : {
You can’t perform that action at this time.
0 commit comments