feat: ourblock section
This commit is contained in:
parent
893f2bc48a
commit
f6f5165bc7
7 changed files with 38708 additions and 731 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue