@@ -8,12 +8,20 @@ import type {
88 UserDocument ,
99} from '../../api/user' ;
1010import { SelectionButton } from '../RoadCard/SelectionButton' ;
11- import { ArrowUpRight , Eye , EyeOff } from 'lucide-react' ;
11+ import {
12+ ArrowUpRight ,
13+ CheckCircle ,
14+ Eye ,
15+ EyeOff ,
16+ FileBadge ,
17+ Trophy ,
18+ } from 'lucide-react' ;
1219import { useToast } from '../../hooks/use-toast' ;
1320import { CreateRoadmapModal } from '../CustomRoadmap/CreateRoadmap/CreateRoadmapModal.tsx' ;
1421import { VisibilityDropdown } from './VisibilityDropdown.tsx' ;
1522import { ProfileUsername } from './ProfileUsername.tsx' ;
1623import UploadProfilePicture from './UploadProfilePicture.tsx' ;
24+ import { SkillProfileAlert } from './SkillProfileAlert.tsx' ;
1725
1826type RoadmapType = {
1927 id : string ;
@@ -202,11 +210,11 @@ export function UpdatePublicProfileForm() {
202210 < CreateRoadmapModal onClose = { ( ) => setIsCreatingRoadmap ( false ) } />
203211 ) }
204212
213+ < SkillProfileAlert />
214+
205215 < div className = "mb-8 flex flex-col justify-between gap-2 sm:mb-1 sm:flex-row" >
206216 < div className = "flex flex-grow flex-row items-center gap-2 sm:items-center" >
207- < h3 className = "mr-1 text-xl font-bold sm:text-3xl" >
208- Personal Profile
209- </ h3 >
217+ < h3 className = "mr-1 text-xl font-bold sm:text-3xl" > Skill Profile</ h3 >
210218 { publicProfileUrl && (
211219 < a
212220 href = { publicProfileUrl }
@@ -224,7 +232,7 @@ export function UpdatePublicProfileForm() {
224232 />
225233 </ div >
226234 < p className = "mb-8 mt-2 hidden text-sm text-gray-400 sm:mt-0 sm:block sm:text-base" >
227- Set up your profile to showcase your skills.
235+ Create your skill profile to showcase your skills.
228236 </ p >
229237
230238 < UploadProfilePicture
@@ -283,21 +291,21 @@ export function UpdatePublicProfileForm() {
283291 value = { email }
284292 />
285293 < div className = "flex items-center justify-end gap-2 rounded-md text-xs text-gray-400" >
286- < div className = "flex select-none items-center justify-end gap-2 rounded-md text-xs text-gray-400" >
287- < input
288- type = "checkbox"
289- name = "isEmailVisible"
290- id = "isEmailVisible"
291- checked = { isEmailVisible }
292- onChange = { ( e ) => setIsEmailVisible ( e . target . checked ) }
293- />
294- < label
295- htmlFor = "isEmailVisible"
296- className = "flex-grow cursor-pointer py-1.5"
297- >
298- Show my email on profile
299- </ label >
300- </ div >
294+ < div className = "flex select-none items-center justify-end gap-2 rounded-md text-xs text-gray-400" >
295+ < input
296+ type = "checkbox"
297+ name = "isEmailVisible"
298+ id = "isEmailVisible"
299+ checked = { isEmailVisible }
300+ onChange = { ( e ) => setIsEmailVisible ( e . target . checked ) }
301+ />
302+ < label
303+ htmlFor = "isEmailVisible"
304+ className = "flex-grow cursor-pointer py-1.5"
305+ >
306+ Show my email on profile
307+ </ label >
308+ </ div >
301309 </ div >
302310 </ div >
303311
0 commit comments