Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resized the hamburger menu button, form, and logo #222

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Pages/LandingPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function LandingPage() {
/>
</div>
</div>
<div className="mx-14 mt-11 flex justify-center basis-[16rem] sm:mx-24">
<div className="lg:mx-14 mx-4 md:mx-10 lg:mt-11 flex justify-center basis-[16rem] ">
<Form />
</div>

Expand Down
4 changes: 2 additions & 2 deletions src/components/Header/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function Header() {
return (
<div className="app-header">
<div className="flex justify-between md:justify-evenly sticky top-0 z-[999] backdrop-blur-sm items-center py-[1.5rem] px-4 md:px-10 ">
<div className="hover:scale-105 duration-100 ease-in-out">
<div className="hover:scale-105 duration-100 ease-in-out w-1/5">
<Link to="/">

<img width={70} src="\assets\icon.webp" alt="Logo" />
Expand Down Expand Up @@ -113,7 +113,7 @@ function Header() {
) : (
<i
id="hamburger"
className="ri-menu-line w-[30px] h-[30px] text-[#DC2626]"
className="ri-menu-line w-[30px] h-[30px] text-[#DC2626] text-3xl"
onClick={() => {
toggleBodyScroll();
setIsNavBarOpen(!isNavBarOpen);
Expand Down
2 changes: 1 addition & 1 deletion src/components/Header/MenuOverlay.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const MenuOverlay = ({ links, setIsNavBarOpen, theme:[theme, handleThemeChange],

return (
// ul element to contain the menu links
<ul className="absolute md:hidden w-screen items-center text-center z-20 app-header h-[calc(100vh-7.375rem)] flex flex-col justify-evenly">
<ul className="absolute md:hidden w-screen items-center text-center z-20 app-header h-[calc(100vh-7.375rem)] flex flex-col justify-evenly" dataLenisPrevent="true">
{/* Mapping over the links array to create each link item */}
{links.map((link, index) => (
<li key={index}>
Expand Down