Skip to content

Commit 7b86197

Browse files
Tarun SharmaTarun Sharma
authored andcommitted
Fixed the navbar logo bug for small screen
1 parent 2bf57cd commit 7b86197

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

src/components/Global/Footer.js

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,13 @@ const Footer = () => {
4545
<div className="flex justify-center text-teal-600 sm:justify-start">
4646
<a href="https://webxdao.github.io/">
4747
<span className="sr-only">WebX DAO</span>
48-
<img
49-
className="w-auto h-16 sm:h-10 md:h-[4.2rem]"
50-
src="/images/logo/logo.png"
51-
alt=""
52-
/>
48+
<img className="w-auto h-14 sm:h-16" src="/images/logo/logo.png" alt="" />
5349
</a>
5450
</div>
55-
{/*
51+
{/*
5652
<p className="max-w-md mx-auto mt-6 leading-relaxed text-center text-white/80 sm:max-w-xs sm:mx-0 sm:text-left">
5753
Add organization description here!
58-
</p>*/}
54+
</p> */}
5955
</div>
6056

6157
<div className="grid grid-cols-1 gap-8 sm:grid-cols-2 lg:col-span-2 md:grid-cols-4">

src/components/Global/Navbar.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const Navbar = () => {
2828
<a href="https://webxdao.github.io/">
2929
<span className="sr-only ">WebX DAO</span>
3030
<img
31-
className="h-10 w-auto sm:h-10 md:h-[4.2rem] cursor-pointer"
31+
className="h-12 w-auto sm:h-12 md:h-[4.2rem] cursor-pointer"
3232
src="/images/logo/logo.png"
3333
alt="WebX DAO White Logo"
3434
/>
@@ -82,7 +82,7 @@ const Navbar = () => {
8282
<div className="overflow-hidden rounded-lg shadow-xl backdrop-blur-sm bg-gradient1/50 ring-1 ring-white ring-opacity-5">
8383
<div className="flex items-center justify-between px-5 pt-4">
8484
<div>
85-
<img className="w-auto h-8" src="/images/logo/white_logo.png" alt="WebX DAO" />
85+
<img className="w-auto h-12" src="/images/logo/logo.png" alt="WebX DAO" />
8686
</div>
8787
<div className="-mr-2">
8888
<Popover.Button className="inline-flex items-center justify-center p-2 text-gray-400 rounded-md bg-white/20 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-cyber-webx">
@@ -97,7 +97,7 @@ const Navbar = () => {
9797
<a
9898
key={item.name}
9999
href={item.href}
100-
className="block px-3 py-2 text-base font-medium text-gray-100 rounded-md hover:bg-gray-50"
100+
className="block px-3 py-2 text-base font-medium text-gray-100 rounded-md hover:bg-gray-600"
101101
>
102102
{item.name}
103103
</a>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy