+
+
+
+ "flex-row-reverse" : invert,
+ "shadow-[8px_8px_6px,2px_2px_2px_-1px]" : !invert,
+ [`${cardVhadowColor}`] : !invert
+ })}>
+
- {title}
+
+

+
+
+ {/*
*/}
-
-
+
+
+ Learn More
+
+ {/*
- {children}
-
-
-
-
-
-
-
-
-
*/}
+ {/*
+
Learn More
+
*/}
+ {/*
-
-
+ "rounded-b-4xl",
+ cardBGColor,
+ {
+ "w-6/9" : !invert,
+ "w-1/9" : invert,
+ }
+ )}>
+
+
*/}
diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx
index 395d65f..9fc1a57 100644
--- a/src/components/Navbar.tsx
+++ b/src/components/Navbar.tsx
@@ -15,6 +15,22 @@ export interface MenuItem {
}
const menuItems: MenuItem[] = [
+ {
+ id: "members",
+ title: "Members",
+ children: [
+ {
+ id: "findMedicalProvider",
+ title: "Find a Medical Provider",
+ route: "",
+ },
+ {
+ id: "obtainRxInformation",
+ title: "Obtain Rx Information",
+ route: "",
+ },
+ ],
+ },
{
id: "employers",
title: "Employers",
@@ -36,22 +52,6 @@ const menuItems: MenuItem[] = [
},
],
},
- {
- id: "members",
- title: "Members",
- children: [
- {
- id: "findMedicalProvider",
- title: "Find a Medical Provider",
- route: "",
- },
- {
- id: "obtainRxInformation",
- title: "Obtain Rx Information",
- route: "",
- },
- ],
- },
{
id: "providers",
title: "Providers",
@@ -81,8 +81,10 @@ const Navbar = () => {
useEffect(() => {
const handleScroll = () => {
+ // const viewportHeight = window.innerHeight;
+ const subtractedHeight = window.innerHeight - 80;
// Find pixels from top to bottom of "tag line" div
- if (window.scrollY > 280) {
+ if (window.scrollY > subtractedHeight) {
setIsScrolled(true);
} else {
setIsScrolled(false);
@@ -97,16 +99,16 @@ const Navbar = () => {
}, []);
return (
-