-
Notifications
You must be signed in to change notification settings - Fork 0
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
Maxwell Omdal
committed
Dec 7, 2023
1 parent
971e68a
commit f062903
Showing
16 changed files
with
2,212 additions
and
83 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,3 +47,6 @@ yarn-error.log* | |
|
||
# Next | ||
.next | ||
|
||
# IDE specific stuff | ||
.vscode |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import Logo from "@/components/Logo"; | ||
|
||
const copyright = "©2023 Sequoia Fabrica. All rights reserved." | ||
|
||
export default function Footer() { | ||
return ( | ||
<header className='header bg-pigment_green-300 dark:bg-neutral-700 text-center md:text-left'> | ||
<Logo type='stacked'/> | ||
</header> | ||
); | ||
}; |
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,10 +1,25 @@ | ||
import Image from 'next/image'; | ||
import Horizontal_Logo from "@/public/sf_logo_horizontal.svg"; | ||
import Stacked_Logo from "@/public/sf_logo_stacked.svg"; | ||
|
||
export default function Logo() { | ||
interface LogoProps { | ||
type: 'stacked' | 'horizontal' | ||
} | ||
|
||
const Logo: React.FC<LogoProps> = ({ type = 'horizontal' }) => { | ||
if (type == 'horizontal') { | ||
return ( | ||
<a href='/'> | ||
<Image className="m-auto scale-150 md:scale-[2] lg:scale-[3]" priority src={Horizontal_Logo} alt="Sequoia Fabrica" /> | ||
</a> | ||
); | ||
} | ||
} else if (type == 'stacked') { | ||
return ( | ||
<a href='/'> | ||
<Image className="m-auto" priority src={Stacked_Logo} alt="Sequoia Fabrica" /> | ||
</a> | ||
); | ||
} | ||
} | ||
|
||
export default Logo; |
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,13 @@ | ||
import Footer from "@/components/Footer"; | ||
import Header from "@/components/Header"; | ||
|
||
export default function MdxLayout({ children }: { children: React.ReactNode }) { | ||
// Create any shared layout or styles here | ||
return <div> | ||
<Header /> | ||
<div className="bg-white_smoke"> | ||
<div className="m-auto max-w-2xl p-5">{children}</div> | ||
</div> | ||
<Footer /> | ||
</div> | ||
} |
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,11 +1,15 @@ | ||
/** @type {import('next').NextConfig} */ | ||
|
||
const withMDX = require('@next/mdx')() | ||
|
||
const nextConfig = { | ||
output: 'export', | ||
distDir: 'build', | ||
reactStrictMode: true, | ||
images: { | ||
unoptimized: true, | ||
}, | ||
pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx'], | ||
} | ||
|
||
module.exports = nextConfig | ||
module.exports = withMDX(nextConfig) |
Oops, something went wrong.