Skip to content

Commit

Permalink
feat: promo banner
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhailmogilnikov committed Jul 8, 2024
1 parent 8e57ce6 commit 5708cdf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/page/public/home/ui/welcome-block/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ export const WelcomeBlock = () => {
if (token) return <Spacer className='h-6' />;

return (
<div className='w-full h-[500px] md:h-[280px] lg:h-[410px] bg-gradient-to-bl from-blue-200 to-indigo-200 dark:from-blue-900 dark:to-indigo-500 flex justify-center mb-14'>
<div className='w-full h-[500px] md:h-[280px] lg:h-[410px] bg-gradient-to-bl from-blue-200 to-indigo-200 dark:from-blue-900 dark:to-indigo-500 flex justify-center mb-14 border-b-1 border-black/10'>
<div className='max-w-7xl w-full pr-4 md:flex pt-8 items-start lg:items-center relative justify-between overflow-hidden'>
<div className='absolute bottom-6 font-medium right-12 px-4 py-2 bg-rose-500 text-rose-100 rounded-2xl rotate-2 z-20 shadow-rose-500/40 shadow-lg'>
<div className='absolute bottom-4 font-medium right-12 px-4 py-2 bg-rose-500 text-rose-100 rounded-2xl rotate-2 z-20 shadow-rose-500/40 shadow-lg'>
Дарим 500₽ за регистрацию!
</div>
<div className='flex flex-col gap-5 w-full sm:w-1/2 pl-4 lg:pb-8 md:min-w-[390px]'>
Expand Down
7 changes: 6 additions & 1 deletion src/page/public/home/ui/welcome-block/screen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ export const WelcomeBlockScreen = () => {
</div>
</div>
<div className='w-full h-full rounded-xl bg-white/30 overflow-hidden shadow-inner'>
<Image src={profile} alt='profile img' className='object-cover' />
<Image
src={profile}
alt='profile img'
className='object-cover'
unoptimized
/>
</div>
</div>
);
Expand Down

0 comments on commit 5708cdf

Please sign in to comment.