From e5d30ee4fbfc61f37f5f3b555ad12f24bcb26509 Mon Sep 17 00:00:00 2001 From: Arjun Satarkar Date: Sun, 3 Nov 2024 15:53:23 -0500 Subject: Add link to source code --- config/runtime.exs | 4 +++- priv/home.html.eex | 3 +++ priv/static/main.css | 12 ++++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/config/runtime.exs b/config/runtime.exs index 47a8a21..b679a9c 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -20,4 +20,6 @@ config :mediasync, websocket_max_frame_octets: 10_000, secret_key_base: System.fetch_env!("MEDIASYNC_SECRET_KEY_BASE"), session_encryption_salt: System.fetch_env!("MEDIASYNC_SESSION_ENCRYPTION_SALT"), - session_signing_salt: System.fetch_env!("MEDIASYNC_SESSION_SIGNING_SALT") + session_signing_salt: System.fetch_env!("MEDIASYNC_SESSION_SIGNING_SALT"), + source_url: "https://github.com/arjunsatarkar/mediasync/", + source_link_text: "[source code]" diff --git a/priv/home.html.eex b/priv/home.html.eex index d17cbb8..a12ccd8 100644 --- a/priv/home.html.eex +++ b/priv/home.html.eex @@ -35,6 +35,9 @@ + diff --git a/priv/static/main.css b/priv/static/main.css index 2a5d4b6..c3c236c 100644 --- a/priv/static/main.css +++ b/priv/static/main.css @@ -18,6 +18,14 @@ input { font-family: inherit; } +a:link { + color: lightskyblue; +} + +a:visited { + color: mediumpurple; +} + @font-face { font-family: "FontAwesomeSolid"; src: url("/static/vendored/fontawesome-free-6.6.0-web/webfonts/fa-solid-900.woff2") @@ -31,3 +39,7 @@ input { .icon-users::before { content: "\f0c0"; } + +#source-footer { + text-align: right; +} -- cgit v1.2.3-57-g22cb