From 921557afe27b0f712c6a1702f4eafe49914f7844 Mon Sep 17 00:00:00 2001 From: qt-coder Date: Wed, 30 Jun 2021 10:45:39 +0800 Subject: [PATCH] Changed nav hover color from pink to teal --- components/Nav/Header.js | 6 +++--- components/StatCard.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/components/Nav/Header.js b/components/Nav/Header.js index f30f339..3f93a74 100644 --- a/components/Nav/Header.js +++ b/components/Nav/Header.js @@ -144,12 +144,12 @@ const DesktopSubNav = ({ label, href, subLabel }) => { display={'block'} p={2} rounded={'md'} - _hover={{ bg: useColorModeValue('pink.50', 'gray.900') }}> + _hover={{ bg: useColorModeValue('teal.50', 'gray.900') }}> {label} @@ -163,7 +163,7 @@ const DesktopSubNav = ({ label, href, subLabel }) => { justify={'flex-end'} align={'center'} flex={1}> - + diff --git a/components/StatCard.js b/components/StatCard.js index f00fa2c..1322a82 100644 --- a/components/StatCard.js +++ b/components/StatCard.js @@ -8,7 +8,7 @@ import { } from "@chakra-ui/react" import React from 'react' -import {motion} from 'framer-motion' +import { motion } from 'framer-motion' const container = { hidden: { opacity: 1, scale: 0 }, @@ -49,7 +49,7 @@ function StatCard() { Activity 45 messages - + 9.05% @@ -57,4 +57,4 @@ function StatCard() { ) } -export default StatCard +export default StatCard \ No newline at end of file