Skip to content

Commit 900c50e

Browse files
committed
feat(website): add markdown content styling to home page
1 parent 046f208 commit 900c50e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

website/src/pages/index.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import s from '@/sections/index/styles.module.scss'
1414

1515
import type { GetStaticProps, NextPage } from 'next'
1616
import type { WithSidebar } from '@/layout/pages/types'
17+
import MarkdownWrapper from '@/layout/components/MarkdownWrapper'
1718

1819
interface HomePageProps extends WithSidebar {}
1920

@@ -27,9 +28,11 @@ const Home: NextPage<HomePageProps> = ({ sidebar }) => {
2728
<SidebarContainer><Sidebar items={sidebar} activePath="" /></SidebarContainer>
2829
<ContentWrapper>
2930
<ContentContainer>
30-
<h1>ACM AI Wiki</h1>
31-
<p>Welcome to the ACM AI Wiki!</p>
32-
<p>The ACM AI wiki serves as a central repository for various resources produced by ACM AI.</p>
31+
<MarkdownWrapper>
32+
<h1>ACM AI Wiki</h1>
33+
<p>Welcome to the ACM AI Wiki!</p>
34+
<p>The ACM AI wiki serves as a central repository for various resources produced by ACM AI.</p>
35+
</MarkdownWrapper>
3336
</ContentContainer>
3437
</ContentWrapper>
3538
</MainWrapper>

0 commit comments

Comments
 (0)