Skip to content

Commit

Permalink
refactor: update home page
Browse files Browse the repository at this point in the history
  • Loading branch information
enesozturk committed Dec 11, 2021
1 parent 7968c00 commit 3f7a7d6
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,25 @@ import Link from "next/link";

export default function Home() {
return (
<div className="app">
<main className="flex-1 flex bg-white dark:bg-gray-800 text-gray-900 dark:text-white relative overflow-scroll">
<div className="flex-1 p-8 pb-0 box-border overflow-scroll markdown"></div>
<div className="flex-1 p-8 box-border overflow-hidden">
<Link href="lesson/1/chapter/13">go course</Link>
</div>
<div className="app bg-white dark:bg-gray-800 text-gray-900 dark:text-white">
<nav>
<div className="container mx-auto px-4"></div>
</nav>
<main className="flex flex-col items-center relative relative max-w-5xl mx-auto pt-20 sm:pt-24 lg:pt-32">
<h1 className=" font-extrabold text-4xl sm:text-5xl lg:text-6xl tracking-tight text-center">
Create awesome courses that let your audience learn by coding.
</h1>
<p className="mt-6 text-lg text-gray-600 dark:text-gray-400 text-center max-w-3xl mx-auto">
We have spent lots of time to both make the video courses and learn
anything from them. Best way to learn coding is obvious: writing code.
Awesome Course lets you create your own courses that let your audience
learn by coding.
</p>
<Link href="lesson/1/chapter/13">
<a className="mt-6 bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded-full">
go course
</a>
</Link>
</main>
</div>
);
Expand Down

1 comment on commit 3f7a7d6

@vercel
Copy link

@vercel vercel bot commented on 3f7a7d6 Dec 11, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please # to comment.