Skip to content

Commit

Permalink
A bit modification for hero section in home page
Browse files Browse the repository at this point in the history
  • Loading branch information
fwedwicc committed Aug 6, 2024
1 parent 13f564d commit f9de844
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 6 additions & 7 deletions src/components/Hero.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,20 @@ const Hero = () => {
</div>
<div className='col-span-1 grid grid-cols-2 grid-rows-2'>
<div className='col-span-1 row-span-1 bg-border-gradient-1 p-[0.5px]'>
<div className='bg-white w-full h-full flex flex-col justify-center items-center'>
<h1 className='text-[5rem] leading-none font-black'>{totalComponents}</h1>
<div className='bg-white w-full h-full flex flex-col justify-center items-center p-4'>
<h1 className='md:text-[5rem] text-[3rem] leading-none font-black'>{totalComponents}</h1>
<span>Total Components</span>
</div>
</div>

<div className='col-span-1 row-span-1 bg-border-gradient-2 p-[0.5px]'>
<div className='bg-white w-full h-full flex flex-col justify-center items-center'>
<h1 className='text-[5rem] leading-none font-black'>{totalTemplates}</h1>
<div className='bg-white w-full h-full flex flex-col justify-center items-center p-4'>
<h1 className='md:text-[5rem] text-[3rem] leading-none font-black'>{totalTemplates}</h1>
<span>Page Templates</span>
</div>
</div>
<div className='col-span-2 row-span-1 bg-border-gradient-3 p-[0.5px]'>
<div className='col-span-2 row-span-1 bg-border-gradient-3 p-[0.5px] pt-4'>
<div className='bg-white flex flex-col gap-4 justify-center items-center w-full h-full'>
<h1 className='md:text-[2.5rem] text-[2rem] leading-none font-black'>All are Freemium</h1>
<h1 className='md:text-[2.5rem] text-[1.5rem] leading-none font-black'>All are Freemium</h1>
<div className='gap-3 flex'>
<RiTailwindCssFill className='text-zinc-300 h-10 w-auto' />
<FaHtml5 className='text-zinc-300 h-10 w-auto' />
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const Home = () => {
<div className='pt-[4.5rem] px-[0.8rem]'>
<div className='bg-white border border-neutral-300/40 py-12 rounded-[1rem] flex flex-col'>
{/* Rendered Hero */}
<div className='lg:px-24 md:px-12'>
<div className='lg:px-24 md:px-12 px-4'>
<Hero />
</div>
{/* Interface Overview */}
Expand Down

0 comments on commit f9de844

Please sign in to comment.