diff --git a/src/App.tsx b/src/App.tsx index 782efaf..9f8a740 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,5 +1,6 @@ import React from "react"; import { BrowserRouter as Router, Routes, Route } from "react-router-dom"; +import "./styles.css"; import Home from "./components/home/Home"; import Contacts from "./components/contacts/Contacts"; diff --git a/src/components/home/Home.tsx b/src/components/home/Home.tsx index 9cf9a8e..804ce84 100644 --- a/src/components/home/Home.tsx +++ b/src/components/home/Home.tsx @@ -1,10 +1,21 @@ import React from "react"; -import { Box, Button } from "@mui/material"; +import { Box } from "@mui/material"; +import IconButton, { IconButtonProps } from "@mui/material/IconButton"; +import { styled } from "@mui/material/styles"; import GroupsIcon from "@mui/icons-material/Groups"; import AddIcon from "@mui/icons-material/Add"; import CallIcon from "@mui/icons-material/Call"; import FiberManualRecordIcon from "@mui/icons-material/FiberManualRecord"; +const StyledIconButton = styled(IconButton)(({ theme }) => ({ + borderColor: theme.palette.secondary.main, + borderRadius: 10, + borderStyle: "solid", + borderWidth: 3, + width: 150, + height: 150, +})); + const Home: React.FC = () => { return ( { height: "75%", }} > - hi + hi - + + + - + + + - + + + - + + + diff --git a/src/components/navbar/Clock.tsx b/src/components/navbar/Clock.tsx index bb03e2d..2de6a3b 100644 --- a/src/components/navbar/Clock.tsx +++ b/src/components/navbar/Clock.tsx @@ -5,7 +5,7 @@ import React, { useState, useEffect } from "react"; import CalendarTodayIcon from "@mui/icons-material/CalendarToday"; import AccessTimeIcon from "@mui/icons-material/AccessTime"; -const FormattedBox = styled(Box)(({ theme }) => ({ +const FormattedBox = styled(Box)(() => ({ marginRight: 12, })); diff --git a/src/components/navbar/Navbar.tsx b/src/components/navbar/Navbar.tsx index 9fed9b4..3c12ed9 100644 --- a/src/components/navbar/Navbar.tsx +++ b/src/components/navbar/Navbar.tsx @@ -20,7 +20,7 @@ const Navbar: React.FC = () => { Kitty Katty! {pages.map((page, i) => ( - + div { + height: 100%; +}