Skip to content

Commit

Permalink
Merge pull request #107 from rishabhpathak359/dev
Browse files Browse the repository at this point in the history
Anchor tag in logo in navbar
  • Loading branch information
virajchandra51 authored Oct 5, 2023
2 parents a360358 + e846d06 commit c9134c8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
19 changes: 16 additions & 3 deletions src/components/navbar/Navbar.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@

.codeutsava__navbar {
display: flex;
flex-direction: column;
justify-content: center;
background-color: transparent;
backdrop-filter: blur(10px);
position: relative;
Expand All @@ -22,10 +24,11 @@
border-color: rgba(155, 155, 155, 0.4);
border-image: initial;
border-width: 0.4px 0px;
justify-content: space-evenly;
justify-content:space-evenly;
align-items: center;
top: 0px;
padding: 0px;
/* top: 0px;
padding: 0px; */
padding-right: 70px;
}

.codeutsava__navbar-hamburger-body {
Expand All @@ -44,12 +47,21 @@
height: 50px;
display: flex;
justify-content: center;
align-items: center;
}

.codeutsava__navbar-logo img {
width: auto;
height: 50px;
}
.codeutsava__navbar-brochure-image {
width: auto;
height: 50px;
}
.codeutsava__navbar-brochure a{
text-decoration: none;
}


.codeutsava__navbar-brochure {
display: flex;
Expand Down Expand Up @@ -156,6 +168,7 @@
display: flex;
flex-direction: row;
align-items: center;
padding-right: 50px;
}

.codeutsava__navbar-navlist {
Expand Down
6 changes: 3 additions & 3 deletions src/components/navbar/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ const Navbar = () => {
>
<header className="codeutsava__navbar">
<div className="codeutsava__navbar-body">
<div className="codeutsava__navbar-logo codeutsava__navbar-brochure">
<img src={codeutsava} />
<div className="codeutsava__navbar-brochure">
<a href="/"><img className="codeutsava__navbar-brochure-image " src={codeutsava} /></a>
<button className="codeutsava__navbar-brochure-button feedback-button">
<img src={feedBack} alt="Feedback" />
<a href={guidelines} download="Guidelines">
Expand Down Expand Up @@ -127,7 +127,7 @@ const Navbar = () => {
className="codeutsava__navbar-hamburger-logo"
style={{ transform: "translateX(-8px)" }}
>
<img src={codeutsava} />
<a href="/"><img src={codeutsava} /></a>
</div>
<div className="codeutsava__navbar-hamburger-logo"
style={{ transform: "translateX(-8px)" }}>
Expand Down

0 comments on commit c9134c8

Please sign in to comment.