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

Font size changed in landing page #24

Open
wants to merge 1 commit 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
14 changes: 7 additions & 7 deletions vriddhi/src/app/Components/Hero/Hero.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ function Hero() {
alt="HomeBg"
className="w-full object-cover absolute top-0"
/>
<div className="absolute right-[10%] top-[30%] text-center flex flex-col justify-center items-center">
<h1 className="font-blanka text-white text-8xl tracking-[0.9rem]">
<div className="absolute right-[7%] lg:right-[10%] top-[20%] lg:top-[30%] text-center flex flex-col justify-center items-center">
<h1 className="font-blanka text-white text-7xl lg:text-8xl tracking-[0.9rem]">
VRIDDHI
</h1>
<Image src={year} alt="year" className="py-11" />
<button className="font-nidus bg-[#EEBD2F] hover:bg-[#ebcb6d] rounded-[39.979px] px-6 py-3 text-3xl text-[#2E2E2E]">
<Image src={year} alt="year" className="py-8 lg:py-11" />
<button className="font-nidus bg-[#EEBD2F] hover:bg-[#ebcb6d] rounded-[39.979px] px-6 py-3 text-2xl lg:text-3xl text-[#2E2E2E]">
JOIN US
</button>
</div>
</main>
{/* Phone View */}
<main className="w-screen h-screen md:hidden">
<div className="bg-[#111A21] bg-opacity-[0.35] bg-blend-multiply opacity-90 w-full h-full relative">
<div className="bg-[#111A21] bg-blend-multiply w-full h-full relative">
<Image
src={HomeMobile}
alt="HomeMobile"
Expand All @@ -51,10 +51,10 @@ function Hero() {
className="absolute bottom-0 right-0"
/>
<div className="absolute text-center flex flex-col justify-center items-center top-[45%] w-full m-auto">
<h1 className="font-blanka text-white text-6xl tracking-[0.9rem]">
<h1 className="font-blanka text-white text-7xl tracking-[0.9rem]">
VRIDDHI
</h1>
<Image src={year} alt="year" className="py-11 w-[30%]" />
<Image src={year} alt="year" className="py-8 w-[30%]" />
<button className="font-nidus bg-[#EEBD2F] hover:bg-[#ebcb6d] rounded-[39.979px] px-6 py-3 text-xl text-[#2E2E2E]">
JOIN US
</button>
Expand Down
20 changes: 10 additions & 10 deletions vriddhi/src/app/Components/Navbar/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,20 +45,21 @@ function Navbar() {
<Link
onClick={() => setNavbar((navbar) => !navbar)}
href={"/"}
className="text-white text-xs font-normal py-6 px-5 font-nidus hover:text-blue-800"
className="text-white xl:text-lg lg:text-sm text-[11px] font-normal py-6 px-3 lg:px-5 font-nidus hover:text-blue-800"
>
{navComponent.title}
</Link>
</li>
))}

<button
className={`font-nidus text-[#D1713C] text-sm md:text-base mx-2 md:mx-0 px-3 md:px-5 border-[1.257px] border-solid border-[#D1713C] rounded-[18.858px] py-1 my-1 mb-2 md:my-0 md:py-2 hover:text-[#f19665] hover:border-[#f19665] ${
navbar ? "block" : "hidden"
} md:flex`}
>
REGISTER
</button>
<Link href={"/register"}>
<button
className={`font-nidus text-[#D1713C] text-sm md:text-base mx-2 md:mx-0 px-3 md:px-5 border-[1.257px] border-solid border-[#D1713C] rounded-[18.858px] py-1 my-1 mb-2 md:my-0 md:py-2 hover:text-[#f19665] hover:border-[#f19665] ${
navbar ? "block" : "hidden"
} md:flex`}
>
REGISTER
</button>
</Link>
</ul>
<a href="https://www.nitrkl.ac.in/" target="blank">
<Image
Expand All @@ -71,7 +72,6 @@ function Navbar() {
</a>
</nav>
</>

);
}

Expand Down