From cff1319621c80c4c836f5500946d073766f2a343 Mon Sep 17 00:00:00 2001 From: Arjun Satarkar Date: Sun, 28 Jul 2024 00:48:41 +0530 Subject: Discord activity: use mobile safe area insets for layout --- priv/discord_activity.html.eex | 49 +++++++++++++++++++++++++++++++----------- 1 file changed, 37 insertions(+), 12 deletions(-) (limited to 'priv') diff --git a/priv/discord_activity.html.eex b/priv/discord_activity.html.eex index 5278400..9dd0649 100644 --- a/priv/discord_activity.html.eex +++ b/priv/discord_activity.html.eex @@ -1,6 +1,7 @@ -<% home_url = "/.proxy/?#{Mediasync.Constants.query_param_discord_activity_inner()}" %> +<% home_url="/.proxy/?#{Mediasync.Constants.query_param_discord_activity_inner()}" %> + @@ -8,23 +9,43 @@ discord activity | mediasync +
currently hosting: @@ -55,10 +79,11 @@ const ACCESS_TOKEN_URL = "/.proxy/discord_activity/access_token?<%= Mediasync.Constants.query_param_discord_activity_inner() %>"; const HOME_URL = "<%= home_url %>"; const roomUrl = (roomId) => { - return `/.proxy/room/${roomId}?<%= Mediasync.Constants.query_param_discord_activity_inner() %>`; + return `/.proxy/room/${roomId}?<%= Mediasync.Constants.query_param_discord_activity_inner() %>`; }; + -- cgit v1.2.3-57-g22cb