From 11873f4228176d5379ac75c505df1e53ff113f83 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Thu, 10 Oct 2024 21:34:22 +0530 Subject: [PATCH] feat: create robot style --- src/components/molecules/NavBar.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/molecules/NavBar.tsx b/src/components/molecules/NavBar.tsx index adf8254d..c09a4ca7 100644 --- a/src/components/molecules/NavBar.tsx +++ b/src/components/molecules/NavBar.tsx @@ -6,7 +6,7 @@ import { useGlobalInfoStore } from "../../context/globalInfo"; import { Button, IconButton } from "@mui/material"; import { RecordingIcon } from "../atoms/RecorderIcon"; import { SaveRecording } from "./SaveRecording"; -import { Circle } from "@mui/icons-material"; +import { Circle, Add } from "@mui/icons-material"; import MeetingRoomIcon from '@mui/icons-material/MeetingRoom'; import { Link, useLocation, useNavigate } from 'react-router-dom'; import { AuthContext } from '../../context/auth'; @@ -73,22 +73,22 @@ export const NavBar: React.FC = ({ newRecording, recordingName, isR size={"small"} onClick={handleNewRecording} sx={{ - width: isRecording ? '100px' : '130px', + width: isRecording ? '130px' : '140px', borderRadius: '5px', padding: '8px', - background: 'white', - color: 'rgba(255,0,0,0.7)', + background: '#ff00c3', + color: 'white', marginRight: '10px', fontFamily: '"Roboto","Helvetica","Arial",sans-serif', fontWeight: '500', fontSize: '0.875rem', lineHeight: '1.75', letterSpacing: '0.02857em', - '&:hover': { color: 'red', backgroundColor: 'white' } + '&:hover': { color: 'white', backgroundColor: '#ff00c3' } } } > - {isRecording ? 'New' : 'Create a Robot'} + {isRecording ? 'New Robot' : 'Create Robot'} { recordingLength > 0