From 79e70f2871389b67a28716a35f1b06f75fdc8450 Mon Sep 17 00:00:00 2001 From: sharmi4590 Date: Mon, 22 Jul 2024 13:15:15 +0530 Subject: [PATCH] UI Enhancement --- client/src/components/Navbar.jsx | 87 ++++++++++++++++++-------------- client/tailwind.config.js | 5 +- 2 files changed, 54 insertions(+), 38 deletions(-) diff --git a/client/src/components/Navbar.jsx b/client/src/components/Navbar.jsx index 35b0d16..18c5496 100644 --- a/client/src/components/Navbar.jsx +++ b/client/src/components/Navbar.jsx @@ -1,8 +1,8 @@ import React, { useState } from "react"; -import { FaGithub, FaBars, FaTimes } from "react-icons/fa"; // Combine the imports from react-icons/fa +import { FaGithub, FaBars, FaTimes } from "react-icons/fa"; import { Link } from "react-router-dom"; import { CiStar } from "react-icons/ci"; -import logo_final from "../assets/logo_final.png"; // Adjust the path to your logo +import logo_final from "../assets/logo_final.png"; const Navbar = () => { const [isOpen, setIsOpen] = useState(false); @@ -16,7 +16,7 @@ const Navbar = () => { }; const logoStyle = { - height: "60px", // Adjusted size for better visibility + height: "60px", width: "60px", borderRadius: "50%", marginRight: "10px", @@ -32,7 +32,7 @@ const Navbar = () => { PreDiaBet -
+
Home @@ -64,7 +64,7 @@ const Navbar = () => {
-
+
+
+
+ + Home + + + Data Info + + + Prediction + + + Visualization + + + Contact Us + + + FAQ + + + + + GitHub + +
@@ -130,7 +143,7 @@ const NavLink = ({ to, children, onClick }) => ( {children} diff --git a/client/tailwind.config.js b/client/tailwind.config.js index e1936fa..3f75900 100644 --- a/client/tailwind.config.js +++ b/client/tailwind.config.js @@ -8,6 +8,9 @@ export default { ], theme: { extend: { + screens: { + '850px': '850px', + }, textShadow: { sm: '0 1px 2px var(--tw-shadow-color)', DEFAULT: '0 2px 4px var(--tw-shadow-color)', @@ -27,4 +30,4 @@ export default { ) }), ], -} \ No newline at end of file +}