Skip to content

Commit

Permalink
fix: update home hero text to be centered align
Browse files Browse the repository at this point in the history
  • Loading branch information
limsohee1002 committed Nov 1, 2024
1 parent 34c5ab6 commit 74b880a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions assets/tailwind-output.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/modules/homepage/HomepageModule.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ const Homepage: FC<Props> = ({ homepageData }) => {
{hero && (
<div className="Hero rounded-large py-[4.84375rem] sm:py-[3.75rem] bg-light-surface-2 dark:bg-dark-surface-2">
<h2 className="flex flex-col items-center text-light-neutral-1 dark:text-dark-neutral-1">
<span className="heading-0-mobile sm:heading-0">{hero.headerLine1}</span>
<span className="serif-heading-0-mobile sm:serif-heading-0 italic">
<span className="heading-0-mobile sm:heading-0 text-center">{hero.headerLine1}</span>
<span className="serif-heading-0-mobile sm:serif-heading-0 italic text-center">
{hero.headerLine2}
</span>
</h2>
Expand Down

0 comments on commit 74b880a

Please sign in to comment.