From aad35e711985a7ffc0c4d09c4c414d68b2aa1e9b Mon Sep 17 00:00:00 2001 From: migbash <20924663+migbash@users.noreply.github.com> Date: Sun, 5 Nov 2023 22:52:05 +0100 Subject: [PATCH] #371 :: feat :: footer (v2) (v7) stable; --- package-lock.json | 14 +- package.json | 2 +- .../components/_main_/footer/Footer.svelte | 408 ++++++++++-------- src/routes/api/data/main/footer/+server.ts | 7 +- 4 files changed, 244 insertions(+), 187 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3d001289e..946314f0c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "name": "betarena-scores-platform", "version": "2.4.4", "dependencies": { - "@betarena/scores-lib": "^1.9.8", + "@betarena/scores-lib": "^1.9.9", "@lukeed/uuid": "^2.0.1", "@metamask/sdk": "^0.1.0", "@moralisweb3/client-firebase-auth-utils": "^2.18.4", @@ -549,9 +549,9 @@ } }, "node_modules/@betarena/scores-lib": { - "version": "1.9.8", - "resolved": "https://registry.npmjs.org/@betarena/scores-lib/-/scores-lib-1.9.8.tgz", - "integrity": "sha512-IgrwNhiafmiGYdNvwdVXWf9+fFwx59em0ExRiTa8cFlwelFoaGQHQ5bXLzLZXVDY1ToSm51OFes8/+NX19/deg==", + "version": "1.9.9", + "resolved": "https://registry.npmjs.org/@betarena/scores-lib/-/scores-lib-1.9.9.tgz", + "integrity": "sha512-zCcLNBxg/AINKRjdiBjcUqrgcr0k1jQeDEjAOQxEs7chbwR8OPwqRcdfI0bBrSDyRWFyB5P1vhX4wXBfeNdpjw==", "dependencies": { "firebase": "^9.17.2", "graphql-request": "^5.0.0", @@ -14514,9 +14514,9 @@ } }, "@betarena/scores-lib": { - "version": "1.9.8", - "resolved": "https://registry.npmjs.org/@betarena/scores-lib/-/scores-lib-1.9.8.tgz", - "integrity": "sha512-IgrwNhiafmiGYdNvwdVXWf9+fFwx59em0ExRiTa8cFlwelFoaGQHQ5bXLzLZXVDY1ToSm51OFes8/+NX19/deg==", + "version": "1.9.9", + "resolved": "https://registry.npmjs.org/@betarena/scores-lib/-/scores-lib-1.9.9.tgz", + "integrity": "sha512-zCcLNBxg/AINKRjdiBjcUqrgcr0k1jQeDEjAOQxEs7chbwR8OPwqRcdfI0bBrSDyRWFyB5P1vhX4wXBfeNdpjw==", "requires": { "firebase": "^9.17.2", "graphql-request": "^5.0.0", diff --git a/package.json b/package.json index a75e12ac5..680caaf25 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "coverage": "vitest run --coverage" }, "dependencies": { - "@betarena/scores-lib": "^1.9.8", + "@betarena/scores-lib": "^1.9.9", "@lukeed/uuid": "^2.0.1", "@metamask/sdk": "^0.1.0", "@moralisweb3/client-firebase-auth-utils": "^2.18.4", diff --git a/src/lib/components/_main_/footer/Footer.svelte b/src/lib/components/_main_/footer/Footer.svelte index cc328d841..33ccd9c9e 100644 --- a/src/lib/components/_main_/footer/Footer.svelte +++ b/src/lib/components/_main_/footer/Footer.svelte @@ -1,39 +1,67 @@ - + - + @@ -148,49 +179,56 @@ FOOTER SEO SOCIAL LINKS -->

- {B_FOT_T?.scores_footer_links?.latest_news} + {B_FOT_T?.links?.latest_news}

- {B_FOT_T?.scores_footer_links?.about_us} + {B_FOT_T?.links?.about_us}

- {B_FOT_T?.scores_footer_links?.betting_tips} + {B_FOT_T?.links?.betting_tips}

- {B_FOT_T?.scores_footer_links?.privacy} + {B_FOT_T?.links?.privacy}

- {B_FOT_T?.scores_footer_links?.social_networks} + {B_FOT_T?.links?.social_networks}

- {B_FOT_T?.scores_footer_links?.terms} + {B_FOT_T?.links?.terms}

+

+ {B_FOT_T?.links?.status} +

+

+ {B_FOT_T?.links?.changelog} +

+ - {#each B_FOT_T?.scores_footer_links?.social_networks ?? [] as social_network} + {#each Object.keys(B_FOT_T?.links?.social_networks) ?? [] as key}

- {social_network[1]} + {B_FOT_T?.links?.social_networks?.[key]}

{/each}