Skip to content

Commit

Permalink
Fix sites display
Browse files Browse the repository at this point in the history
  • Loading branch information
Cemus committed Jan 19, 2024
1 parent 9966a3e commit 72ea212
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CV Creator</title>
<script type="module" crossorigin src="./assets/index-c80c888e.js"></script>
<script type="module" crossorigin src="./assets/index-2f097b7e.js"></script>
<link rel="stylesheet" href="./assets/index-11d4cd51.css">
</head>
<body>
Expand Down
10 changes: 7 additions & 3 deletions src/components/DisplayCV.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,12 @@ export default function DisplayCV(props) {
{props.website[0] && (
<div className="cv--personal-details">
<Icon path={mdiWeb} size={1} color="#005180" />
<a href={props.website[0]} target="_blank" rel="noreferrer">
{props.website}
<a
href={`https://${props.website[0]}`}
target="_blank"
rel="noreferrer"
>
{props.website[0]}
</a>
</div>
)}
Expand All @@ -120,7 +124,7 @@ export default function DisplayCV(props) {
target="_blank"
rel="noreferrer"
>
{props.gitHub}
{props.gitHub[0]}
</a>
</div>
)}
Expand Down

0 comments on commit 72ea212

Please sign in to comment.