mirror of
https://github.com/vercel/next-learn.git
synced 2026-07-08 22:46:01 +00:00
* Duplicate starter
* Remove code for chapter 16
* Add code for chapter 15
* first 3 chapters
* Remove routes and actions
* chapter 3
* Chapters 12-13
* chapter 5
* Revert "Chapters 12-13"
This reverts commit b6da764d85.
* re-add Link to page
* chapter 5
* chapter 6
* Chapter 11 and 12
* chapter 7
* Revert
* Chapter 11
* Remove PPR flag
* chapter 8
* Chapter 9
* switch from pnpm to npm
* 💅
* Create pnpm-lock.yaml
* build errors
* Fix
* Fix
* Update next
* Update nextauth
---------
Co-authored-by: StephDietz <steph.dietz@vercel.com>
32 lines
1.3 KiB
TypeScript
32 lines
1.3 KiB
TypeScript
import AcmeLogo from '@/app/ui/acme-logo';
|
|
import Link from 'next/link';
|
|
export default function Page() {
|
|
return (
|
|
<main className="flex min-h-screen flex-col p-6">
|
|
<div className="flex h-20 shrink-0 items-end rounded-lg bg-blue-500 p-4 md:h-52">
|
|
{/* <AcmeLogo /> */}
|
|
</div>
|
|
<div className="mt-4 flex grow flex-col gap-4 md:flex-row">
|
|
<div className="flex flex-col justify-center gap-6 rounded-lg bg-gray-50 px-6 py-10 md:w-2/5 md:px-20">
|
|
<p className={`text-xl text-gray-800 md:text-3xl md:leading-normal`}>
|
|
<strong>Welcome to Acme.</strong> This is the example for the{' '}
|
|
<a href="https://nextjs.org/learn/" className="text-blue-500">
|
|
Next.js Learn Course
|
|
</a>
|
|
, brought to you by Vercel.
|
|
</p>
|
|
<Link
|
|
href="/login"
|
|
className="flex items-center gap-5 self-start rounded-lg bg-blue-500 px-6 py-3 text-sm font-medium text-white transition-colors hover:bg-blue-400 md:text-base"
|
|
>
|
|
<span>Log in</span>
|
|
</Link>
|
|
</div>
|
|
<div className="flex items-center justify-center p-6 md:w-3/5 md:px-28 md:py-12">
|
|
{/* Add Hero Images Here */}
|
|
</div>
|
|
</div>
|
|
</main>
|
|
);
|
|
}
|