Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added v2 links #454

Merged
merged 1 commit into from
Aug 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/3.0.x/installation.mdx
Original file line number Diff line number Diff line change
@@ -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.

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

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

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

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

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

7 changes: 3 additions & 4 deletions layouts/index.tsx
Original file line number Diff line number Diff line change
@@ -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>
@@ -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>
2 changes: 1 addition & 1 deletion src/components/GettingStartedHero.tsx
Original file line number Diff line number Diff line change
@@ -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.{" "}
12 changes: 12 additions & 0 deletions src/new-components/Navbar.tsx
Original file line number Diff line number Diff line change
@@ -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");