Skip to content

Commit

Permalink
Fix link to images
Browse files Browse the repository at this point in the history
  • Loading branch information
NiekM committed Jun 28, 2024
1 parent 5951d0f commit 6e802f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
7 changes: 3 additions & 4 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11337,9 +11337,9 @@
function (model, link) {
var folder = function () {
if (model.$ === 'Light') {
return 'images/dark/';
return '../images/dark/';
} else {
return 'images/light/';
return '../images/light/';
}
}();
return A2(
Expand All @@ -11359,9 +11359,8 @@
var $author$project$Main$gitHub = {description: 'GitHub', src: 'github.svg', url: 'https://github.com/NiekM/'};
var $author$project$Main$linkedIn = {description: 'LinkedIn', src: 'linkedin.svg', url: 'https://www.linkedin.com/in/niek-mulleners/'};
var $author$project$Main$orcid = {description: 'ORCID', src: 'orcid.svg', url: 'https://orcid.org/0000-0002-7934-6834'};
var $author$project$Main$scholar = {description: 'Google Scholar', src: 'scholar.svg', url: 'https://scholar.google.nl/citations?user=zqSF4BgAAAAJ&hl=en'};
var $author$project$Main$myLinks = _List_fromArray(
[$author$project$Main$linkedIn, $author$project$Main$gitHub, $author$project$Main$orcid, $author$project$Main$scholar]);
[$author$project$Main$linkedIn, $author$project$Main$gitHub, $author$project$Main$orcid]);
var $mdgriffith$elm_ui$Internal$Model$AsRow = {$: 'AsRow'};
var $mdgriffith$elm_ui$Internal$Model$asRow = $mdgriffith$elm_ui$Internal$Model$AsRow;
var $mdgriffith$elm_ui$Element$row = F2(
Expand Down
6 changes: 2 additions & 4 deletions src/Main.elm
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import Element.Events as Events
import Element.Background as Background
import Element.Font as Font
import Element.Region exposing (description)
import List exposing (foldr)


type Model
= Light
Expand Down Expand Up @@ -133,8 +131,8 @@ makeLink model link =
let
folder =
case model of
Light -> "images/dark/"
Dark -> "images/light/"
Light -> "../images/dark/"
Dark -> "../images/light/"
in
Element.link []
{ url = link.url
Expand Down

0 comments on commit 6e802f6

Please sign in to comment.