Skip to content

Commit

Permalink
feat: add data
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudhgray committed Oct 30, 2023
1 parent a131a95 commit 559d630
Show file tree
Hide file tree
Showing 11 changed files with 37 additions and 6 deletions.
2 changes: 1 addition & 1 deletion web/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ export default function Home() {
<HorizontalTranslate mainRef={mainRef} title={"Projects"} style={{ scale: projectScale }}>
<CardsContainer style={{ paddingLeft: screenWidth > 650 ? "100px" : "5vw", paddingRight: screenWidth > 650 ? "100px" : "5vw" }} className='text-dark' ref={projectRef}>
{projects.map((proj, i) => <ProjectCard i={(numProjectInView > i) ? i : 0} key={"mem" + i} {...proj} />)}
<SeeMore linkto='https://github.com/GDGVIT/' i={(numProjectInView > projects.length) ? projects.length : 0} img='#' title='See All' subtitle='Groundbreaking Stuff' />
<SeeMore linkto='https://github.com/GDGVIT/' i={(numProjectInView > projects.length) ? projects.length : 0} img='#' title='See All' subtitle='Groundbreaking Stuff :0' />
</CardsContainer>
</HorizontalTranslate>
</Section>
Expand Down
8 changes: 4 additions & 4 deletions web/app/team/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ export default function Team() {

</div>
<motion.div style={{ scale: scaleTransform, left: leftTransform }} className='fixed top-[40%] left-[50px] pointer-events-none text-white w-[30vw] '>
<h1 className={`font-extrabold ${curtab === 0 ? "text-yellow" : curtab === 1 ? "text-pastel_red" : curtab === 2 ? "text-pastel_blue" : "text-pastel_green"} uppercase lg:text-3xl md:text-2xl text-4xl`}>Meet The Team</h1>
<h1 className={`font-extrabold ${curtab === 0 ? "text-yellow" : curtab === 1 ? "text-pastel_green" : curtab === 2 ? "text-pastel_blue" : "text-pastel_red"} uppercase lg:text-3xl md:text-2xl text-4xl`}>Meet The Team</h1>
<p className="mt-4 font-light">We’ve got a strong team filled with caffeine addicted developers, gradients loving designers and machine like working managers.</p>
<div style={{ display: hookedYPostion > 0.4 ? 'block' : 'none' }} className="flex flex-col gap-2 mt-8 pointer-events-auto">
<p onClick={() => setCurtab(0)} className={`${curtab === 0 ? "text-yellow underline underline-offset-4 team-tab-after" : "text-grey"} hover:text-yellow cursor-pointer`}>Board</p>
<p onClick={() => setCurtab(1)} className={`${curtab === 1 ? "text-pastel_red underline underline-offset-4 team-tab-after" : "text-grey"} hover:text-pastel_red cursor-pointer`}>Techies</p>
<p onClick={() => setCurtab(1)} className={`${curtab === 1 ? "text-pastel_green underline underline-offset-4 team-tab-after" : "text-grey"} hover:text-pastel_green cursor-pointer`}>Techies</p>
<p onClick={() => setCurtab(2)} className={`${curtab === 2 ? "text-pastel_blue underline underline-offset-4 team-tab-after" : "text-grey"} hover:text-blue cursor-pointer`}>Designers</p>
<p onClick={() => setCurtab(3)} className={`${curtab === 3 ? "text-pastel_green underline underline-offset-4 team-tab-after" : "text-grey"} hover:text-green cursor-pointer`}>Managers</p>
<p onClick={() => setCurtab(3)} className={`${curtab === 3 ? "text-pastel_red underline underline-offset-4 team-tab-after" : "text-grey"} hover:text-red cursor-pointer`}>Managers</p>
</div>
</motion.div >
<div className="gap-16 p-10 mt-24 sm:grid-cols-12 sm:grid">
Expand All @@ -50,7 +50,7 @@ export default function Team() {
{curtab === 0 ? team_members_board.map((mem, i) => <TeamCardForGrid i={i} key={"mem" + i} title={mem.name} img={mem.img} subtitle={mem.position} />) : curtab === 1 ? team_members_technical.map((mem, i) => <TeamCardForGrid i={i} key={"mem" + i} title={mem.name} img={mem.img} subtitle={mem.position} />) : curtab === 2 ? team_members_design.map((mem, i) => <TeamCardForGrid i={i} key={"mem" + i} title={mem.name} img={mem.img} subtitle={mem.position} />) : team_members_managers.map((mem, i) => <TeamCardForGrid i={i} key={"mem" + i} title={mem.name} img={mem.img} subtitle={mem.position} />)}
</div>
</div>
<Footer bg={curtab === 0 ? "bg-pastel_red" : curtab === 1 ? "bg-pastel_blue" : "bg-pastel_green"} />
<Footer bg={curtab === 0 ? "bg-yellow" : curtab === 1 ? "bg-pastel_green" : curtab === 2 ? "bg-pastel_blue" : "bg-pastel_red"} />
</main >
)
}
8 changes: 7 additions & 1 deletion web/components/ProjectCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from 'react'
import Image from 'next/image'
import Link from 'next/link'
import Card from './Card'
import Icon from './Icons'
type Props = {
img: string
title: string
Expand Down Expand Up @@ -32,7 +33,12 @@ const ProjectCard = ({ img, title, description, link, i }: Props) => {
<h3 className='mb-2'>
{description}
</h3>
<Link className='border-black hover:border-b-2 hover:mb-[-1px] mt-auto' target='blank' href={`${link}`}>View More</Link>
{/* <Link className='border-black hover:border-b-2 hover:mb-[-1px] mt-auto' target='blank' href={`${link}`}>View More</Link> */}
<div className='flex gap-2 justify-end mt-auto'>
{link ?
<Icon icon='web' xsmall link={link || ""} name='projweb' />
: null}
</div>
</Card>
)
}
Expand Down
10 changes: 10 additions & 0 deletions web/content/team_members.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
"position": "Backend and Security",
"img": "/team/technical/anuj.jpeg"
},
{
"name":"Vignesh Natarajan",
"position":"Backend",
"img":"/team/technical/vignesh.jpeg"
},
{
"name": "Prashanna Rajbhandari",
"position": "App",
Expand All @@ -34,6 +39,11 @@
"position": "Full Stack and Game",
"img": "/team/technical/sankhayan.jpeg"
},
{
"name":"Abhijeet Bhardwaj",
"position":"App",
"img":"/team/technical/abhijeet.jpeg"
},
{
"name": "John Tony",
"position": "Backend",
Expand Down
5 changes: 5 additions & 0 deletions web/content/team_members_design.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
"position": "UI/UX",
"img": "/team/design/kumar_aryan.jpeg"
},
{
"name":"Praful K M",
"position":"UI/UX",
"img":"/team/design/praful.jpeg"
},
{
"name": "Chandrima Manik",
"position": "UI/UX",
Expand Down
10 changes: 10 additions & 0 deletions web/content/team_members_managers.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
"position": "Manager",
"img": "/team/management/sanskriti.jpeg"
},
{
"name":"Sanvi Chavan",
"position":"Manager",
"img":"/team/management/sanvi.jpeg"
},
{
"name": "Arnav Jaggi",
"position": "Manager",
Expand All @@ -19,6 +24,11 @@
"position": "Manager",
"img": "/team/management/suhani_kansal.jpeg"
},
{
"name":"Rohith Senthil",
"position":"Manager",
"img":"/team/management/rohith.jpeg"
},
{
"name": "Aditya Chheda",
"position": "Manager",
Expand Down
Binary file added web/public/team/design/praful.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 web/public/team/management/rohith.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 web/public/team/management/sanvi.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 web/public/team/technical/abhijeet.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 web/public/team/technical/vignesh.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 559d630

Please sign in to comment.