Skip to content

Commit 1800727

Browse files
committed
Fix home mobile layout
1 parent 2c31168 commit 1800727

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/pages/home/HeroSection.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ const HeroSection: FunctionComponent = () => {
1414
<div className='absolute left-0 top-0 right-0 bottom-0 hero-overlay'></div>
1515
</div>
1616

17-
<div className="absolute left-0 top-0 right-0 bottom-0 flex justify-center items-center flex-col">
18-
<h1 className="hero__title hero-title">{siteConfig.title}</h1>
19-
<p className="hero__subtitle hero-title">{siteConfig.tagline}</p>
20-
<div className="flex items-center justify-center gap-8">
17+
<div className="absolute left-0 top-0 right-0 bottom-0 flex justify-center items-center flex-col p-4 md:p-8">
18+
<h1 className="text-3xl md:text-4xl lg:text-5xl text-center hero-title">{siteConfig.title}</h1>
19+
<p className="text-xl md:text-2xl text-center hero-title">{siteConfig.tagline}</p>
20+
<div className="flex-col md:flex-row flex items-center justify-center gap-4">
2121
<Link
2222
className='flex items-center cursor-pointer px-8 py-4 transition-transform hover:drop-shadow-md hover:scale-105 rounded-lg hover:no-underline text-xl font-bold button-primary'
2323
title='Get Started'

0 commit comments

Comments
 (0)