Skip to content

Commit

Permalink
fix: home section background css
Browse files Browse the repository at this point in the history
Resolve #31
  • Loading branch information
hyochan committed May 2, 2024
1 parent 2a5296a commit 12dd415
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/[lang]/(home)/Hero/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function Hero({t, statsInfo}: Props): ReactElement {
return (
<div
className={clsx(
'self-stretch bg-cover',
'self-stretch bg-paper',
'flex flex-col justify-center items-center',
'max-[425px]:p-0',
)}
Expand Down
2 changes: 1 addition & 1 deletion app/[lang]/(home)/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function Home({t, statsInfo}: Props): ReactElement {
initAmplitude();

return (
<div className={clsx('flex-1 w-screen bg-paper', 'flex flex-col')}>
<div className={clsx('flex-1 w-screen', 'flex flex-col')}>
<Hero t={t} statsInfo={statsInfo} />
<SectionHowItWorks t={t} />
<SectionFooter t={t} />
Expand Down
5 changes: 5 additions & 0 deletions styles/output.css
Original file line number Diff line number Diff line change
Expand Up @@ -1711,6 +1711,11 @@ input[type='search']::-webkit-search-decoration,
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}

.bg-red1 {
--tw-bg-opacity: 1;
background-color: rgb(255 44 44 / var(--tw-bg-opacity));
}

.bg-cover {
background-size: cover;
}
Expand Down

0 comments on commit 12dd415

Please sign in to comment.