-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Footer Completed Functionality left * contributor list changed * Contact us section done * Card design pending * Marquee functionality added * Our team design mostly ready * Contact us button added
- Loading branch information
1 parent
e1afbfc
commit 42d0b40
Showing
30 changed files
with
157 additions
and
83 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
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,22 +1,33 @@ | ||
import React from 'react' | ||
import Logo from '../assets/gdsc-logo.png' | ||
import React from "react"; | ||
import Logo from "../assets/gdsc-logo.png"; | ||
const Navbar = () => { | ||
return ( | ||
<div className='w-[100%] flex justify-center items-center py-6 relative'> | ||
<div className='flex justify-center items-center absolute left-[5vw] gap-1'> | ||
<img src={Logo} alt="image" className='h-[3.5rem]'/> | ||
<h1 className='font-bold text-lg text-[#767676]'>GDSC AEC</h1> | ||
</div> | ||
<div style={{boxShadow:' 0 0 10px rgba(0, 0, 0, 0.2)'}} className=' px-[5em] rounded-full '> | ||
<ul className=' flex justify-center items-center gap-12 drop-shadow-2xl text-sm h-[6.4vh] text-[#535353] transition-all delay-300'> | ||
<li className='hover:border-b-2 hover:border-b-blue-400 hover:cursor-pointer hover:text-blue-500'>About us</li> | ||
<li className='hover:border-b-2 hover:border-b-blue-400 hover:cursor-pointer hover:text-blue-500'>Event</li> | ||
<li className='hover:border-b-2 hover:border-b-blue-400 hover:cursor-pointer hover:text-blue-500'>Our Team</li> | ||
<li className='hover:border-b-2 hover:border-b-blue-400 hover:cursor-pointer hover:text-blue-500'>Contact</li> | ||
<div className="w-[100%] flex justify-center items-center py-6 relative"> | ||
<div className="flex justify-center items-center absolute left-[5vw] gap-1"> | ||
<img src={Logo} alt="image" className="h-[3.5rem]" /> | ||
<h1 className="font-bold text-lg text-[#767676]">GDSC AEC</h1> | ||
</div> | ||
<div | ||
style={{ boxShadow: " 0 0 10px rgba(0, 0, 0, 0.2)" }} | ||
className=" px-[5em] rounded-full " | ||
> | ||
<ul className=" flex justify-center items-center gap-12 drop-shadow-2xl text-sm h-[6.4vh] text-[#535353] transition-all delay-300"> | ||
<li className="hover:border-b-2 hover:border-b-blue-400 hover:cursor-pointer hover:text-blue-500"> | ||
About us | ||
</li> | ||
<li className="hover:border-b-2 hover:border-b-blue-400 hover:cursor-pointer hover:text-blue-500"> | ||
Event | ||
</li> | ||
<li className="hover:border-b-2 hover:border-b-blue-400 hover:cursor-pointer hover:text-blue-500"> | ||
Our Team | ||
</li> | ||
<li className="hover:border-b-2 hover:border-b-blue-400 hover:cursor-pointer hover:text-blue-500"> | ||
Contact | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
) | ||
} | ||
); | ||
}; | ||
|
||
export default Navbar | ||
export default Navbar; |
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,43 @@ | ||
import contactus from "../../assets/contactus.png"; | ||
export default function ContactUs() { | ||
const contactUsHandler = (e) => {}; | ||
return ( | ||
<div className="flex flex-col p-10 pt-[10rem] pb-[10rem] justify-evenly md:flex-row"> | ||
<img src={contactus} className="max-w-full" alt="Contact Us" /> | ||
|
||
<div className="md:pl-10"> | ||
<h1 className="text-black text-[4.875rem] font-semibold"> | ||
Get in Touch | ||
</h1> | ||
<h2 className="text-[#686868] text-[1.4375rem] font-semibold leading-normal font-inter"> | ||
If you have any questions or inquiries, feel free to ask us. | ||
</h2> | ||
<form className="flex flex-col"> | ||
<input | ||
className="p-2 m-2 border-2 border-black rounded-lg md:w-1/3 lg:w-full" | ||
type="text" | ||
name="firstname" | ||
placeholder="Your name.." | ||
/> | ||
<input | ||
className="p-2 m-2 border-2 border-black rounded-lg md:w-1/3 lg:w-full" | ||
type="text" | ||
name="email" | ||
placeholder="Email" | ||
/> | ||
<textarea | ||
className="h-40 p-2 m-2 border-2 border-black rounded-lg md:w-1/3 lg:w-full" | ||
name="Message" | ||
placeholder="Message" | ||
></textarea> | ||
<input | ||
className="bg-blue-700 w-[13.6875rem] h-[3.75rem] m-4 rounded-3xl text-white text-[1.375] " | ||
type="submit" | ||
value="Submit" | ||
onClick={contactUsHandler} | ||
/> | ||
</form> | ||
</div> | ||
</div> | ||
); | ||
} |
File renamed without changes.
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,6 +1,6 @@ | ||
import Navbar from './NavBar' | ||
import Team from './team/Team' | ||
import ContactUs from './ContactUs' | ||
import Footer from './Footer' | ||
import Navbar from "./NavBar"; | ||
import Team from "./team/Team"; | ||
import ContactUs from "./contact/ContactUs"; | ||
import Footer from "./footer/Footer"; | ||
|
||
export { Navbar, Team, ContactUs, Footer } | ||
export { Navbar, Team, ContactUs, Footer }; |
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,19 @@ | ||
import Marquee from "react-fast-marquee"; | ||
|
||
const MarqueeCards = ({ children, direction }) => { | ||
const containerStyle = {}; | ||
return ( | ||
<Marquee | ||
style={{ containerStyle }} | ||
direction={direction} | ||
gradient={true} | ||
gradientWidth={500} | ||
speed={100} | ||
pauseOnHover={true} | ||
> | ||
{children} | ||
</Marquee> | ||
); | ||
}; | ||
|
||
export default MarqueeCards; |
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,17 +1,29 @@ | ||
import * as data from "../../data/data2023.json"; | ||
import Marquee from "../marqueeCards/Marquee"; | ||
import Card from "./Card"; | ||
import ourTeam from "../../assets/ourTeam.png"; | ||
export default function Team() { | ||
console.log(data.teamMembers[0]); | ||
const colourChoices = ["#EA4335", "#34A853", "#4285F4", "#FBBC05"]; | ||
return ( | ||
<div className="flex 6flex-row justify-evenly"> | ||
<Card | ||
name={data.teamMembers[0].name} | ||
role={data.teamMembers[0].role} | ||
linkedin={data.teamMembers[0].linkedinUrl} | ||
github={data.teamMembers[0].githubUrl} | ||
twitter={data.teamMembers[0].twitterUrl} | ||
image={data.teamMembers[0].image} | ||
/> | ||
<div | ||
style={{ display: "flex", alignItems: "center", flexDirection: "column" }} | ||
> | ||
<img src={ourTeam} alt="Our Team" /> | ||
<Marquee direction="left"> | ||
{data.teamMembers.map((members, index) => ( | ||
<Card | ||
name={members.name} | ||
role={members.role} | ||
linkedin={members.linkedinUrl} | ||
github={members.githubUrl} | ||
twitter={members.twitterUrl} | ||
image={members.image} | ||
key={index} | ||
colour={colourChoices[index % 4]} | ||
/> | ||
))} | ||
</Marquee> | ||
</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