From 42377bcde521372bb4ce2217c679092e69ca344a Mon Sep 17 00:00:00 2001 From: Vaibhavi Kolloju Date: Thu, 8 Aug 2024 13:14:36 +0530 Subject: [PATCH] feat: added v2 links --- docs/3.0.x/installation.mdx | 1 + docs/3.1.x/installation.mdx | 1 + docs/3.2.x/installation.mdx | 1 + docs/3.3.x/installation.mdx | 1 + docs/3.4.x/installation.mdx | 1 + docs/next/installation.mdx | 1 + layouts/index.tsx | 7 +++---- src/components/GettingStartedHero.tsx | 2 +- src/new-components/Navbar.tsx | 12 ++++++++++++ 9 files changed, 22 insertions(+), 5 deletions(-) diff --git a/docs/3.0.x/installation.mdx b/docs/3.0.x/installation.mdx index b28e49ad7..87f19b6d4 100644 --- a/docs/3.0.x/installation.mdx +++ b/docs/3.0.x/installation.mdx @@ -6,6 +6,7 @@ title: Installation import { InstallationTiles } from "../../src/components"; **NativeBase** is supported in [Expo](https://docs.expo.dev/get-started/installation/) or React Native CLI initiated apps. Web support is made possible by [react-native-web](https://necolas.github.io/react-native-web/). +(Note: If you are starting a new project, please try [gluestack-ui](https://gluestack.io/ui/docs/home/getting-started/installation) for better performance, new design). Refer the guides shown below to setup NativeBase in your React app. diff --git a/docs/3.1.x/installation.mdx b/docs/3.1.x/installation.mdx index e61daae72..7e4672674 100644 --- a/docs/3.1.x/installation.mdx +++ b/docs/3.1.x/installation.mdx @@ -6,6 +6,7 @@ title: Installation import { InstallationTiles } from "../../src/components"; **NativeBase** is supported in [Expo](https://docs.expo.dev/get-started/installation/) or React Native CLI initiated apps. Web support is made possible by [react-native-web](https://necolas.github.io/react-native-web/). +(Note: If you are starting a new project, please try [gluestack-ui](https://gluestack.io/ui/docs/home/getting-started/installation) for better performance, new design). Refer the guides shown below to setup NativeBase in your React app. diff --git a/docs/3.2.x/installation.mdx b/docs/3.2.x/installation.mdx index 8ad9a73f8..d263948d0 100644 --- a/docs/3.2.x/installation.mdx +++ b/docs/3.2.x/installation.mdx @@ -6,6 +6,7 @@ title: Installation import { InstallationTiles } from "../../src/components"; **NativeBase** is supported in [Expo](https://docs.expo.dev/get-started/installation/) or React Native CLI initiated apps. Web support is made possible by [react-native-web](https://necolas.github.io/react-native-web/). +(Note: If you are starting a new project, please try [gluestack-ui](https://gluestack.io/ui/docs/home/getting-started/installation) for better performance, new design). Refer the guides shown below to setup NativeBase in your React app. diff --git a/docs/3.3.x/installation.mdx b/docs/3.3.x/installation.mdx index 242beefcd..eca912f9c 100644 --- a/docs/3.3.x/installation.mdx +++ b/docs/3.3.x/installation.mdx @@ -6,6 +6,7 @@ title: Installation import { InstallationTiles } from "../src/components"; **NativeBase** is supported in [Expo](https://docs.expo.dev/get-started/installation/) or React Native CLI initiated apps. Web support is made possible by [react-native-web](https://necolas.github.io/react-native-web/). +(Note: If you are starting a new project, please try [gluestack-ui](https://gluestack.io/ui/docs/home/getting-started/installation) for better performance, new design). Refer the guides shown below to setup NativeBase in your React app. diff --git a/docs/3.4.x/installation.mdx b/docs/3.4.x/installation.mdx index 242beefcd..eca912f9c 100644 --- a/docs/3.4.x/installation.mdx +++ b/docs/3.4.x/installation.mdx @@ -6,6 +6,7 @@ title: Installation import { InstallationTiles } from "../src/components"; **NativeBase** is supported in [Expo](https://docs.expo.dev/get-started/installation/) or React Native CLI initiated apps. Web support is made possible by [react-native-web](https://necolas.github.io/react-native-web/). +(Note: If you are starting a new project, please try [gluestack-ui](https://gluestack.io/ui/docs/home/getting-started/installation) for better performance, new design). Refer the guides shown below to setup NativeBase in your React app. diff --git a/docs/next/installation.mdx b/docs/next/installation.mdx index 242beefcd..eca912f9c 100644 --- a/docs/next/installation.mdx +++ b/docs/next/installation.mdx @@ -6,6 +6,7 @@ title: Installation import { InstallationTiles } from "../src/components"; **NativeBase** is supported in [Expo](https://docs.expo.dev/get-started/installation/) or React Native CLI initiated apps. Web support is made possible by [react-native-web](https://necolas.github.io/react-native-web/). +(Note: If you are starting a new project, please try [gluestack-ui](https://gluestack.io/ui/docs/home/getting-started/installation) for better performance, new design). Refer the guides shown below to setup NativeBase in your React app. diff --git a/layouts/index.tsx b/layouts/index.tsx index d3a033096..b066a40c7 100644 --- a/layouts/index.tsx +++ b/layouts/index.tsx @@ -282,7 +282,7 @@ function Layout({ href="https://gluestack.io/ui/docs/migration/native-base-to-gluestack-ui" fontWeight="bold" > - @gluestack-ui/themed-native-base + @gluestack-ui/themed @@ -398,10 +398,9 @@ function Layout({ fontWeight="semibold" textDecorationLine="underline" > - @gluestack-ui/themed-native-base + @gluestack-ui/themed - {" "} - (beta). + diff --git a/src/components/GettingStartedHero.tsx b/src/components/GettingStartedHero.tsx index d80c99a83..38658015a 100644 --- a/src/components/GettingStartedHero.tsx +++ b/src/components/GettingStartedHero.tsx @@ -49,7 +49,7 @@ export function GettingStartedHero() { target="_blank" > - @gluestack-ui/themed-native-base + @gluestack-ui/themed {" "} instead.{" "} diff --git a/src/new-components/Navbar.tsx b/src/new-components/Navbar.tsx index 48844426c..313fe55de 100644 --- a/src/new-components/Navbar.tsx +++ b/src/new-components/Navbar.tsx @@ -114,6 +114,18 @@ export default function Navbar(props: any) { ); }} > + + + gluestack-ui + + { setActiveVersion("next");