feat: ourblock section

This commit is contained in:
Dex404 2024-04-20 12:21:00 +00:00
parent 893f2bc48a
commit f6f5165bc7
7 changed files with 38708 additions and 731 deletions

View file

@ -12,6 +12,15 @@ const Navbar: React.FC<NavbarProps> = ({ logoSrc }) => {
const [showBackground, setShowBackground] = useState(false)
const TOP_OFFSET = 50
const navLinks = {
home: "#home",
services: "#services",
portfolio: "#portfolio",
aboutUs: "#aboutUs",
signIn: "/auth/SignIn",
signUp: "/auth/SignUp",
}
useEffect(() => {
const handleScroll = () => {
if (window.scrollY >= TOP_OFFSET) {