Skip to content

Commit b793e68

Browse files
authored
Merge pull request #454 from GeekyAnts/feat/v2-links
feat: added v2 links
2 parents e54dc75 + 42377bc commit b793e68

File tree

9 files changed

+22
-5
lines changed

9 files changed

+22
-5
lines changed

docs/3.0.x/installation.mdx

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ title: Installation
66
import { InstallationTiles } from "../../src/components";
77

88
**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/).
9+
(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).
910

1011
Refer the guides shown below to setup NativeBase in your React app.
1112

docs/3.1.x/installation.mdx

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ title: Installation
66
import { InstallationTiles } from "../../src/components";
77

88
**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/).
9+
(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).
910

1011
Refer the guides shown below to setup NativeBase in your React app.
1112

docs/3.2.x/installation.mdx

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ title: Installation
66
import { InstallationTiles } from "../../src/components";
77

88
**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/).
9+
(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).
910

1011
Refer the guides shown below to setup NativeBase in your React app.
1112

docs/3.3.x/installation.mdx

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ title: Installation
66
import { InstallationTiles } from "../src/components";
77

88
**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/).
9+
(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).
910

1011
Refer the guides shown below to setup NativeBase in your React app.
1112

docs/3.4.x/installation.mdx

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ title: Installation
66
import { InstallationTiles } from "../src/components";
77

88
**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/).
9+
(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).
910

1011
Refer the guides shown below to setup NativeBase in your React app.
1112

docs/next/installation.mdx

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ title: Installation
66
import { InstallationTiles } from "../src/components";
77

88
**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/).
9+
(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).
910

1011
Refer the guides shown below to setup NativeBase in your React app.
1112

layouts/index.tsx

+3-4
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ function Layout({
282282
href="https://gluestack.io/ui/docs/migration/native-base-to-gluestack-ui"
283283
fontWeight="bold"
284284
>
285-
@gluestack-ui/themed-native-base
285+
@gluestack-ui/themed
286286
</Link>
287287
</Text>
288288
</Box>
@@ -398,10 +398,9 @@ function Layout({
398398
fontWeight="semibold"
399399
textDecorationLine="underline"
400400
>
401-
@gluestack-ui/themed-native-base
401+
@gluestack-ui/themed
402402
</Text>
403-
</a>{" "}
404-
(beta).
403+
</a>
405404
</Text>
406405
</Box>
407406
</Stack>

src/components/GettingStartedHero.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export function GettingStartedHero() {
4949
target="_blank"
5050
>
5151
<Text fontWeight="semibold" textDecorationLine="underline">
52-
@gluestack-ui/themed-native-base
52+
@gluestack-ui/themed
5353
</Text>
5454
</a>{" "}
5555
instead.{" "}

src/new-components/Navbar.tsx

+12
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,18 @@ export default function Navbar(props: any) {
114114
);
115115
}}
116116
>
117+
<Menu.Item
118+
_light={{
119+
bg: "gluestack-ui" === activeVersion ? "coolGray.200" : "coolGray.50",
120+
}}
121+
_dark={{
122+
bg: "gluestack-ui" === activeVersion ? "coolGray.800" : "coolGray.800",
123+
}}
124+
>
125+
<NBLink href="https://gluestack.io" isExternal isUnderlined={false}>
126+
gluestack-ui
127+
</NBLink>
128+
</Menu.Item>
117129
<Menu.Item
118130
onPress={() => {
119131
setActiveVersion("next");

0 commit comments

Comments
 (0)