Skip to content

Commit

Permalink
Added reddit link
Browse files Browse the repository at this point in the history
  • Loading branch information
b0wter committed Jun 17, 2024
1 parent c6602d7 commit b3ddbd5
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 1 deletion.
Binary file added dist/img/reddit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 43 additions & 0 deletions dist/img/reddit.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion src/Main.elm
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]

Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit b3ddbd5

Please sign in to comment.