Skip to content

Commit 31832cd

Browse files
committed
add headline
1 parent 1719bbf commit 31832cd

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

‎apps/codebility/app/(marketing)/profiles/[id]/_components/ProfileContent.tsx‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,11 @@ export default function ProfileContent({
203203
</p>
204204
</motion.div>
205205
)}
206+
{codev.headline && (
207+
<p className="text-center text-sm capitalize lg:text-lg">
208+
{codev.headline}
209+
</p>
210+
)}
206211
<motion.div
207212
className="flex gap-4"
208213
variants={fadeInUp}

‎apps/codebility/lib/server/codev.service.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ export const getCodevs = async ({
113113
id,
114114
skill_category_id,
115115
points
116-
)
116+
),
117+
headline
117118
`);
118119

119120
// Apply filters dynamically

‎apps/codebility/types/home/codev.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ export interface Codev {
129129
promote_declined?: boolean;
130130
date_passed?: string;
131131
date_joined?: string;
132+
headline?: string;
132133
}
133134

134135
export type ApplicantStatus =

0 commit comments

Comments
 (0)