Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About us #92

Merged
merged 2 commits into from
Nov 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed public/images/2.png
Binary file not shown.
Binary file added public/images/aboutus.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/developer1.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/developer2.jfif
Binary file not shown.
Binary file added public/images/developer3.jfif
Binary file not shown.
Binary file added public/images/ecology.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/laid benglia.jpg
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/mohamed-ch.jpg
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/sara bagach.jpg
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/sharing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 5 additions & 3 deletions src/components/developeravatar/DeveloperAvatar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import Link from "next/link";
const DeveloperAvatar = ({ name, avatarUrl, description, href }) => {
return (
<Link href={href}>
<div className='text-center flex flex-col items-center justify-center w-full md:w-80 rounded-lg p-4 border border-gray hover:bg-slate-100'>
<div className=' relative w-32 h-32 md:w-20 md:h-20 lg:w-36 lg:h-36 mb-2 mx-auto '>
<div className=' text-center group-hover:scale-[10] flex flex-col items-center cursor-pointer overflow-hidden transition-all duration-300 hover:-translate-y-1 hover:shadow-2xl justify-center w-full md:w-80 rounded-3xl p-4 hover:bg-slate-100'>
<div className='relative w-32 h-32 md:w-20 md:h-20 lg:w-36 lg:h-36 mb-2 mx-auto '>
<Image
src={avatarUrl}
alt={`${name}'s Avatar`}
Expand All @@ -14,7 +14,9 @@ const DeveloperAvatar = ({ name, avatarUrl, description, href }) => {
layout='fill'
/>
</div>
<p className='text-xl font-semibold my-2'>{name}</p>
<p className='text-xl text-lime-800 font-semibold my-2'>
{name}
</p>
<p className='text-black text-base w-4/5 md:w-full '>
{description}
</p>
Expand Down
104 changes: 97 additions & 7 deletions src/pages/about/index.jsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,101 @@
import Image from "next/image";

import DeveloperAvatar from "@/components/developeravatar/DeveloperAvatar";

function AboutPage() {
return <div>AboutPage</div>;
}
return (
<section>
<div className='bg-gradient-to-tr from-lime-400 via-white to-white'>
<div className='sm:flex flex flex-row items-center max-w-screen-xl flex-wrap-reverse p-10 lg:p-0'>
<div className='sm:w-1/2 lg:pb-24 pb-16 pt-20 lg:pl-32 pl-1'>
<div className='display block lg:h-80 lg:w-96 max-w-screen-xl max-h-96'>
<Image
className='w-10/12 h-96 blur-sm drop-shadow-2xl flex items-center justify-center'
src='/images/aboutus.png'
width={500}
height={500}
alt='hero'
/>
</div>
</div>
<div className='sm:w-1/2 p-5'>
<div className='text'>
<span className='text-gray-500 border-b-2 border-lime-600 uppercase'>
About us
</span>

export default AboutPage;
<h2 className='my-4 font-bold text-3xl sm:text-4xl '>
Who{" "}
<span className='text-lime-600'>We Are</span>
</h2>
<p className='text-gray-700'>
Welcome to Let&apos;s Share - where sharing is
caring! In our community, we believe in the
heartwarming essence of sharing daily
essentials. Extra food, lovely clothes, or cozy
furniture - at Let&apos;s Share, it&apos;s about
connecting and making a positive impact right
where you are. Let&apos;s transform our region
into a haven of shared moments. Join Let&apos;s
Share, where sharing isn&apos;t just a choice;
it&apos;s a way of life.
</p>
</div>
</div>
</div>
</div>

export async function getStaticProps({ locale }) {
return {
props: {},
};
<div className='bg-gradient-to-br from-lime-400 via-white to-white'>
<div className='flex flex-wrap justify-center mb-20'>
<div className='text-center w-full mb-4'>
<h1 className='text-3xl font-bold p-12'>Our Team</h1>
</div>
{/* Developer 1 */}
<DeveloperAvatar
name='Darine Tag'
avatarUrl='/images/developer1.png'
description='Visionary creator of seamless, stunning user experiences.'
href='https://www.linkedin.com/in/darine-tag/'
/>
{/* Developer 2 */}
<DeveloperAvatar
name='Hadj Said Bouras'
avatarUrl='/images/developer2.jfif'
description='Meticulous architect, crafting clean, efficient, pixel-perfect interfaces.'
href='https://www.linkedin.com/in/hadj-said-front-end-web-developer-a577a8255/'
/>
{/* Developer 3 */}
<DeveloperAvatar
name='Ismail Benlaredj'
avatarUrl='/images/developer3.jfif'
description='Dynamic innovator, blends energy, tech trends for excellence.'
href='https://www.linkedin.com/in/ismailbenlaredj/'
/>
{/* Developer 4 */}
<DeveloperAvatar
name='Mohamed Cheraitia'
avatarUrl='/images/mohamed-ch.jpg'
description='Versatile engineer, seamlessly blends creativity with technicality.'
href='https://www.linkedin.com/in/mohamed-ch-947939272/'
/>
{/* Developer 5 */}
<DeveloperAvatar
name='Laid Benglia'
avatarUrl='/images/laid benglia.jpg'
description='Front-end magician, turns ideas into interactive wonders.'
href='https://www.linkedin.com/in/laid-benglia-452013199/'
/>
{/* Developer 6 */}
<DeveloperAvatar
name='sara Bagache'
avatarUrl='/images/sara bagach.jpg'
description='Pragmatic developer, builds robust, scalable, user-friendly applications.'
href='https://github.com/SaraBegache'
/>
</div>
</div>
</section>
);
}

export default AboutPage;
Loading