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

Update NavUI, theme image & footer(Navbar UI #1769) #1781

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
Binary file added Images/buddha.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions commonStyles.css
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ footer {
position: relative;
height: 18vh;
width: 11vw;
left: 40vw;
bottom: 5vh;
left: 42vw;
bottom: -3vh;

margin-right: 30px;
}
Expand All @@ -133,6 +133,7 @@ footer {
height: 100px;
width: 100px;
left: 40vw;
bottom: 5vh;
}
}

Expand Down
12 changes: 6 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -155,14 +155,14 @@ <h1 class="text-xs uppercase font-semibold tracking-widest">Menu</h1>
<!-- Hero Section & Navbar -->
<!-- made the z-index-0 for the hero section so that menu button works for small screens -->
<div
class="heroSection h-[100vh] flex px-0 text-2xl lg:text-lg flex-col items-center bg-[url('./Images/HeroSection.webp')] bg-top bg-no-repeat bg-cover " >
class="heroSection h-[100vh] flex px-0 text-2xl lg:text-lg flex-col items-center bg-[url('./Images/buddha.png')] bg-top bg-no-repeat bg-cover " >

<!-- Navbar -->
<div
class=" fixed top-0 px-4 py-2 text-white duration-300 flex z-50 items-center justify-between w-full left-0 bg-gradient-to-l from-[#009933] to-[#c4e327] ">
<div class="leftSection">
<a class="text-white flex items-center" href="./index.html">
<img src="./Images/New_Logo_2.webp" alt="Moksh Logo" class="w-[4rem] h-[4rem] rounded-full" />
<img src="./Images/New_Logo_2.webp" alt="Moksh Logo" class="w-[3.3rem] h-[3.3rem] rounded-full" />

<span
class="ml-3 text-base lg:text-2xl uppercase font-semibold projectName tracking-widest ease-in-out duration-300 hover:text-black">Moksh</span>
Expand Down Expand Up @@ -237,20 +237,20 @@ <h1 class="text-xs uppercase font-semibold tracking-widest">Menu</h1>
</div>
</div>

<!-- Hero Section -->
<!-- Hero Section-->
<div class="heroSectionContent mt-20 h-[calc(90vh-0px)] w-full flex items-center flex-col text-black text-semibold py-8 relative gap-[5px]">
<img src="./Images/OMSymbol.webp" alt="Image of OM" class="OmSymbol sm:mr-[0px]" />
<div class="top text-center md:pt-20">
<h6>
<p class="projectName text-[4em] text-white">Moksh</p>
</h6>
<span class="text-lg italic mt-8 block sm:font-semibold">
<h2 class="font-semibold">A Spiritual Productivity Tool for Mental Wellness.</h2>
<h2 class="font-semibold" style="color:white;">A Spiritual Productivity Tool for Mental Wellness.</h2>
</span>
</div>
<div class="bottom text-center w-full px-8 sm:px-0 sm:w-1/2 mt-4 sm:mt-4 flex flex-col items-center">
<p class="text-lg leading-6 text-center font-semibold">
<h3 class="font-semibold text-lg sm:text-2xl">It is a spiritual productivity tool designed for individuals who want to unlock their potential and achieve true balance in life.</h3>
<h3 class="font-semibold text-lg sm:text-2xl" style="color: yellow;">It is a spiritual productivity tool designed for individuals who want to unlock their potential and achieve true balance in life.</h3>
</p>

<div class="scrollDown w-fit mt-4 circle border-2 border-white p-2 rounded-full flex items-center h-12 ease-in-out duration-300 hover:border-black group absolute bottom-5 left-1/2 -translate-x-1/2 -translate-y-12 sm:-translate-y-0">
Expand Down Expand Up @@ -501,7 +501,7 @@ <h1 class="text-black text-center mb-10 uppercase font-semibold">
<div class="newsLetter flex group ease-in-out duration-300 w-full lg:w-1/2">
<div class=" flex group ease-in-out duration-300 w-full lg:w-2/3">
<input type="email" name="email" id="email" placeholder="Your email"
class="input-field" style="margin-right: 10px;">
class="input-field" style="border-radius: 4px 0px 0px 4px;">

<button onclick="subscribe()" class="subscribeBtn">Subscribe</button>
</div>
Expand Down