7 Commits

Author SHA1 Message Date
73396e0232 Merge version_6_1776768369206 into main
Merge version_6_1776768369206 into main
2026-04-21 10:47:22 +00:00
42e6f6841e Bob AI: Modify the navigation bar component to be a floating navigat 2026-04-21 13:46:45 +03:00
1589441758 Merge version_5_1776767790794 into main
Merge version_5_1776767790794 into main
2026-04-21 10:38:16 +00:00
9bf44f5b56 Bob AI: Modify the navigation bar component to be a floating navigat 2026-04-21 13:38:09 +03:00
87a7df03fa Merge version_4_1776767349091 into main
Merge version_4_1776767349091 into main
2026-04-21 10:32:42 +00:00
bd22479c0a Bob AI: Modify the navigation bar component to be a floating navigat 2026-04-21 13:32:32 +03:00
8360e360d1 Merge version_3_1776763853962 into main
Merge version_3_1776763853962 into main
2026-04-21 09:32:18 +00:00
3 changed files with 7 additions and 14 deletions

View File

@@ -39,8 +39,9 @@ export default function App() {
/>
</div>
<div id="hero" data-section="hero">
<HeroBillboardBrand
<main className="pt-[var(--navbar-height)]">
<div id="hero" data-section="hero">
<HeroBillboardBrand
brand="Empowering Future Tech Leaders"
description="Master cutting-edge technologies with our industry-led, hands-on certification programs designed to launch your career in IT."
primaryButton={{
@@ -260,6 +261,7 @@ export default function App() {
]}
/>
</div>
</main>
</>
);
}

View File

@@ -46,24 +46,14 @@ const NavLink = ({
};
const NavbarCentered = ({ logo, navItems, ctaButton }: NavbarCenteredProps) => {
const [isScrolled, setIsScrolled] = useState(false);
const [menuOpen, setMenuOpen] = useState(false);
useEffect(() => {
const handleScroll = () => setIsScrolled(window.scrollY > 50);
window.addEventListener("scroll", handleScroll, { passive: true });
return () => window.removeEventListener("scroll", handleScroll);
}, []);
return (
<>
<nav
className={cls(
"fixed z-1000 top-0 left-0 w-full transition-all duration-500 ease-in-out",
isScrolled ? "h-15 bg-background/80 backdrop-blur-sm" : "h-20 bg-background/0 backdrop-blur-0"
)}
className="fixed top-0 inset-x-0 z-50 w-full h-[var(--navbar-height)] backdrop-blur-lg bg-white/30 dark:bg-gray-800/30"
>
<div className="relative flex items-center justify-between h-full w-content-width mx-auto">
<div className="relative flex items-center justify-between h-full w-content-width mx-auto px-6">
<Link to="/" className="text-xl font-medium text-foreground">{logo}</Link>
<div className="hidden md:flex absolute left-1/2 items-center gap-6 -translate-x-1/2">

View File

@@ -4,6 +4,7 @@
@import "./styles/animations.css";
:root {
--navbar-height: 4rem;
/* @colorThemes/lightTheme/grayBlueAccent */
--background: #ffffff;
--card: #f9f9f9;