Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added app/about/page.tsx
Empty file.
Empty file added app/blog/[...slug]/page.tsx
Empty file.
Empty file added app/contact/page.tsx
Empty file.
2 changes: 2 additions & 0 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import '../styles/global.css'

export default function RootLayout({
children,
}: {
Expand Down
15 changes: 13 additions & 2 deletions app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@

import Link from 'next/link'
import styles from '../styles/home.module.css'

export default async function Home() {
return <div>hello</div>
return <div className={styles.home}>
<div>
<div> <h1>Hi, My name is Manel </h1></div>
<div>
<Link href= "/blog">Check my blog</Link>
</div>
<div>
<Link href="/contact"> contact me </Link>
</div>
</div>
</div>
}
9 changes: 8 additions & 1 deletion styles/global.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
body, html {
margin: 0px;
padding: 0px;

}


* {
box-sizing: border-box;
}
}
9 changes: 9 additions & 0 deletions styles/home.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.home{
height: 100vh;
width: 100vw;
background: black;
color: white;
display: flex;
justify-content: center;
align-items: center;
}