-
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
1 parent
d22b6d4
commit 6cedb41
Showing
13 changed files
with
88 additions
and
140 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,100 +1,3 @@ | ||
import Image from 'next/image' | ||
|
||
export default function Home() { | ||
return ( | ||
<div className='font-sans grid grid-rows-[20px_1fr_20px] items-center justify-items-center min-h-screen p-8 pb-20 gap-16 sm:p-20'> | ||
<main className='flex flex-col gap-8 row-start-2 items-center sm:items-start'> | ||
<Image | ||
className='dark:invert' | ||
src='/next.svg' | ||
alt='Next.js logo' | ||
width={180} | ||
height={38} | ||
priority | ||
/> | ||
<ol className='font-mono list-inside list-decimal text-sm text-center sm:text-left'> | ||
<li className='mb-2'> | ||
Get started by editing{' '} | ||
<code className='bg-black/[.05] dark:bg-white/[.06] px-1 py-0.5 rounded font-semibold'> | ||
src/app/page.tsx | ||
</code> | ||
</li> | ||
<li>Save and see your changes instantly.</li> | ||
</ol> | ||
|
||
<div className='flex gap-4 items-center flex-col sm:flex-row'> | ||
<a | ||
className='rounded-full border border-solid border-transparent transition-colors flex items-center justify-center bg-foreground text-background gap-2 hover:bg-[#383838] dark:hover:bg-[#ccc] text-sm sm:text-base h-10 sm:h-12 px-4 sm:px-5' | ||
href='https://vercel.com/new?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app' | ||
target='_blank' | ||
rel='noopener noreferrer' | ||
> | ||
<Image | ||
className='dark:invert' | ||
src='/vercel.svg' | ||
alt='Vercel logomark' | ||
width={20} | ||
height={20} | ||
/> | ||
Deploy now | ||
</a> | ||
<a | ||
className='rounded-full border border-solid border-black/[.08] dark:border-white/[.145] transition-colors flex items-center justify-center hover:bg-[#f2f2f2] dark:hover:bg-[#1a1a1a] hover:border-transparent text-sm sm:text-base h-10 sm:h-12 px-4 sm:px-5 sm:min-w-44' | ||
href='https://nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app' | ||
target='_blank' | ||
rel='noopener noreferrer' | ||
> | ||
Read our docs | ||
</a> | ||
</div> | ||
</main> | ||
<footer className='row-start-3 flex gap-6 flex-wrap items-center justify-center'> | ||
<a | ||
className='flex items-center gap-2 hover:underline hover:underline-offset-4' | ||
href='https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app' | ||
target='_blank' | ||
rel='noopener noreferrer' | ||
> | ||
<Image | ||
aria-hidden | ||
src='/file-text.svg' | ||
alt='File icon' | ||
width={16} | ||
height={16} | ||
/> | ||
Learn | ||
</a> | ||
<a | ||
className='flex items-center gap-2 hover:underline hover:underline-offset-4' | ||
href='https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app' | ||
target='_blank' | ||
rel='noopener noreferrer' | ||
> | ||
<Image | ||
aria-hidden | ||
src='/window.svg' | ||
alt='Window icon' | ||
width={16} | ||
height={16} | ||
/> | ||
Examples | ||
</a> | ||
<a | ||
className='flex items-center gap-2 hover:underline hover:underline-offset-4' | ||
href='https://nextjs.org?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app' | ||
target='_blank' | ||
rel='noopener noreferrer' | ||
> | ||
<Image | ||
aria-hidden | ||
src='/globe.svg' | ||
alt='Globe icon' | ||
width={16} | ||
height={16} | ||
/> | ||
Go to nextjs.org → | ||
</a> | ||
</footer> | ||
</div> | ||
) | ||
return <>Hello world!</> | ||
} |
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,43 @@ | ||
import Link from 'next/link' | ||
|
||
const navItems = { | ||
'/': { | ||
name: 'Home', | ||
}, | ||
'/projects': { | ||
name: 'Projects', | ||
}, | ||
'/stack': { | ||
name: 'Stack', | ||
}, | ||
'/contact': { | ||
name: 'Contact', | ||
}, | ||
} | ||
|
||
export function Navbar() { | ||
return ( | ||
<aside className='-ml-[8px] mb-16 tracking-tight'> | ||
<div className='lg:sticky lg:top-20'> | ||
<nav | ||
className='flex flex-row items-start relative px-0 pb-0 fade md:overflow-auto scroll-pr-6 md:relative' | ||
id='nav' | ||
> | ||
<div className='flex flex-row space-x-0 pr-10'> | ||
{Object.entries(navItems).map(([path, { name }]) => { | ||
return ( | ||
<Link | ||
key={path} | ||
href={path} | ||
className='transition-all hover:text-neutral-800 dark:hover:text-neutral-200 flex align-middle relative py-1 px-2' | ||
> | ||
{name} | ||
</Link> | ||
) | ||
})} | ||
</div> | ||
</nav> | ||
</div> | ||
</aside> | ||
) | ||
} |