diff --git a/README.md b/README.md index 4a7d01b..e578ca7 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Please note this is a very early version and there will be rough edges, please d **[Many Decks][hosted]** -[hosted]: https://decks.md.rereadgames.com +[hosted]: https://decks.rereadgames.com [md]: https://github.com/Lattyware/massivedecks ## About @@ -27,7 +27,7 @@ Many Decks is open source software available under [the AGPLv3 license](LICENSE) To use, [the hosted version][hosted] is easiest. -IF you wish to deploy your own version, the easiest way is to use the docker images, which can be found on Docker Hub: +If you wish to deploy your own version, the easiest way is to use the docker images, which can be found on Docker Hub: [Client][docker-client]/[Server][docker-server]. [docker-client]: https://hub.docker.com/r/massivedecks/manydecks-client diff --git a/client/src/elm/ManyDecks/Pages/Login.elm b/client/src/elm/ManyDecks/Pages/Login.elm index 4f09f15..2705370 100644 --- a/client/src/elm/ManyDecks/Pages/Login.elm +++ b/client/src/elm/ManyDecks/Pages/Login.elm @@ -15,6 +15,7 @@ import ManyDecks.Auth.Guest as Guest import ManyDecks.Auth.Methods as Auth import ManyDecks.Auth.Twitch as Twitch import ManyDecks.Messages as Global +import ManyDecks.Meta as Meta import ManyDecks.Model exposing (Model, Route(..)) import ManyDecks.Pages.Decks.Route as Decks import ManyDecks.Pages.Login.Messages exposing (..) @@ -61,18 +62,18 @@ update msg model = view : Model -> List (Html Global.Msg) view model = - [ Card.view [ HtmlA.class "log-in" ] + [ Card.view [ HtmlA.class "page log-in" ] [ Html.h1 [] [ Icon.boxOpen |> Icon.viewIcon, Html.text "Many Decks" ] , Html.span [ HtmlA.class "version" ] [ Html.text "alpha" ] , Html.p [] [ Html.text "Create decks for " - , Html.a [ HtmlA.target "_blank", HtmlA.href "https://md.rereadgames.com" ] [ Html.text "Massive Decks" ] + , Html.a [ HtmlA.target "_blank", HtmlA.href Meta.massiveDecksUrl ] [ Html.text "Massive Decks" ] , Html.text "." ] , Html.p [] [ Html.text "This is a very early version, produced quickly in response to Cardcast's demise, there will " , Html.text "likely be bugs. Please report any you find " - , Html.a [ HtmlA.target "_blank", HtmlA.href "https://github.com/Lattyware/manydecks" ] + , Html.a [ HtmlA.target "_blank", HtmlA.href Meta.issuesUrl ] [ Html.text "on GitHub" ] ] , Html.p [] @@ -81,6 +82,10 @@ view model = ] , Html.div [ HtmlA.class "methods" ] (model.authMethods |> Maybe.map viewMethods |> Maybe.withDefault []) ] + , Html.div [ HtmlA.id "project-link" ] + [ Html.a [ HtmlA.target "_blank", Meta.projectUrl |> HtmlA.href ] + [ Icon.boxOpen |> Icon.viewIcon, Html.text " on ", Icon.github |> Icon.viewIcon ] + ] ] diff --git a/client/src/scss/_login.scss b/client/src/scss/_login.scss index c8cf94e..b90989d 100644 --- a/client/src/scss/_login.scss +++ b/client/src/scss/_login.scss @@ -77,3 +77,8 @@ --mdc-theme-primary: #772ce8; --mdc-theme-on-primary: #ffffff; } + +#project-link a { + color: #ffffff; + text-decoration: none; +} diff --git a/client/src/scss/many-decks.scss b/client/src/scss/many-decks.scss index bc95f4c..8e89068 100644 --- a/client/src/scss/many-decks.scss +++ b/client/src/scss/many-decks.scss @@ -38,6 +38,7 @@ body { .content { display: flex; + flex-direction: column; justify-content: center; align-items: center; flex-grow: 1;