Skip to content

Commit

Permalink
add sponsors
Browse files Browse the repository at this point in the history
  • Loading branch information
lahcenbcf committed Jun 25, 2024
1 parent b33a81f commit 021112a
Show file tree
Hide file tree
Showing 8 changed files with 258 additions and 80 deletions.
43 changes: 12 additions & 31 deletions src/sponsor/PhotoSlider.jsx
Original file line number Diff line number Diff line change
@@ -1,44 +1,22 @@
// PhotoSlider.jsx
import React from 'react';
import { motion } from 'framer-motion';
import left from './logo/left1.svg';
import right from './logo/right1.svg';
import sonatrach from './logo/sonatrach.svg';
import nvidia from './logo/nvidia.svg';
import ai from './logo/ai.svg';

const photos = [
import ats from "./logo/ats.svg"
/*const photos = [
sonatrach,
nvidia,
ai,
// Add more photo URLs here
];

*/
const Sponsors = () => {
const duplicatedPhotos = [
...photos,
...photos,
...photos,
...photos,
...photos,
...photos,
];


return (
<div id='sponsors' className="w-full bg-skyBlueColor pb-20 text-white relative ">
<img src={right} alt="" className="absolute -top-32 left-0 z-[10]" />
<img src={left} alt="" className="absolute -top-32 right-0 z-[10]" />


<h1 className=" text-6xl font-bold text-center py-20">Our Sponsors</h1>
<p className="absolute left-[50%] top-[50%] transform translate-x-[-50%] translate-y-[50%] font-bold text-white text-[2rem] md:text-[2.5rem] lg:text-[3rem]">COMING SOON</p>
<div className="flex justify-center blur-md opacity-50">
<div
className="md:w-3/4 mx-auto sm:w-4/5 lg:w-3/4 w-4/5 inline-flex flex-nowrap overflow-hidden "
style={{
maskImage:
'linear-gradient(to right, transparent 0, black 128px, black calc(100% - 128px), transparent 100%)',
}}
>
<div className="flex justify-center">

{/*
<motion.div
className="flex"
animate={{
Expand All @@ -63,7 +41,10 @@ const Sponsors = () => {
</div>
))}
</motion.div>
</div>
*/}

<img src={ats} className="w-full h-auto object-cover -mt-32" />
</div>
</div>
);
Expand Down
9 changes: 0 additions & 9 deletions src/sponsor/logo/ai.svg

This file was deleted.

245 changes: 245 additions & 0 deletions src/sponsor/logo/ats.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 0 additions & 14 deletions src/sponsor/logo/left1.svg

This file was deleted.

3 changes: 0 additions & 3 deletions src/sponsor/logo/nvidia.svg

This file was deleted.

14 changes: 0 additions & 14 deletions src/sponsor/logo/right1.svg

This file was deleted.

9 changes: 0 additions & 9 deletions src/sponsor/logo/sonatrach.svg

This file was deleted.

1 change: 1 addition & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
base: "/haick24-website/",
assetsInclude:["**/*.ai"],
plugins: [react()]
})

0 comments on commit 021112a

Please sign in to comment.