diff --git a/dist/img/reddit.png b/dist/img/reddit.png new file mode 100644 index 0000000..48c3e5b Binary files /dev/null and b/dist/img/reddit.png differ diff --git a/dist/img/reddit.svg b/dist/img/reddit.svg new file mode 100644 index 0000000..de3ab90 --- /dev/null +++ b/dist/img/reddit.svg @@ -0,0 +1,43 @@ + + diff --git a/src/Main.elm b/src/Main.elm index 20d9193..7fecbcd 100644 --- a/src/Main.elm +++ b/src/Main.elm @@ -484,6 +484,9 @@ view model = githubLink = Html.a [ class "mr-05 p-15", href "https://github.com/AlbumShuffler/Frontend" ] [ img [ class "social-button", src "img/github.svg", alt "Link to GitHub" ] [] ] + redditLink = + Html.a [ class "mr-05 p-15", href "https://www.reddit.com/r/AlbumShuffler" ] [ img [ class "social-button", src "img/reddit.svg", alt "Link to Reddit" ] [] ] + language = Html.a [ class "non-styled-link p-15", style "font-size" "1.5rem", onClick ToggleLanguage, href "#" ] [ text model.text.flag ] @@ -517,7 +520,7 @@ view model = [ id "social-links-container" ] [ div [ class "d-flex justify-content-center align-items-center" ] - [ githubLink, language, artistImage ] + [ redditLink, githubLink, language, artistImage ] ] , div [ style "flex-grow" "1"