Skip to content

Commit ace21ef

Browse files
committed
add rest of details
1 parent 5057ffa commit ace21ef

2 files changed

Lines changed: 4 additions & 30 deletions

File tree

‎frontend/main/src/components/HomeDetails.tsx‎

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -25,36 +25,6 @@ const HomeDetail = ({ site, recentPosts }: StaticParams) => {
2525
return (
2626
<>
2727
<div>
28-
{/* Hero */}
29-
<section className="grid justify-center grid-cols-1 p-8 mx-auto 2xl:gap-10 lg:grid-cols-2 lg:px-10 2xl:min-h-768 max-w-7xl">
30-
<section className="grid items-center content-center grid-cols-1 gap-4 mx-auto 2xl:mx-0 2xl:justify-self-end">
31-
<h1 className="pt-4 -mb-4 text-5xl leading-snug tracking-tight vertical-text-clip xl:tracking-wide xl:text-6xl xl:leading-snug 2xl:text-7xl 2xl:leading-snug">
32-
Purrfect
33-
<br />
34-
Web Tutorials
35-
</h1>
36-
<p className="font-sans 2xl:text-2xl" style={{ maxWidth: `40ch` }}>
37-
Get the skills you need to become a better web developer today.
38-
High quality courses with custom certificates and projects to show
39-
off your new skills.
40-
</p>
41-
<div className="flex flex-wrap gap-4">
42-
<Link href="/courses">
43-
<a className="btn-secondary justify-self-end" role="button">
44-
Start Now
45-
</a>
46-
</Link>
47-
<Link href="/user/profile">
48-
<a className="btn-primary justify-self-start" role="button">
49-
Join CodingCat.dev
50-
</a>
51-
</Link>
52-
</div>
53-
</section>
54-
<section className="grid grid-cols-1 row-start-1 -ml-10 lg:col-start-2 place-items-center 3xl:justify-items-start 3xl:ml-0">
55-
<AJPrimary className="w-1/2 max-w-xs lg:w-3/4 lg:max-w-md" />
56-
</section>
57-
</section>
5828
{/* COURSES */}
5929
<BreakBarLeft>
6030
<Skills />

‎frontend/main/src/pages/index.tsx‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import { getSite } from '@/services/notion.server';
1010
import { getRecent } from '@/services/notion.server';
1111
import dynamic from 'next/dynamic';
1212
import Image from 'next/image';
13+
import HomeDetail from '@/components/HomeDetails';
1314

1415
const Profile = dynamic(() => import('@/components/user/Profile'), {
1516
ssr: false,
@@ -82,6 +83,9 @@ const Home = ({
8283

8384
<Profile main={true} />
8485
</section>
86+
<section className="pt-2 sm:pt-8">
87+
<HomeDetail site={site} recentPosts={recentPosts} />
88+
</section>
8589
</div>
8690
</Layout>
8791
</>

0 commit comments

Comments
 (0)