From b30aaa029d69070a8af03c52cfb226887ae198b7 Mon Sep 17 00:00:00 2001 From: Antoine Jaussoin Date: Thu, 9 Mar 2023 16:15:34 +0000 Subject: [PATCH] Add a link on main logo (#495) --- .github/workflows/ci.yml | 13 ++++++++++++ README.md | 8 +++++++- backend/package.json | 2 +- docs/package.json | 2 +- frontend/package.json | 2 +- integration/package.json | 2 +- marketing/package.json | 2 +- .../common/components/ScrollSpyMenu/index.tsx | 20 ++++++++++++------- marketing/src/containers/Navbar/index.tsx | 7 ++++--- package.json | 2 +- 10 files changed, 43 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ec2a8b4a..83d0e9bff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,3 +35,16 @@ jobs: - run: yarn ci-test - run: yarn lint - run: yarn build + test-marketing: + runs-on: ubuntu-latest + defaults: + run: + working-directory: ./marketing + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 18 + - run: yarn + - run: yarn lint + - run: yarn build diff --git a/README.md b/README.md index 296bc69ca..725c30193 100644 --- a/README.md +++ b/README.md @@ -92,9 +92,15 @@ This will run a demo version, which you can turn into a fully licenced version b ## Versions History +### Version 5.0.2 + +- Simplify management of environment variables on the frontend +- Add an error 404 page on the marketing site +- Add Ad-Words tracking on the landing page + ### Version 5.0.1 -- Add Google Ad-Words tracking +- Add Google Ad-Words tracking on the frontend - Fix self-hosted licence checking URL ### Version 5.0.0 diff --git a/backend/package.json b/backend/package.json index 5e713405a..af685035e 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "@retrospected/backend", - "version": "5.0.1", + "version": "5.0.2", "license": "GNU GPLv3", "private": true, "type": "module", diff --git a/docs/package.json b/docs/package.json index 33847c379..df65a8117 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,6 +1,6 @@ { "name": "docs", - "version": "5.0.1", + "version": "5.0.2", "private": true, "scripts": { "docusaurus": "docusaurus", diff --git a/frontend/package.json b/frontend/package.json index 5d8038349..61baa80b4 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "@retrospected/frontend", - "version": "5.0.1", + "version": "5.0.2", "license": "GNU GPLv3", "private": true, "dependencies": { diff --git a/integration/package.json b/integration/package.json index 5964c2e48..73176bb93 100644 --- a/integration/package.json +++ b/integration/package.json @@ -1,6 +1,6 @@ { "name": "retro-board-integration", - "version": "5.0.1", + "version": "5.0.2", "description": "Integrations tests", "main": "index.js", "directories": { diff --git a/marketing/package.json b/marketing/package.json index 43bc4abd2..4b503f80f 100644 --- a/marketing/package.json +++ b/marketing/package.json @@ -1,6 +1,6 @@ { "name": "marketing", - "version": "5.0.1", + "version": "5.0.2", "private": true, "scripts": { "dev": "next dev -p 3001", diff --git a/marketing/src/common/components/ScrollSpyMenu/index.tsx b/marketing/src/common/components/ScrollSpyMenu/index.tsx index 7df1e5fee..23b0d9086 100755 --- a/marketing/src/common/components/ScrollSpyMenu/index.tsx +++ b/marketing/src/common/components/ScrollSpyMenu/index.tsx @@ -111,13 +111,19 @@ const ScrollSpyMenu = ({ ) : ( <> {drawer ? ( - - {t(menu.label)} - + <> + {isAnchor ? ( + + {t(menu.label)} + + ) : ( + {t(menu.label)} + )} + ) : ( <> {isAnchor ? ( diff --git a/marketing/src/containers/Navbar/index.tsx b/marketing/src/containers/Navbar/index.tsx index 4f1c4ab5a..9cb04793f 100755 --- a/marketing/src/containers/Navbar/index.tsx +++ b/marketing/src/containers/Navbar/index.tsx @@ -2,19 +2,18 @@ import React, { useContext } from 'react'; import NavbarWrapper from '@/common/components/Navbar'; import Drawer from '@/common/components/Drawer'; import Button from '@/common/components/Button'; -// import Logo from '@/common/components/UIElements/Logo'; import Box from '@/common/components/Box'; import HamburgMenu from '@/common/components/HamburgMenu'; import Container from '@/common/components/UI/Container'; import { DrawerContext } from '@/common/contexts/DrawerContext'; import ScrollSpyMenu from '@/common/components/ScrollSpyMenu'; -import logoImage from './logo.png'; import { MenuItem } from '@/types'; import { useTranslation } from 'next-i18next'; import { useConfig } from '@/common/hooks/useConfig'; import { LanguagePicker } from './LanguagePicker'; import styled from 'styled-components'; import { Logo } from '@/common/components/Logo/Logo'; +import Link from 'next/link'; type NavbarProps = { navbarStyle?: any; @@ -70,7 +69,9 @@ const Navbar = ({ width={32} height={32} /> */} - + + +