-
Notifications
You must be signed in to change notification settings - Fork 3
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
1 parent
67e6407
commit ba4047e
Showing
15 changed files
with
289 additions
and
1 deletion.
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
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.
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.
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,32 @@ | ||
import { Button } from "@/components/ui/Button"; | ||
import { TeamMembersCardProps } from "./data"; | ||
import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"; | ||
|
||
const TeamMemberCard = ({ | ||
avatar, | ||
role, | ||
name, | ||
nickname, | ||
followLink, | ||
}: TeamMembersCardProps) => { | ||
return ( | ||
<div className="flex flex-col gap-3 justify-center align-middle items-center text-center"> | ||
<Avatar className="w-10/12 h-auto mix-blend-luminosity"> | ||
<AvatarImage src={avatar.src} alt={avatar.alt} /> | ||
<AvatarFallback>{name}</AvatarFallback> | ||
</Avatar> | ||
<div> | ||
<div className="text-xs font-robotoMono">{role}</div> | ||
<div className="gradient-text">{name}</div> | ||
</div> | ||
<a href={followLink} className="font-robotoMono"> | ||
<Button | ||
className="text-xs" | ||
size={"sm"} | ||
>{`Follow ${nickname}`}</Button> | ||
</a> | ||
</div> | ||
); | ||
}; | ||
|
||
export default TeamMemberCard; |
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,82 @@ | ||
import { ImageT } from "@/@types/global"; | ||
|
||
export type TeamMembersCardProps = { | ||
avatar: ImageT; | ||
role: string; | ||
name: string; | ||
nickname: string; | ||
followLink: string; | ||
}; | ||
|
||
export const teamMembersData: TeamMembersCardProps[] = [ | ||
{ | ||
avatar: { | ||
src: "/images/team-members/1.png", | ||
alt: "Lindsey Dokidis", | ||
}, | ||
role: "Developer", | ||
name: "Lindsey Dokidis", | ||
nickname: "Lindsey", | ||
followLink: "#", | ||
}, | ||
{ | ||
avatar: { | ||
src: "/images/team-members/2.png", | ||
alt: "Lindsey Dokidis", | ||
}, | ||
role: "Developer", | ||
name: "Lindsey Dokidis", | ||
nickname: "Lindsey", | ||
followLink: "#", | ||
}, | ||
{ | ||
avatar: { | ||
src: "/images/team-members/3.png", | ||
alt: "Lindsey Dokidis", | ||
}, | ||
role: "Developer", | ||
name: "Lindsey Dokidis", | ||
nickname: "Lindsey", | ||
followLink: "#", | ||
}, | ||
{ | ||
avatar: { | ||
src: "/images/team-members/4.png", | ||
alt: "Lindsey Dokidis", | ||
}, | ||
role: "Developer", | ||
name: "Lindsey Dokidis", | ||
nickname: "Lindsey", | ||
followLink: "#", | ||
}, | ||
{ | ||
avatar: { | ||
src: "/images/team-members/5.png", | ||
alt: "Lindsey Dokidis", | ||
}, | ||
role: "Developer", | ||
name: "Lindsey Dokidis", | ||
nickname: "Lindsey", | ||
followLink: "#", | ||
}, | ||
{ | ||
avatar: { | ||
src: "/images/team-members/6.png", | ||
alt: "Lindsey Dokidis", | ||
}, | ||
role: "Developer", | ||
name: "Lindsey Dokidis", | ||
nickname: "Lindsey", | ||
followLink: "#", | ||
}, | ||
{ | ||
avatar: { | ||
src: "/images/team-members/7.png", | ||
alt: "Lindsey Dokidis", | ||
}, | ||
role: "Developer", | ||
name: "Lindsey Dokidis", | ||
nickname: "Lindsey", | ||
followLink: "#", | ||
}, | ||
]; |
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,21 @@ | ||
import SectionTitle from "@/components/ui/SectionTitle"; | ||
import { teamMembersData } from "./data"; | ||
import TeamMemberCard from "./TeamMemberCard"; | ||
import AnimateWrapper from "@/components/AnimateWrapper"; | ||
|
||
const TeamMembersSection = () => { | ||
return ( | ||
<section className="space-y-[84px] mt-48 w-full"> | ||
<SectionTitle className="">Meet the JellyFish team</SectionTitle> | ||
<AnimateWrapper delay={0.4}> | ||
<div className="flex justify-between gap-4 "> | ||
{teamMembersData.map((service, key) => ( | ||
<TeamMemberCard {...service} key={key} /> | ||
))} | ||
</div> | ||
</AnimateWrapper> | ||
</section> | ||
); | ||
}; | ||
|
||
export default TeamMembersSection; |
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,11 +1,13 @@ | ||
import HeroSection from "./HeroSection"; | ||
import ServicesSection from "./Services"; | ||
import TeamMembersSection from "./TeamMembers"; | ||
|
||
export const HomePage = () => { | ||
return ( | ||
<> | ||
<HeroSection /> | ||
<ServicesSection /> | ||
<TeamMembersSection /> | ||
</> | ||
); | ||
}; |
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 * as React from "react"; | ||
import * as AvatarPrimitive from "@radix-ui/react-avatar"; | ||
|
||
import { cn } from "@/lib/utils"; | ||
|
||
const Avatar = React.forwardRef< | ||
React.ElementRef<typeof AvatarPrimitive.Root>, | ||
React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root> | ||
>(({ className, ...props }, ref) => ( | ||
<AvatarPrimitive.Root | ||
ref={ref} | ||
className={cn( | ||
"relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", | ||
className, | ||
)} | ||
{...props} | ||
/> | ||
)); | ||
Avatar.displayName = AvatarPrimitive.Root.displayName; | ||
|
||
const AvatarImage = React.forwardRef< | ||
React.ElementRef<typeof AvatarPrimitive.Image>, | ||
React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Image> | ||
>(({ className, ...props }, ref) => ( | ||
<AvatarPrimitive.Image | ||
ref={ref} | ||
className={cn("aspect-square h-full w-full", className)} | ||
{...props} | ||
/> | ||
)); | ||
AvatarImage.displayName = AvatarPrimitive.Image.displayName; | ||
|
||
const AvatarFallback = React.forwardRef< | ||
React.ElementRef<typeof AvatarPrimitive.Fallback>, | ||
React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Fallback> | ||
>(({ className, ...props }, ref) => ( | ||
<AvatarPrimitive.Fallback | ||
ref={ref} | ||
className={cn( | ||
"flex h-full w-full items-center justify-center rounded-full bg-muted", | ||
className, | ||
)} | ||
{...props} | ||
/> | ||
)); | ||
AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName; | ||
|
||
export { Avatar, AvatarImage, AvatarFallback }; |
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