Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions components/home/Personality.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ const Personality = () => {
<h2 className="text-3xl font-bold font-header mb-2 text-primary">PERSONALITY OF THE WEEK</h2>
<p className="text-lg text-gray-500 font-medium">Celebrating Excellence</p>
</div>
{personality.linkedin && (
{personality.linkedinUrl && (
<a
href={personality.linkedin}
href={personality.linkedinUrl}
target="_blank"
rel="noopener noreferrer"
className="mt-2 p-3 bg-[#0077b5] text-white rounded-lg hover:bg-[#006097] transition-all duration-300 shadow-md hover:shadow-lg transform hover:-translate-y-0.5"
Expand Down
4 changes: 2 additions & 2 deletions hooks/usePOTW.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export interface POTWItem {
description: {
json: any;
};
linkedin?: string;
linkedinUrl?: string;
}

interface POTWCollection {
Expand All @@ -39,7 +39,7 @@ const GET_POTW = gql`
description {
json
}
linkedin
linkedinUrl
}
}
}`
Expand Down