Skip to content

Commit

Permalink
fixing some bugs for better appearance
Browse files Browse the repository at this point in the history
  • Loading branch information
princenzmw committed Jul 18, 2024
1 parent df070db commit d8c9123
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/components/chat/Chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ const Chat: React.FC = () => {
</div>

{showChat && (
<div className='fixed inset-0 z-40 flex items-center justify-end mx-2 sm:mr-6'>
<div className='w-9/10 max-w-sm h-3/4 rounded-2xl shadow-xl relative bg-grayColor overflow-hidden '>
<div className='header bg-darkGreen flex justify-between items-center px-6 py-3 text-white'>
<div className='flex items-center gap-4'>
<div className='fixed inset-0 z-40 flex items-center justify-end mx-2 sm:mr-6'>
<div className='w-9/10 max-w-sm h-3/4 rounded-2xl shadow-xl relative bg-grayColor overflow-hidden pt-10'>
<div className='header bg-darkGreen flex justify-between items-center px-6 py-3 text-whiteColor'>
<div className='flex items-center gap-4'>
<img
src={`${profileImage !== null ? profileImage : chatAvatar}`}
alt='Mavericks'
Expand Down
6 changes: 3 additions & 3 deletions src/components/footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function Footer() {
<div className='leading-none text-xs md:text-base break-words flex flex-col gap-3 font-light flex-grow'>
<p>K309 St , Makuza plaza, Nyarugenge , Kigali, Rwanda</p>
<p>[email protected]</p>
<p>+250 788888888</p>
<p>+250 788 888 888</p>
</div>
<div className='flex gap-2'>
<a href='#' target='_blank'>
Expand Down Expand Up @@ -66,12 +66,12 @@ function Footer() {
Join
</button>
</div>
<span className='text-xs text-redColor text-left'>Email is not valid</span>
{/* <span className='text-xs text-redColor text-left'>Email is not valid</span> */}
</form>
</div>
</div>
<p className='p-3 md:p-4 xl:px-10 2xl:w-[1440px] text-xs text-center xl:text-left '>
&copy; 2024 Mavericks Shop. All rights reserved.
&copy; {new Date().getFullYear()} Mavericks Shop. All rights reserved.
</p>
</div>
</>
Expand Down
2 changes: 1 addition & 1 deletion src/components/navbar/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ const Navbar: React.FC = () => {
)}
<div
className={`flex flex-col bg-blackColor md:bg-whiteColor md:text-blackColor text-whiteColor font-roboto w-full 2xl:items-center top-0 ${wish || cartOpen ? 'sticky' : ''
} z-10`}
} sticky z-10`}
>
<div
className='flex justify-between gap-2 flex-wrap p-3 md:p-4 xl:px-10 2xl:w-[1440px] relative'
Expand Down

0 comments on commit d8c9123

Please sign in to comment.