1- import { ArrowUpRightIcon } from "lucide-react" ;
2- import Link from "next/link" ;
31import { BreadcrumbJsonLd , ProfilePageJsonLd } from "next-seo" ;
42
5- import { Button } from "@/components/ui/button" ;
63import data from "@/data.json" ;
74import { dynamicOpengraph } from "@/lib/default-metadata" ;
85import {
@@ -13,7 +10,6 @@ import {
1310 mainTeamDesc ,
1411 mainOurTeam ,
1512 mainExpertIn ,
16- mainAndMore ,
1713 mainHome ,
1814 mainTeamLabel
1915} from "@/locales/.generated/strings" ;
@@ -22,6 +18,7 @@ import { AnimatedLines } from "../components/animated-lines";
2218
2319import { TeamCard } from "./card" ;
2420import { team } from "./data" ;
21+ import { TeamLinkedInMoreCard } from "./linkedin-more-card" ;
2522import { Typewriter } from "./typewriter" ;
2623
2724export async function generateMetadata ( props : { params : Promise < LangProps > } ) {
@@ -43,6 +40,9 @@ type TeamsProps = {
4340 params : Promise < LangProps > ;
4441} ;
4542
43+ /**
44+ * Team listing page.
45+ */
4646export default async function TeamSection ( { params } : TeamsProps ) {
4747 const { lang } = await params ;
4848 const founders = team . slice ( 0 , 2 ) ;
@@ -92,21 +92,7 @@ export default async function TeamSection({ params }: TeamsProps) {
9292 . map ( ( member ) => (
9393 < TeamCard key = { member . name } variant = "compact" { ...member } />
9494 ) ) }
95- </ div >
96-
97- < div className = "mt-12 flex w-full items-center justify-center" >
98- < Button
99- variant = "outline"
100- className = "text-hyperjump-blue border-hyperjump-blue/20 hover:bg-hyperjump-blue h-11 rounded-full px-8 font-semibold transition-all duration-200 hover:scale-[1.02] hover:text-white"
101- asChild >
102- < Link
103- href = "https://www.linkedin.com/company/hyperjump"
104- target = "_blank"
105- rel = "noreferrer noopener" >
106- { mainAndMore ( lang ) }
107- < ArrowUpRightIcon className = "ml-2 h-4 w-4" />
108- </ Link >
109- </ Button >
95+ < TeamLinkedInMoreCard variant = "compact" lang = { lang } />
11096 </ div >
11197 </ div >
11298 </ section >
@@ -115,6 +101,9 @@ export default async function TeamSection({ params }: TeamsProps) {
115101 ) ;
116102}
117103
104+ /**
105+ * JSON-LD metadata for team profiles and breadcrumbs.
106+ */
118107function JsonLd ( { lang } : LangProps ) {
119108 const { url } = data ;
120109
0 commit comments