Skip to content

Commit

Permalink
Update me.json with new references and modify Resume component for im…
Browse files Browse the repository at this point in the history
…proved styling and links
  • Loading branch information
talaman committed Nov 12, 2024
1 parent 42a06f3 commit 2665680
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
14 changes: 7 additions & 7 deletions app/components/Resume.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { StyleSheet, Text, View } from 'react-native';
import ReactToPrint from "react-to-print";
import "./resume.css";
import me from '../public/data/me.json';
import { FaLinkedin, FaGithub, FaEnvelope, FaPhoneAlt, FaHandPaper } from 'react-icons/fa';
import { FaLinkedin, FaGithub, FaEnvelope, FaPhoneAlt, FaHandPaper } from 'react-icons/fa';

class ComponentToPrint extends React.Component {
render() {
Expand All @@ -18,12 +18,12 @@ class ComponentToPrint extends React.Component {
<a className="icon-link" href={`tel:${me.contact.phone}`}>
<FaPhoneAlt /> {me.contact.phone}
</a>
</span>
</span>
<span>
<a className="icon-link" href={`https://${me.contact.website}`} target="_blank" rel="noopener noreferrer">
<FaHandPaper /> {me.contact.website}
</a>
</span>
</span>
</div>

<div className="info-row">
Expand Down Expand Up @@ -91,7 +91,7 @@ class ComponentToPrint extends React.Component {
<h2>Languages</h2>
<ul>
{me.languages.map((language, index) => (
<li key={index}>
<li style={{ marginBottom: 2 }} key={index}>
<strong>{language.language}</strong>, {language.level}.
</li>
))}
Expand All @@ -104,9 +104,9 @@ class ComponentToPrint extends React.Component {
<li key={index}>
<strong>{reference.name}</strong>, {reference.title}, <i>{reference.company}</i>
<br />
LinkedIn: {reference.linkedin}
<br />
Phone: {reference.phone}
<a className="icon-link" href={`https://www.linkedin.com/in/${reference.linkedin}`} target="_blank" rel="noopener noreferrer">
<FaLinkedin /> {reference.linkedin}
</a>
</li>
))}
</ul>
Expand Down
16 changes: 10 additions & 6 deletions app/public/data/me.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,18 +165,22 @@
],
"references": [
{
"name": "Søren Michael Nielsen",
"name": "Astrid K. Kyhl",
"title": "VP, Head of Data & AI",
"company": "TDC net",
"linkedin": "astrid-katrine-kyhl-4381104"
},
{
"name": "Søren M. Nielsen",
"title": "Engineering Manager",
"company": "Uber",
"linkedin": "smnie",
"phone": "+45 40 19 35 25"
"linkedin": "smnie"
},
{
"name": "Per M. Butschkow",
"title": "IT-udviklingschef",
"company": "Københavns Universitet",
"linkedin": "butschkow",
"phone": "+45 20 11 77 97"
"company": "University of Copenhagen",
"linkedin": "butschkow"
}
]
}
Binary file modified me-native.pdf
Binary file not shown.

0 comments on commit 2665680

Please sign in to comment.