diff --git a/components/home/Personality.tsx b/components/home/Personality.tsx index 85f924a..b4c574f 100644 --- a/components/home/Personality.tsx +++ b/components/home/Personality.tsx @@ -161,9 +161,24 @@ const Personality = () => {
-
-

PERSONALITY OF THE WEEK

-

Celebrating Excellence

+
+
+

PERSONALITY OF THE WEEK

+

Celebrating Excellence

+
+ {personality.linkedin && ( + + + + )}
diff --git a/hooks/usePOTW.ts b/hooks/usePOTW.ts index 8c08207..a50b791 100644 --- a/hooks/usePOTW.ts +++ b/hooks/usePOTW.ts @@ -4,21 +4,22 @@ import { gql } from "graphql-request"; import { contentfulClient } from "../lib/contentful-client"; export interface POTWItem { - _id: string; - image: { - url: string; - description: string; - title: string; - }; - description: { - json: any; - }; + _id: string; + image: { + url: string; + description: string; + title: string; + }; + description: { + json: any; + }; + linkedin?: string; } interface POTWCollection { - personalityOfTheWeekCollection: { - items: POTWItem[] - } + personalityOfTheWeekCollection: { + items: POTWItem[] + } } const GET_POTW = gql` @@ -34,19 +35,20 @@ const GET_POTW = gql` description { json } + linkedin } } }` export const usePOTW = () => { - return useQuery({ - queryKey: ["pots"], - queryFn: async () => { - const data = await contentfulClient.request(GET_POTW); - if (data.personalityOfTheWeekCollection.items.length === 0) { - return null; - } - return data.personalityOfTheWeekCollection.items; - }, - }); + return useQuery({ + queryKey: ["pots"], + queryFn: async () => { + const data = await contentfulClient.request(GET_POTW); + if (data.personalityOfTheWeekCollection.items.length === 0) { + return null; + } + return data.personalityOfTheWeekCollection.items; + }, + }); }; diff --git a/lib/data/team.ts b/lib/data/team.ts index 77090a7..d0d00e5 100644 --- a/lib/data/team.ts +++ b/lib/data/team.ts @@ -52,7 +52,7 @@ export const teamMembers: TeamMember[] = [ major: "Geomatic Engineering", description: "As a Lead Developer together with Joy, Obrempong was a driving force behind the entire GESA platform. He seamlessly bridged the gap between backend architecture and frontend elegance, implementing both the secure core infrastructure and the stunning, interactive user interfaces. His full-stack expertise ensured a performant, pixel-perfect experience from the database to the screen.", image: "/images/Obrempong.jpg", - funFact: "A young daring Ghanaian, totally out of his comfort zone living his epic vision for Africa and Ghana, with hunger in his bones.", + funFact: "A young daring Ghanaian, totally out of his comfort zone living his epic vision for the Church, Africa and Ghana, with hunger in his bones.", socials: { github: "https://github.com/Obrempong-1", linkedin: "https://www.linkedin.com/in/obrempong-kwabena-osei-wusu-7b0217257/" @@ -78,7 +78,7 @@ export const teamMembers: TeamMember[] = [ { name: "Albert Agyapong Yeboah (Logical)", role: "UI Designer", - year: "3rd Year", + year: "4th Year", major: "Computer Engineering", description: "A creative powerhouse with a deep background in graphics design, Logical brought the GESA platform to life through his expert use of Figma. He meticulously crafted the web interfaces, establishing the premium visual identity that balances aesthetic appeal with intuitive user experience.", image: "/images/Albert.jpg",