Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e9d1c42
commit d9bc9bf
Showing
11 changed files
with
1,660 additions
and
314 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
import Header from "./header"; | ||
import Footer from "./footer"; | ||
|
||
function Layout(props) { | ||
export default function Layout(props) { | ||
return ( | ||
<div className="flex flex-col min-h-screen"> | ||
<Header /> | ||
<main className="flex-1 w-full max-w-4xl p-4 mx-auto md:px-8 md:py-16"> | ||
|
||
<main className="flex-1 lg:container px-4 py-6 mx-auto md:px-6 md:py-12"> | ||
{props.children} | ||
</main> | ||
|
||
<Footer /> | ||
</div> | ||
); | ||
} | ||
|
||
export default Layout; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"compilerOptions": { | ||
"baseUrl": ".", | ||
"paths": { | ||
"@components/*": ["components/*"] | ||
} | ||
} | ||
} |
Oops, something went wrong.