From 157ebc3019b87575a7ef73078073dae460d79f05 Mon Sep 17 00:00:00 2001 From: nikitabelous Date: Mon, 11 Dec 2023 19:21:54 +0200 Subject: [PATCH] fix dashboard tiles --- package.json | 2 +- src/components/HomeTilesSection/HomeTilesSection.scss | 1 - .../HomeTilesSection/Tiles/HomeTileDashboard.jsx | 8 +------- src/localization/resources/en.json | 2 +- 4 files changed, 3 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index cc3eea9..a74d879 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "rarime-landing", "private": true, - "version": "0.2.0", + "version": "0.2.1", "scripts": { "dev": "vite", "build": "vite build", diff --git a/src/components/HomeTilesSection/HomeTilesSection.scss b/src/components/HomeTilesSection/HomeTilesSection.scss index 1ba6407..77557dc 100644 --- a/src/components/HomeTilesSection/HomeTilesSection.scss +++ b/src/components/HomeTilesSection/HomeTilesSection.scss @@ -30,7 +30,6 @@ height: to-rem(789); overflow: hidden; position: relative; - cursor: pointer; @include respond-to(medium) { width: 100%; margin-top: to-rem(48); diff --git a/src/components/HomeTilesSection/Tiles/HomeTileDashboard.jsx b/src/components/HomeTilesSection/Tiles/HomeTileDashboard.jsx index 098e8a1..b325d80 100644 --- a/src/components/HomeTilesSection/Tiles/HomeTileDashboard.jsx +++ b/src/components/HomeTilesSection/Tiles/HomeTileDashboard.jsx @@ -2,17 +2,11 @@ import { useTranslation } from 'react-i18next' import { Icon } from '@/components' -import { CONFIG } from '../../../config' - const HomeTileDashboard = () => { const { t } = useTranslation() - const redirectToDashboard = () => { - window.open(CONFIG.dashboardLink) - } - return ( -
+
{t('home-tiles-section.title-4-part-1')}
{t('home-tiles-section.title-4-part-2')} diff --git a/src/localization/resources/en.json b/src/localization/resources/en.json index a609d9e..21a30f5 100644 --- a/src/localization/resources/en.json +++ b/src/localization/resources/en.json @@ -4,7 +4,7 @@ }, "header": { "button": "Install RariMe Snap", - "button-dashboard": "RariMe Dashboard" + "button-dashboard": "RariMe app" }, "home-hero-section": { "title-part-1": "One",