Skip to content

Commit

Permalink
Merge pull request #12 from TEDxSJCET/2025
Browse files Browse the repository at this point in the history
remove registration link
  • Loading branch information
Milansuman authored Jan 24, 2025
2 parents d5116bc + 7637fb8 commit 92030e3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 4 additions & 3 deletions src/components/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ export default function NavBar({
x: target.offsetLeft - 4,
duration: 0.5,
ease: 'power2.out'
})
});
(document.querySelector(".pill>h2") as HTMLHeadingElement)!.innerText = target.querySelector("h2")?.innerText!;
}

return (
Expand All @@ -41,9 +42,9 @@ export default function NavBar({
<div class="z-20" onClick={() => goToSection(1, 1)}>
<h2 class="p-2 md:p-3">About</h2>
</div>
<a href="/register/index.html" class="z-20">
<div class="z-20" onClick={() => goToSection(3, 1)}>
<h2 class="p-2 md:p-3">Register</h2>
</a>
</div>
<div class="pill h-fit w-fit bg-white rounded-full absolute">
<h2 class="p-2 md:p-3 opacity-0">Home</h2>
</div>
Expand Down
5 changes: 3 additions & 2 deletions src/components/Register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,14 @@ export default function HeroSection() {
</div>
<div class="flex items-start">
<div class="relative">
<a
{/* <a
href="/register/index.html">
<Button size={"lg"} class="relative" variant={"tedx"}>
Register
<span class="caveat absolute text-tedx-dark -right-5 -bottom-2 text-2xl underline -rotate-[20deg]">Early Bird</span>
</Button>
</a>
</a> */}
<h2 class="cal-sans font-bold text-tedx-red text-3xl">Coming soon</h2>
</div>
</div>
</div>
Expand Down

0 comments on commit 92030e3

Please sign in to comment.