Skip to content

Commit

Permalink
improved click arer of profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
kondaurovDev committed Feb 20, 2025
1 parent a22d31f commit 8ddc553
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/cv-maker/core/template.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,13 @@ function ResumeHead(resume: ResumeObject) {
> {resume.me.phone}</a>
</div>
</div>
<div className="pt-5 flex gap-2">
<div className="pt-1">
{resume.me.profiles.map(p => {
const iconClass = `fa-${p.icon.split(' ').at(0)}`;
return (
<a href={p.url} target="_blank" rel="noopener noreferrer">
<a
class="inline-block py-2 px-1"
href={p.url} target="_blank" rel="noopener noreferrer">
<span
className={`fa-brands fa-lg ${iconClass}`}
style={{ "color": p.icon.split(' ').at(1) }}
Expand Down Expand Up @@ -232,7 +234,7 @@ function getPeriod(company: EmploymentRecord) {

}

function getSkills(resume: ResumeObject): [ string, { code: string, technology: ProjectTechnology }[] ][] {
function getSkills(resume: ResumeObject): [string, { code: string, technology: ProjectTechnology }[]][] {

const categories: { code: string, technology: ProjectTechnology }[] | undefined =
resume.employmentHistory?.flatMap(e =>
Expand Down

0 comments on commit 8ddc553

Please sign in to comment.