Compare commits
No commits in common. "8cbdc1a6e4e9bf56ae493f9e83d2cdd5ed516ae0" and "05e667cbf9f9f166801f588dec8460552ab662af" have entirely different histories.
8cbdc1a6e4
...
05e667cbf9
Binary file not shown.
|
Before Width: | Height: | Size: 172 KiB After Width: | Height: | Size: 112 KiB |
@ -12,17 +12,7 @@ export const HeroSection = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<section className='relative'>
|
<section className='relative'>
|
||||||
<div className='relative h-[500px] w-full overflow-hidden bg-black sm:h-[500px] xl:h-[700px]'>
|
<div className='relative h-[400px] w-full overflow-hidden sm:h-[500px] xl:h-[700px]'>
|
||||||
<div
|
|
||||||
style={{
|
|
||||||
width: '100%',
|
|
||||||
height: '90%',
|
|
||||||
position: 'absolute',
|
|
||||||
top: -60,
|
|
||||||
right: 20,
|
|
||||||
}}
|
|
||||||
className='sm:!top-0 sm:!right-20 sm:!h-[70vh] sm:!w-[100vh]'
|
|
||||||
>
|
|
||||||
<Image
|
<Image
|
||||||
src='/oriyo_bg.jpeg'
|
src='/oriyo_bg.jpeg'
|
||||||
alt='Gas Station Network'
|
alt='Gas Station Network'
|
||||||
@ -30,9 +20,7 @@ export const HeroSection = () => {
|
|||||||
className='object-cover'
|
className='object-cover'
|
||||||
priority
|
priority
|
||||||
/>
|
/>
|
||||||
</div>
|
<div className='absolute inset-0 flex items-center bg-gradient-to-r from-black/70 to-black/30 px-2'>
|
||||||
|
|
||||||
<div className='absolute inset-0 flex items-end bg-gradient-to-r from-black/70 to-black/30 px-2 pb-12 sm:items-center sm:pb-0'>
|
|
||||||
<div className='container mx-auto'>
|
<div className='container mx-auto'>
|
||||||
<div className='max-w-lg space-y-4 text-white'>
|
<div className='max-w-lg space-y-4 text-white'>
|
||||||
<div className='animate-fade animate-duration-[3000ms] animate-ease-in-out'>
|
<div className='animate-fade animate-duration-[3000ms] animate-ease-in-out'>
|
||||||
@ -43,7 +31,7 @@ export const HeroSection = () => {
|
|||||||
<p className='text-gray-200 sm:text-lg'>
|
<p className='text-gray-200 sm:text-lg'>
|
||||||
{t('home.hero.description')}
|
{t('home.hero.description')}
|
||||||
</p>
|
</p>
|
||||||
<div className='mt-6 flex gap-2 sm:flex-row sm:gap-4'>
|
<div className='mt-6 flex flex-col gap-2 sm:flex-row sm:gap-4'>
|
||||||
<Link href='#stations'>
|
<Link href='#stations'>
|
||||||
<Button className='bg-red-600 hover:bg-red-700'>
|
<Button className='bg-red-600 hover:bg-red-700'>
|
||||||
{t('common.buttons.findStation')}{' '}
|
{t('common.buttons.findStation')}{' '}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user