diff --git a/src/new-components/Navbar.tsx b/src/new-components/Navbar.tsx
index 2d1f1741..a5a11ed7 100644
--- a/src/new-components/Navbar.tsx
+++ b/src/new-components/Navbar.tsx
@@ -35,6 +35,7 @@ import FigmaIcon from "../icons/FigmaIcon";
import GeekyantsLogo from "./GeekyantsLogo";
import AlgoliaSearchButton from "./AlgoliaSearchButton";
import { parentUrl } from "../../docs.config";
+import RapidNativePill from "../rapidnative-components/RapidnativePill";
export default function Navbar(props: any) {
const { activeVersion, setActiveVersion } = useContext(AppContext);
@@ -179,6 +180,7 @@ export default function Navbar(props: any) {
);
})}
+
{/* {
+ const [isPressed, setIsPressed] = useState(false);
+ const [isHovered, setIsHovered] = useState(false);
+
+ const handlePress = () => {
+ Linking.openURL('https://rapidnative.com/?utm_source=nativebase-docs-banner&utm_medium=referral&utm_campaign=landing-banner');
+ };
+
+ return (
+ setIsPressed(true)}
+ onPressOut={() => setIsPressed(false)}
+ onMouseEnter={() => setIsHovered(true)}
+ onMouseLeave={() => setIsHovered(false)}
+ // backgroundColor: isPressed ? '#0891b2' : isHovered ? '#0e7490' : '#06b6d4',
+ // backgroundColor: isPressed ? '##0891b2' : isHovered ? '#06b6d4' : '#0891b2',
+ style={{
+ backgroundColor: isPressed ? '##0891b2' : isHovered ? '#0891b2' : '#06b6d4',
+ paddingHorizontal: 12,
+ paddingVertical: 6,
+ borderRadius: 20,
+ flexDirection: 'row',
+ alignItems: 'center',
+ justifyContent: 'center',
+ shadowColor: '#000',
+ shadowOffset: { width: 0, height: 1 },
+ shadowOpacity: isHovered ? 0.15 : 0.1,
+ shadowRadius: isHovered ? 3 : 2,
+ elevation: isHovered ? 3 : 2,
+ transform: [{ scale: isPressed ? 0.98 : isHovered ? 1.02 : 1 }],
+ transition: 'all 0.2s ease',
+ }}
+ >
+
+ 🎉 Prompt to React Native UI
+
+
+ →
+
+
+ );
+};
+
+export default RapidnativePill;
\ No newline at end of file