|
|
@ -203,8 +203,13 @@ export function UpdatePublicProfileForm() { |
|
|
|
<div className="flex items-center gap-2"> |
|
|
|
<div className="flex items-center gap-2"> |
|
|
|
<h3 className="text-2xl font-bold">Public Profile</h3> |
|
|
|
<h3 className="text-2xl font-bold">Public Profile</h3> |
|
|
|
{publicProfileUrl && ( |
|
|
|
{publicProfileUrl && ( |
|
|
|
<a href={publicProfileUrl} target="_blank" className="shrink-0"> |
|
|
|
<a |
|
|
|
<ArrowUpRight className="h-6 w-6 stroke-[3]" /> |
|
|
|
href={publicProfileUrl} |
|
|
|
|
|
|
|
target="_blank" |
|
|
|
|
|
|
|
className="flex shrink-0 flex-row items-center gap-1 rounded-md border border-black py-0.5 pl-1 pr-1.5 text-xs transition-colors hover:bg-black hover:text-white" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<ArrowUpRight className="h-3 w-3 stroke-[3]" /> |
|
|
|
|
|
|
|
Visit Profile |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
)} |
|
|
|
)} |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -491,8 +496,8 @@ export function UpdatePublicProfileForm() { |
|
|
|
/> |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div> |
|
|
|
<div className="flex flex-col gap-2"> |
|
|
|
<div className="flex items-center gap-2"> |
|
|
|
<div className="flex select-none items-center gap-2 rounded-md border px-2 hover:bg-gray-100"> |
|
|
|
<input |
|
|
|
<input |
|
|
|
type="checkbox" |
|
|
|
type="checkbox" |
|
|
|
name="isEmailVisible" |
|
|
|
name="isEmailVisible" |
|
|
@ -500,12 +505,15 @@ export function UpdatePublicProfileForm() { |
|
|
|
checked={isEmailVisible} |
|
|
|
checked={isEmailVisible} |
|
|
|
onChange={(e) => setIsEmailVisible(e.target.checked)} |
|
|
|
onChange={(e) => setIsEmailVisible(e.target.checked)} |
|
|
|
/> |
|
|
|
/> |
|
|
|
<label htmlFor="isEmailVisible" className=""> |
|
|
|
<label |
|
|
|
Show my Email |
|
|
|
htmlFor="isEmailVisible" |
|
|
|
|
|
|
|
className="flex-grow cursor-pointer py-1.5" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
Make my email public |
|
|
|
</label> |
|
|
|
</label> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div className="flex select-none items-center gap-2"> |
|
|
|
<div className="flex select-none items-center gap-2 rounded-md border px-2 hover:bg-gray-100"> |
|
|
|
<input |
|
|
|
<input |
|
|
|
type="checkbox" |
|
|
|
type="checkbox" |
|
|
|
name="isAvailableForHire" |
|
|
|
name="isAvailableForHire" |
|
|
@ -513,15 +521,13 @@ export function UpdatePublicProfileForm() { |
|
|
|
checked={isAvailableForHire} |
|
|
|
checked={isAvailableForHire} |
|
|
|
onChange={(e) => setIsAvailableForHire(e.target.checked)} |
|
|
|
onChange={(e) => setIsAvailableForHire(e.target.checked)} |
|
|
|
/> |
|
|
|
/> |
|
|
|
<label htmlFor="isAvailableForHire" className=""> |
|
|
|
<label |
|
|
|
|
|
|
|
htmlFor="isAvailableForHire" |
|
|
|
|
|
|
|
className="flex-grow cursor-pointer py-1.5" |
|
|
|
|
|
|
|
> |
|
|
|
Available for Hire |
|
|
|
Available for Hire |
|
|
|
</label> |
|
|
|
</label> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{isAvailableForHire && ( |
|
|
|
|
|
|
|
<p className="mt-1 text-sm text-slate-500"> |
|
|
|
|
|
|
|
Make sure to keep your progress updated for potential employers. |
|
|
|
|
|
|
|
</p> |
|
|
|
|
|
|
|
)} |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<button |
|
|
|
<button |
|
|
|