Skip to content

Commit

Permalink
Merge pull request #454 from GeekyAnts/feat/v2-links
Browse files Browse the repository at this point in the history
feat: added v2 links
  • Loading branch information
surajahmed authored Aug 9, 2024
2 parents e54dc75 + 42377bc commit b793e68
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 5 deletions.
1 change: 1 addition & 0 deletions docs/3.0.x/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
1 change: 1 addition & 0 deletions docs/3.1.x/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
1 change: 1 addition & 0 deletions docs/3.2.x/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
1 change: 1 addition & 0 deletions docs/3.3.x/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
1 change: 1 addition & 0 deletions docs/3.4.x/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
1 change: 1 addition & 0 deletions docs/next/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
7 changes: 3 additions & 4 deletions layouts/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
</Link>
</Text>
</Box>
Expand Down Expand Up @@ -398,10 +398,9 @@ function Layout({
fontWeight="semibold"
textDecorationLine="underline"
>
@gluestack-ui/themed-native-base
@gluestack-ui/themed
</Text>
</a>{" "}
(beta).
</a>
</Text>
</Box>
</Stack>
Expand Down
2 changes: 1 addition & 1 deletion src/components/GettingStartedHero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function GettingStartedHero() {
target="_blank"
>
<Text fontWeight="semibold" textDecorationLine="underline">
@gluestack-ui/themed-native-base
@gluestack-ui/themed
</Text>
</a>{" "}
instead.{" "}
Expand Down
12 changes: 12 additions & 0 deletions src/new-components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,18 @@ export default function Navbar(props: any) {
);
}}
>
<Menu.Item
_light={{
bg: "gluestack-ui" === activeVersion ? "coolGray.200" : "coolGray.50",
}}
_dark={{
bg: "gluestack-ui" === activeVersion ? "coolGray.800" : "coolGray.800",
}}
>
<NBLink href="https://gluestack.io" isExternal isUnderlined={false}>
gluestack-ui
</NBLink>
</Menu.Item>
<Menu.Item
onPress={() => {
setActiveVersion("next");
Expand Down

0 comments on commit b793e68

Please sign in to comment.