Skip to content

Commit

Permalink
fix(web): seo
Browse files Browse the repository at this point in the history
  • Loading branch information
tszhong0411 committed Aug 30, 2024
1 parent dcfba4d commit c99631f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions apps/web/src/app/projects/[slug]/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ const Header = (props: HeaderProps) => {
animate={animation.show}
>
<div className='flex flex-col gap-3'>
<div className='text-2xl font-bold'>{name}</div>
<div>{description}</div>
<h1 className='text-3xl font-bold'>{name}</h1>
<h2 className='text-muted-foreground'>{description}</h2>
</div>
</motion.div>
<motion.div
Expand Down
4 changes: 2 additions & 2 deletions apps/web/src/components/page-title.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const PageTitle = (props: PageTitleProps) => {
>
{title}
</motion.h1>
<motion.p
<motion.h2
className='text-muted-foreground mb-8'
{...(animate && {
initial: animation.hide,
Expand All @@ -45,7 +45,7 @@ const PageTitle = (props: PageTitleProps) => {
})}
>
{description}
</motion.p>
</motion.h2>
<Separator className='absolute inset-x-0 translate-y-2 sm:translate-y-6' />
</div>
)
Expand Down

0 comments on commit c99631f

Please sign in to comment.