Skip to content

Commit

Permalink
profile icon has been fixed in the index.html inside the navbar perfe…
Browse files Browse the repository at this point in the history
…ctly
  • Loading branch information
Rohan1786 committed Nov 7, 2024
1 parent 58edd59 commit 3b57e39
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@
transition: width 0.09s ease-in-out;
border-radius: 10px;
}
.profile-darkMode7{
.profile-darkMode2{
display: flex;
justify-content: space-between;
gap: 2px;
Expand Down Expand Up @@ -577,6 +577,10 @@ <h2>What type of transportation do you prefer for your travels?</h2>


<!-- Profile Icon -->
<!-- <a href="./testp.html" class="profile-link" style="display: flex; align-items: center; text-decoration: none;">
<img src="https://i.postimg.cc/tCL5Td4H/gold-membership-icon-default-avatar-profile-icon-membership-icon-social-media-user-image-illustratio.jpg" alt="Profile Icon" style="width: 35px; height: 35px; border-radius: 50%; margin-left: -170px;">
</a>
</li> -->

<style>

Expand Down Expand Up @@ -607,14 +611,17 @@ <h2>What type of transportation do you prefer for your travels?</h2>
}

</script>
<div class="profile-darkMode7">
<button id="darkModeToggle" style="width: 40px; height: 40px;">🌙</button>
<a href="./testp.html" class="profile-link" style="display: flex; align-items: center; text-decoration: none;">
<img src="https://i.postimg.cc/tCL5Td4H/gold-membership-icon-default-avatar-profile-icon-membership-icon-social-media-user-image-illustratio.jpg" alt="Profile Icon" style="width: 35px; height: 35px; border-radius: 50%; margin-left: -170px;">
</a>
</li>
</div>



<!-- <button id="darkModeToggle" style="width: 40px; height: 40px;">🌙</button> -->
<!-- for maintaining profile icon -->
<div class="profile-darkMode2">
<button id="darkModeToggle" style="width: 40px; height: 40px;">🌙</button>
<a href="./testp.html" class="profile-link" style="display: flex; align-items: center; text-decoration: none;">
<img src="https://i.postimg.cc/tCL5Td4H/gold-membership-icon-default-avatar-profile-icon-membership-icon-social-media-user-image-illustratio.jpg" alt="Profile Icon" style="width: 35px; height: 35px; border-radius: 50%; margin-left: -170px;">
</a>
</li>
</div>

</nav>

Expand Down

0 comments on commit 3b57e39

Please sign in to comment.