From a902ca8748f2f850f660b5008059558571465894 Mon Sep 17 00:00:00 2001 From: aeddaqqa Date: Fri, 16 Aug 2024 16:06:57 +0100 Subject: [PATCH] chore(footer): update links --- .github/workflows/cypress.yml | 8 ++++---- src/constants/footer-consts.tsx | 28 ++++++++++++++++++++++------ src/layout/RoutesSuite.tsx | 2 -- src/views/legal/Legal.tsx | 31 ------------------------------- 4 files changed, 26 insertions(+), 43 deletions(-) delete mode 100644 src/views/legal/Legal.tsx diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 1ec459a3..ca606e3c 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -39,10 +39,10 @@ jobs: - name: build local image run: | - docker-compose build --build-arg EXPLORER_IMAGE=${{ env.explorer_image }}:${{ steps.setBranch.outputs.branch }} --build-arg WALLET_IMAGE=${{ env.wallet_image }}:${{ steps.setBranch.outputs.branch }} + docker compose build --build-arg EXPLORER_IMAGE=${{ env.explorer_image }}:${{ steps.setBranch.outputs.branch }} --build-arg WALLET_IMAGE=${{ env.wallet_image }}:${{ steps.setBranch.outputs.branch }} export EXPLORER_IMAGE=${{ env.explorer_image }}:${{ steps.setBranch.outputs.branch }} export WALLET_IMAGE=${{ env.wallet_image }}:${{ steps.setBranch.outputs.branch }} - docker-compose up -d + docker compose up -d docker cp camino-suite-host-container:/app/camino-suite ./ mkdir -p /home/runner/.cache docker cp camino-suite-host-container:/root/.cache/Cypress /home/runner/.cache/ @@ -102,10 +102,10 @@ jobs: - name: build local image run: | - docker-compose build --build-arg EXPLORER_IMAGE=${{ env.explorer_image }}:${{ steps.setBranch.outputs.branch }} --build-arg WALLET_IMAGE=${{ env.wallet_image }}:${{ steps.setBranch.outputs.branch }} + docker compose build --build-arg EXPLORER_IMAGE=${{ env.explorer_image }}:${{ steps.setBranch.outputs.branch }} --build-arg WALLET_IMAGE=${{ env.wallet_image }}:${{ steps.setBranch.outputs.branch }} export EXPLORER_IMAGE=${{ env.explorer_image }}:${{ steps.setBranch.outputs.branch }} export WALLET_IMAGE=${{ env.wallet_image }}:${{ steps.setBranch.outputs.branch }} - docker-compose up -d + docker compose up -d docker cp camino-suite-host-container:/app/camino-suite ./ mkdir -p /home/runner/.cache docker cp camino-suite-host-container:/root/.cache/Cypress /home/runner/.cache/ diff --git a/src/constants/footer-consts.tsx b/src/constants/footer-consts.tsx index 3bda168d..8855c7b7 100644 --- a/src/constants/footer-consts.tsx +++ b/src/constants/footer-consts.tsx @@ -133,21 +133,30 @@ export const FooterLinks = [ name: 'Camino Network', links: [ { - text: 'Ecosystem', + text: 'The Network', url: 'https://camino.network/ecosystem/', }, { - text: 'Travel', - url: 'https://camino.network/travel/', + text: 'Use Cases', + url: 'https://camino.network/partners/', }, { text: 'Validators', url: 'https://camino.network/validators/', }, { - text: 'Developers', - url: 'https://camino.network/developer/', + text: 'Web3 Travel', + url: 'https://camino.network/travel/', }, + { + text: 'Camino Messenger', + url: 'https://camino.network/messenger', + }, + ], + }, + { + name: 'Discover', + links: [ { text: 'Community', url: 'https://camino.network/community/', @@ -156,6 +165,14 @@ export const FooterLinks = [ text: 'Blog', url: 'https://camino.network/blog/', }, + { + text: 'News', + url: 'https://camino.network/news', + }, + { + text: 'Entities', + url: 'https://camino.network/entities/', + }, ], }, { @@ -187,5 +204,4 @@ export const FooterLinks = [ }, ], }, - ] diff --git a/src/layout/RoutesSuite.tsx b/src/layout/RoutesSuite.tsx index 514f4f33..575e5086 100644 --- a/src/layout/RoutesSuite.tsx +++ b/src/layout/RoutesSuite.tsx @@ -11,7 +11,6 @@ import MountAccessComponent from '../views/access/MountAccessComponent' import Create from '../views/create/Create' import ExplorerApp from '../views/explorer/ExplorerApp' import LandingPage from '../views/landing/LandingPage' -import Legal from '../views/legal/Legal' import LoginPage from '../views/login/LoginPage' import Partners from '../views/partners' import CreatedOffers from '../views/partners/CreatedOffers' @@ -114,7 +113,6 @@ export default function RoutesSuite() { } /> } /> - } /> }> } /> } /> diff --git a/src/views/legal/Legal.tsx b/src/views/legal/Legal.tsx deleted file mode 100644 index ecc5a633..00000000 --- a/src/views/legal/Legal.tsx +++ /dev/null @@ -1,31 +0,0 @@ -import React, { useEffect, useRef } from 'react' -import { mountLegal } from 'wallet/mountLegal' - -const LoadLegal = () => { - const ref = useRef(null) - useEffect(() => { - mountLegal(ref.current) - }, []) - - return ( -
-
-
- ) -} - -export default function Legal() { - return ( - Loading...
}> - - - ) -}