- {item.country_name} -
-- {league.league_name} -
-From ab6f46f0a1253967ddc3b5f138ae34766769eeaa Mon Sep 17 00:00:00 2001
From: migbash <20924663+migbash@users.noreply.github.com>
Date: Mon, 31 Jul 2023 14:23:11 +0100
Subject: [PATCH 01/24] chore: add vscode/snippets.code-snippets;
---
.vscode/snippets.code-snippets | 116 +++++++++++++++++++++++++++++++++
1 file changed, 116 insertions(+)
create mode 100644 .vscode/snippets.code-snippets
diff --git a/.vscode/snippets.code-snippets b/.vscode/snippets.code-snippets
new file mode 100644
index 000000000..4b2f7969e
--- /dev/null
+++ b/.vscode/snippets.code-snippets
@@ -0,0 +1,116 @@
+{
+ // Place your scores workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
+ // description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
+ // is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
+ // used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
+ // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
+ // Placeholders with the same ids are connected.
+ // Example:
+ // "Print to console": {
+ // "scope": "javascript,typescript",
+ // "prefix": "log",
+ // "body": [
+ // "console.log('$1');",
+ // "$2"
+ // ],
+ // "description": "Log output to console"
+ // }
+
+ "scores-html-img-tag":
+ {
+ "scope": "svelte",
+ "prefix": "img",
+ "body":
+ [
+ ""
+ ],
+ "description": "Betarena - Scores Platform image tag"
+ },
+
+ // ◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️
+ // SVELTE-FILE STRUCTURE SNIPPETS & COMMENTS
+ // ◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️◾️
+
+ "scores-region-one-off-comment":
+ {
+ "scope": "svelte,html,javascript,typescript",
+ "prefix": "scriptoneoff",
+ "body":
+ [
+ "// #region ➤ 🚏 ONE-OFF CONDITIONS",
+ "\n$0\n",
+ "// #endregion ➤ 🚏 ONE-OFF CONDITIONS"
+ ],
+ "description": "Betarena - Scores Platform Region One-Off init."
+ },
+
+ "scores-region-reactive-comment":
+ {
+ "scope": "svelte,html,javascript,typescript",
+ "prefix": "scriptreactive",
+ "body":
+ [
+ "// #region ➤ 🔥 REACTIVIY [SVELTE]",
+ "\n$0\n",
+ "// #endregion ➤ 🔥 REACTIVIY [SVELTE]"
+ ],
+ "description": "Betarena - Scores Platform Region One-Off init."
+ },
+
+ "scores-region-lifecycle-comment":
+ {
+ "scope": "svelte,html,javascript,typescript",
+ "prefix": "scriptlifecycle",
+ "body":
+ [
+ "// #region ➤ 🔄 LIFECYCLE [SVELTE]",
+ "\n$0\n",
+ "// #endregion ➤ 🔄 LIFECYCLE [SVELTE]"
+ ],
+ "description": "Betarena - Scores Platform Region Lifecycle init."
+ },
+
+ "scores-style-responsive-comment":
+ {
+ "scope": "svelte,html,css",
+ "prefix": "stylerescom",
+ "body":
+ [
+ "/*",
+ "=============",
+ "⚡️ RESPONSIVNESS",
+ "=============",
+ "*/"
+ ],
+ "description": "Betarena - Scores Platform Style Responsive Comment"
+ },
+
+ "scores-style-type-style-comment":
+ {
+ "scope": "svelte,html,css",
+ "prefix": "stylestylecom",
+ "body":
+ [
+ "/* 🎨 style */"
+ ],
+ "description": "Betarena - Scores Platform Style Style Comment"
+ },
+
+ "scores-style-type-position-comment":
+ {
+ "scope": "svelte,html,css",
+ "prefix": "styleposcom",
+ "body":
+ [
+ "/* 📌 position */"
+ ],
+ "description": "Betarena - Scores Platform Style Position Comment"
+ }
+
+}
\ No newline at end of file
From 4f287a7b34af5d990fabce58dc07052ff43b5f8b Mon Sep 17 00:00:00 2001
From: migbash <20924663+migbash@users.noreply.github.com>
Date: Tue, 1 Aug 2023 17:33:15 +0100
Subject: [PATCH 02/24] chore: Footer re-structure;
---
.../components/_main_/footer/Footer.svelte | 1814 ++++++++---------
1 file changed, 821 insertions(+), 993 deletions(-)
diff --git a/src/lib/components/_main_/footer/Footer.svelte b/src/lib/components/_main_/footer/Footer.svelte
index cbc18f797..d08635e54 100644
--- a/src/lib/components/_main_/footer/Footer.svelte
+++ b/src/lib/components/_main_/footer/Footer.svelte
@@ -1,87 +1,71 @@
-
+
+
-
+
-{#if FOOTER_TRANSLATION_DATA != undefined && !hideSEO}
- {logoLink}
- {FOOTER_TRANSLATION_DATA.scores_footer_links
- .latest_news}
-
- {FOOTER_TRANSLATION_DATA.scores_footer_links
- .about_us}
-
- {FOOTER_TRANSLATION_DATA.scores_footer_links
- .betting_tips}
-
- {FOOTER_TRANSLATION_DATA.scores_footer_links
- .privacy}
-
- {FOOTER_TRANSLATION_DATA.scores_footer_links
- .social_networks}
- {logoLink}
+ {B_FOT_T?.scores_footer_links?.latest_news}
+
+ {B_FOT_T?.scores_footer_links?.about_us}
+
+ {B_FOT_T?.scores_footer_links?.betting_tips}
+
+ {B_FOT_T?.scores_footer_links?.privacy}
+
+ {B_FOT_T?.scores_footer_links?.social_networks}
+
+ {B_FOT_T?.scores_footer_links?.terms}
+
- {FOOTER_TRANSLATION_DATA.scores_footer_links
- .terms}
+ {social_network[1]}
- {social_network[1]}
-
+ {B_LEGL_T?.translations?.top_leagues} +
+ + ++ {item.league_name} +
+ ++ {B_LEGL_T?.translations?.leagues_by_country} +
+ + ++ {item.country_name} +
+ ++ {league.league_name} +
+ ++ {B_LEGL_T?.translations?.no_results} +
+ ++ {B_LEGL_T?.translations?.competitions_results} +
+ + ++ {item?.country_name} +
+ ++ {item?.league_name} +
+ +toggleFullLeagueList()} + style="padding: 0 20px;" + > + {!showFullLeagueList ? B_LEGL_T?.translations?.full_list : B_LEGL_T ?.translations?.hide} +
+ + {/if} + + ++ {B_LEGL_T?.translations?.countries_results} +
+ + ++ {item.country_name} +
+ ++ {league?.league_name} +
+ +toggleFullCountryList()} + style="padding: 0 20px;" + > + {!showFullCountryList ? B_LEGL_T?.translations?.full_list : B_LEGL_T?.translations?.hide} +
+ + {/if} + + {/if} + +{WIDGET_T_DATA?.translations?.top_leagues}
+{WIDGET_T_DATA?.translations?.leagues_by_country}
+ + + {#each WIDGET_T_DATA?.all_leagues_list ?? [] as league} + + {league?.league_name} + + {/each} + + + {#each WIDGET_T_DATA?.unique_county_list ?? [] as country} +{country?.country_name}
+ {/each} + +- {LEAGUE_LIST_WIDGET_DATA_SEO?.translations?.top_leagues} -
-- {LEAGUE_LIST_WIDGET_DATA_SEO?.translations?.leagues_by_country} -
- - {#each LEAGUE_LIST_WIDGET_DATA_SEO?.all_leagues_list || [] as league} - - {league?.league_name} - - {/each} - - {#each LEAGUE_LIST_WIDGET_DATA_SEO?.unique_county_list || [] as country} -{country?.country_name}
- {/each} -- {LEAGUE_LIST_WIDGET_DATA_SEO - .translations.widget_title} -
- -- {LEAGUE_LIST_WIDGET_DATA_SEO - .translations.top_leagues} -
- -- {item.league_name} -
-- {LEAGUE_LIST_WIDGET_DATA_SEO - .translations.leagues_by_country} -
- -- {item.country_name} -
-- {league.league_name} -
-- {LEAGUE_LIST_WIDGET_DATA_SEO - .translations.no_results} -
-- {LEAGUE_LIST_WIDGET_DATA_SEO - .translations - .competitions_results} -
- -- {item.country_name} -
-- {item.league_name} -
-- toggleFullLeagueList()} - style="padding: 0 20px;" - > - {!showFullLeagueList - ? LEAGUE_LIST_WIDGET_DATA_SEO - ?.translations?.full_list - : LEAGUE_LIST_WIDGET_DATA_SEO - ?.translations?.hide} -
- {/if} - - -- {LEAGUE_LIST_WIDGET_DATA_SEO - .translations.countries_results} -
- - -- {item.country_name} -
-- {league.league_name} -
-- toggleFullCountryList()} - style="padding: 0 20px;" - > - {!showFullCountryList - ? LEAGUE_LIST_WIDGET_DATA_SEO - .translations.full_list - : LEAGUE_LIST_WIDGET_DATA_SEO - .translations.hide} -
- {/if} - {/if} -+ {season_league_data_obj?.season_league_name} +
+ + + ++ {item.season_league_name} +
+ ++ {season_league_data_obj.season_league_name} +
+ ++ {B_LEGT_T?.translations?.games} +
+ ++ {B_LEGT_T?.translations?.points} +
+ +{data.position}
++ + +
{data.team_name}
+ + + +
{data.games_played}
+{data.points}
+{item?.season_league_name}
+ + {#each item?.season_league_teams ?? [] as itemL} +{itemL?.team_name}
+ {/each} + + {/each} +- {item?.season_league_name} -
- - {#each item?.season_league_teams || [] as itemL} -{itemL?.team_name}
- {/each} - {/each} -- {season_league_data_obj.season_league_name} -
- {#if !toggleDropdown} - - {:else} - - {/if} -- {item.season_league_name} -
-- {season_league_data_obj.season_league_name} -
-- {LEAGUES_TABLE_SCORES_SEO_DATA - .translations.games} -
-- {LEAGUES_TABLE_SCORES_SEO_DATA - .translations.points} -
-+ {targetFormData?.title ?? 'Withdrawal Request'} +
+ ++ {targetFormStep?.description} +
+ ++ {item} +
+ + {#if currentWithdrawStep > (i+1)} + + {/if} + ++ {targetFormStep?.balance ?? 'Your Balance:'} +
+ + ++ {spliceBalanceDoubleZero(toDecimalFix($userBetarenaSettings?.user?.scores_user_data?.main_balance)) ?? 0} BTA +
+ + ++ (${spliceBalanceDoubleZero(toDecimalFix($userBetarenaSettings?.user?.scores_user_data?.main_balance)) ?? 0}) +
+ + + {#if if_R_0} + + + + + + + + ++ {withdrawObj?.asset} +
+ + {/if} + ++ {form_footnote?.information_subtitle} +
+ ++ {form_footnote?.information_description} +
+ + {/each} + ++ {data?.form_success?.title ?? 'Withdrawal Request'} +
+ ++ {data?.form_success?.description} +
++ {form_footnote?.sub_title} +
+ ++ {form_footnote?.sub_description} +
++ {RESPONSE_PROFILE_DATA?.withdraw?.subtitle ?? 'Withdraw Options'} +
++ {RESPONSE_PROFILE_DATA?.withdraw?.description ?? ''} +
++ {RESPONSE_PROFILE_DATA?.withdraw?.subtitle_1 ?? 'Please note:'} +
++ {@html RESPONSE_PROFILE_DATA?.withdraw?.information} +
++
Warning there is no connection to the internet you are using the website in offline mode
+- {HEADER_TRANSLATION_DATA - .scores_top_bar_messages.message} -
- - (show = false)} - on:keypress={(e) => { if (e.key === 'Enter') (show = false) }} - /> -+ {B_NAV_T?.scores_top_bar_messages?.message} +
+ + + (show = false)} + on:keypress={(e) => { if (e.key === 'Enter') (show = false) }} + /> + +- {WIDGET_T_DATA?.translations?.title} -
-{WIDGET_T_DATA?.translations?.title}
{WIDGET_S_DATA?.home_team_name}
{WIDGET_S_DATA?.away_team_name}
@@ -137,9 +158,7 @@ NOTE: [HINT] use (CTRL+SPACE) to select a (class) (id) style --> -- {WIDGET_S_DATA?.league_name} -
+{WIDGET_S_DATA?.league_name}
@@ -149,7 +168,7 @@ NOTE: [HINT] use (CTRL+SPACE) to select a (class) (id) style {WIDGET_S_DATA?.away_team_name} - {#each WIDGET_S_DATA?.player_urls || [] as player} + {#each WIDGET_S_DATA?.player_urls ?? [] as player}@@ -160,54 +179,52 @@ NOTE: [HINT] use (CTRL+SPACE) to select a (class) (id) style
- { - WIDGET_T_DATA - ?.widget_translations - ?.goals - } -
-- { - WIDGET_T_DATA - ?.widget_translations - ?.odds - } -
-- { - WIDGET_T_DATA - ?.widget_translations - ?.player - } -
-- { - WIDGET_T_DATA - ?.widget_translations - ?.show_more_players - } -
+{WIDGET_T_DATA?.widget_translations?.goals}
+{WIDGET_T_DATA?.widget_translations?.odds}
+{WIDGET_T_DATA?.widget_translations?.player}
+{WIDGET_T_DATA?.widget_translations?.show_more_players}
- {#each WIDGET_S_DATA?.players || [] as player} + {#each WIDGET_S_DATA?.players ?? [] as player}{player?.common_name}
@@ -162,52 +151,48 @@ NOTE: [HINT] use (CTRL+SPACE) to select a (class) (id) style