-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
160 additions
and
236 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import { motion } from "framer-motion"; | ||
export const buttonVariants = { | ||
initial: { | ||
y: 0, | ||
}, | ||
hover: { | ||
y: "0.5vw", | ||
}, | ||
}; | ||
const Button = ({ | ||
onclick, | ||
contents, | ||
}: { | ||
onclick: () => void; | ||
contents: string; | ||
}) => { | ||
return ( | ||
<div | ||
className="relative md:w-[10vw] md:h-[3vw] w-[25vw] h-[7vw] mt-4" | ||
onClick={onclick} | ||
> | ||
<motion.button | ||
className="absolute top-0 w-full h-full border-2 rounded-full p-[0.5vw] bg-black text-white md:text-[1.2vw] text-[4vw]" | ||
variants={buttonVariants} | ||
initial="initial" | ||
animate="initial" | ||
whileHover="hover" | ||
> | ||
{contents} | ||
</motion.button> | ||
<div className="absolute top-0 translate-y-[1.2vw] md:translate-y-[0.5vw] border-2 w-full h-full rounded-full bg-white z-[-1]"></div> | ||
</div> | ||
); | ||
}; | ||
export default Button; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,24 @@ | ||
export const buttonVariants = { | ||
initial: { | ||
y: 0 | ||
}, | ||
hover: { | ||
y: "0.5rem" | ||
} | ||
}; | ||
|
||
export const starVariants = { | ||
initial: { | ||
rotate: 0, | ||
scale: 1 | ||
scale: 1, | ||
}, | ||
animate: { | ||
rotate: Array.from({ length: 360 }, (_, i) => i + 10), | ||
scale: [1, 1.1, 0.9, 1] | ||
} | ||
scale: [1, 1.1, 0.9, 1], | ||
}, | ||
}; | ||
|
||
export const AppearingVariants = { | ||
initial: { | ||
opacity: 0 | ||
opacity: 0, | ||
}, | ||
animate: { | ||
opacity: 1, | ||
transition: { | ||
staggerChildren: 0.1, | ||
delayChildren: 0.5 | ||
} | ||
} | ||
delayChildren: 0.5, | ||
}, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,78 +1,22 @@ | ||
import { FaDiscord, FaGithub, FaLinkedinIn } from "react-icons/fa6"; | ||
import { SiGmail } from "react-icons/si"; | ||
import { baseURL } from "../../Utils/info"; | ||
import SocialMedia from "./SocialMedia"; | ||
import Sponsers from "./Sponsers"; | ||
|
||
const Footer = () => { | ||
const btnClass = | ||
"btn rounded-full text-white text-lg w-12 p-0 border-none bg-[#202020] hover:bg-[#282828] glow"; | ||
|
||
return ( | ||
<div className="border-t border-[--border-color] flex py-8 bg-[#181818]"> | ||
<div className="flex flex-col flex-1 gap-3 items-center"> | ||
<img src={`${baseURL}/src/Assets/Images/big-logo-light.png`} alt="DS3 Logo" className="w-40" /> | ||
<img | ||
src={`${baseURL}/src/Assets/Images/big-logo-light.png`} | ||
alt="DS3 Logo" | ||
className="w-40" | ||
/> | ||
<div className="flex flex-col gap-2 items-center text-sm font-medium"> | ||
<span>© 2024 Data Science Student Society, All Rights Reserved</span> | ||
</div> | ||
</div> | ||
<div | ||
id="quick-link" | ||
className="flex flex-1 justify-center gap-x-20 border-x border-[--border-color]" | ||
> | ||
<div className="flex flex-col gap-y-2 justify-center"> | ||
<h4 className="text-lg font-bold mb-2 text-white">Information</h4> | ||
<a href="" className="hover:underline"> | ||
About | ||
</a> | ||
<a href="" className="hover:underline"> | ||
Events | ||
</a> | ||
</div> | ||
<div className="flex flex-col gap-y-2 justify-center"> | ||
<h4 className="text-lg font-bold mb-2 text-white">Get Involved</h4> | ||
<a href="" className="hover:underline"> | ||
Projects | ||
</a> | ||
<a href="" className="hover:underline"> | ||
Consulting | ||
</a> | ||
</div> | ||
</div> | ||
<div | ||
id="social-media-links" | ||
className="flex flex-col flex-1 items-center justify-center gap-y-8" | ||
> | ||
<h4 className="text-lg font-bold text-white">Social Links</h4> | ||
<div className="flex items-center w-[20vw] justify-evenly"> | ||
<button | ||
onClick={() => window.open("https://discord.gg/fbnAP848V9", "_blank")} | ||
className={btnClass} | ||
title={"Discord"} | ||
> | ||
<FaDiscord /> | ||
</button> | ||
<button | ||
onClick={() => window.open("mailto:[email protected]", "_blank")} | ||
className={btnClass} | ||
title={"Mail"} | ||
> | ||
<SiGmail /> | ||
</button> | ||
<button | ||
onClick={() => window.open("https://github.com/TheBoyRoy05/", "_blank")} | ||
className={btnClass} | ||
title={"Github"} | ||
> | ||
<FaGithub /> | ||
</button> | ||
<button | ||
onClick={() => window.open("https://www.linkedin.com/in/issacroy/", "_blank")} | ||
className={btnClass} | ||
title={"LinkedIn"} | ||
> | ||
<FaLinkedinIn /> | ||
</button> | ||
</div> | ||
</div> | ||
<Sponsers /> | ||
<SocialMedia /> | ||
</div> | ||
); | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
import { FaDiscord, FaGithub, FaLinkedinIn } from "react-icons/fa6"; | ||
import { SiGmail } from "react-icons/si"; | ||
|
||
const SocialMedia = () => { | ||
const btnClass = | ||
"btn rounded-full text-white text-lg w-12 p-0 border-none bg-[#202020] hover:bg-[#282828] glow"; | ||
|
||
return ( | ||
<div | ||
id="social-media-links" | ||
className="flex flex-col flex-1 items-center justify-center gap-y-8" | ||
> | ||
<h4 className="text-lg font-bold text-white">Social Links</h4> | ||
<div className="flex items-center w-[20vw] justify-evenly"> | ||
<button | ||
onClick={() => window.open("https://discord.gg/fbnAP848V9", "_blank")} | ||
className={btnClass} | ||
title={"Discord"} | ||
> | ||
<FaDiscord /> | ||
</button> | ||
<button | ||
onClick={() => window.open("mailto:[email protected]", "_blank")} | ||
className={btnClass} | ||
title={"Mail"} | ||
> | ||
<SiGmail /> | ||
</button> | ||
<button | ||
onClick={() => window.open("https://github.com/TheBoyRoy05/", "_blank")} | ||
className={btnClass} | ||
title={"Github"} | ||
> | ||
<FaGithub /> | ||
</button> | ||
<button | ||
onClick={() => window.open("https://www.linkedin.com/in/issacroy/", "_blank")} | ||
className={btnClass} | ||
title={"LinkedIn"} | ||
> | ||
<FaLinkedinIn /> | ||
</button> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default SocialMedia; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import { baseURL } from "../../Utils/info"; | ||
|
||
const Sponsers = () => { | ||
return ( | ||
<div | ||
id="sponsers" | ||
className="flex-1 flex flex-col justify-center items-center border-x border-[--border-color] px-[2vw]" | ||
> | ||
<h4 className="text-lg font-bold text-white">Our Sponsers</h4> | ||
<div className="flex justify-center gap-x-[2vw]"> | ||
<img | ||
src={`${baseURL}/src/Assets/Images/CSE_logo.png`} | ||
alt="CSE @ UCSD" | ||
className="w-[4vw] h-auto object-contain" | ||
/> | ||
<img | ||
src={`${baseURL}/src/Assets/Images/HDSI_logo_light.png`} | ||
alt="HDSI @ UCSD" | ||
className="w-[10vw] h-auto object-contain" | ||
/> | ||
<img | ||
src={`${baseURL}/src/Assets/Images/palantir-vector-logo.svg`} | ||
alt="Palantir" | ||
className="w-[8vw] h-auto object-contain" | ||
/> | ||
</div> | ||
<p className="mt-[1vw]"> | ||
View our sponsor packet{" "} | ||
<a href="https://www.ds3ucsd.com/documents/DS3_Sponsors_23-24.pdf" className="underline"> | ||
here | ||
</a>{" "} | ||
or contact us at{" "} | ||
<a href="mailto:[email protected]" className="underline"> | ||
[email protected] | ||
</a> | ||
</p> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Sponsers; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.