Skip to content

Commit

Permalink
Merge pull request #98 from 202306-NEA-DZ-FEW/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
ismail-benlaredj authored Nov 20, 2023
2 parents d4f9e0a + 25ba180 commit be8d3e6
Show file tree
Hide file tree
Showing 26 changed files with 438 additions and 67 deletions.
Binary file added public/images/home-page/browse-1.avif
Binary file not shown.
Binary file added public/images/home-page/browse-2.avif
Binary file not shown.
Binary file added public/images/home-page/browse-3.avif
Binary file not shown.
Binary file added public/images/home-page/focus-group.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/home-page/hands.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/home-page/help.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/home-page/herosectionImg.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/images/home-page/icon1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/images/home-page/icon2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/images/home-page/icon3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/images/home-page/icon4.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/home-page/recoded-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/home-page/teamwork.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/itemcard/itemcard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/partners/logo1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/articlecard/ArticleCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const ArticleCard = ({
textOnleft = false,
}) => {
return (
<div className='my-8 h-fit flex flex-col w-full px-8 py-5 gap-4 md:flex-row md:gap-10 md:my-16 md:items-center lg:w-[90%] mx-auto'>
<div className='my-8 h-fit flex flex-col w-full px-8 py-5 gap-4 md:flex-row md:gap-10 md:my-16 md:items-center lg:w-[90%] mx-auto'>
<div className='w-full md:w-1/2 h-[20rem]'>
<Image
src={imageUrl}
Expand Down
27 changes: 0 additions & 27 deletions src/components/herosection/HeroSection.jsx

This file was deleted.

92 changes: 92 additions & 0 deletions src/components/homepage/BrowseSection.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
import React from "react";

import Button from "../button/Button";

function BrowseSection() {
return (
<section className='py-10'>
<div className='container mx-auto'>
<div className='-mx-4 flex flex-wrap'>
<div className='w-full px-4 lg:w-8/12'>
<div className='relative mb-8 h-[370px] md:h-[480px]'>
<img
src='images/home-page/browse-1.avif'
alt='product'
className='h-full w-full object-cover object-center rounded-lg'
/>

<div className='absolute top-0 left-0 flex h-full w-full items-center px-8 md:px-12'>
<div className='max-w-[420px]'>
<h3 className='mb-4 text-6xl font-semibold text-black'>
Elevate Your Space !
</h3>
<p className='mb-10 text-base font-light text-black'>
Lorem ipsum dolor sit amet, consectetur
adipiscing elit. Vestibulum ornare
vestibulum mollis. Nam vitae augue
purus. Integer ac accumsan nunc.
</p>
<Button href='/products/?category='>
browse products
</Button>
</div>
</div>
</div>
</div>
<div className='w-full px-4 lg:w-4/12'>
<div className='-mx-4 flex flex-wrap'>
<div className='w-full px-4 md:w-1/2 lg:w-full rounded-lg'>
<div className='relative mb-8 h-[223px]'>
<img
src='images/home-page/browse-2.avif'
alt='product'
className='h-full w-full object-cover object-center rounded-lg'
/>

<div className='absolute top-0 left-0 flex h-full w-full items-end justify-end p-6 sm:p-9 bg-black/40'>
<div className='max-w-[180px] text-right flex flex-col justify-end items-end'>
<h3 className='mb-3 block text-lg font-bold text-white xs:text-xl sm:text-2xl lg:text-xl xl:text-2xl'>
Student Electronic Collection
</h3>
<Button
href='/products/?category='
className='bg-transparent text-white border border-white '
>
Discover Now
</Button>
</div>
</div>
</div>
</div>
<div className='w-full px-4 md:w-1/2 lg:w-full rounded-lg'>
<div className='relative mb-8 h-[223px]'>
<img
src='images/home-page/browse-3.avif'
alt='product'
className='h-full w-full object-cover object-center rounded-lg'
/>

<div className='absolute top-0 left-0 flex h-full w-full items-end justify-end p-6 sm:p-9 bg-black/10'>
<div className='max-w-[180px] text-right flex flex-col justify-end items-end'>
<h3 className='mb-3 block text-lg font-bold text-white xs:text-xl sm:text-2xl lg:text-xl xl:text-2xl'>
Summer Travel Collection
</h3>
<Button
href='/products/?category='
className=' text-white border border-white bg-black/40 '
>
Discover Now
</Button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
);
}

export default BrowseSection;
45 changes: 45 additions & 0 deletions src/components/homepage/CompaniesSection.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
import React from "react";

function CompaniesSection() {
return (
<div className='flex flex-col justify-center my-40'>
<div className='text-xl text-center text-black/80 '>
Trusted by <span className='text-green'>6+</span> customers
worldwide
</div>

<div className='flex flex-wrap justify-center gap-5 mt-10 md:justify-around'>
<img
src='/images/home-page/recoded-logo.png'
alt='Recoded logo'
className='w-40'
/>
<img
src='/images/home-page/recoded-logo.png'
alt='Recoded logo'
className='w-40'
/>

<img
src='/images/home-page/recoded-logo.png'
alt='Recoded logo'
className='w-40'
/>

<img
src='/images/home-page/recoded-logo.png'
alt='Recoded logo'
className='w-40'
/>

<img
src='/images/home-page/recoded-logo.png'
alt='Recoded logo'
className='w-40'
/>
</div>
</div>
);
}

export default CompaniesSection;
Loading

1 comment on commit be8d3e6

@vercel
Copy link

@vercel vercel bot commented on be8d3e6 Nov 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.