Skip to content

Commit

Permalink
feat: added utm links
Browse files Browse the repository at this point in the history
  • Loading branch information
vaibhk20 committed Aug 13, 2024
1 parent b87b071 commit 6e6380c
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 11 deletions.
2 changes: 1 addition & 1 deletion docs/3.0.x/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +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).
(Note: If you are starting a new project, please try [gluestack-ui](https://gluestack.io/ui/docs/home/getting-started/installation/?utm_source=nativebase+website&utm_medium=Docs&utm_campaign=nbpage) for better performance, new design).

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

Expand Down
4 changes: 2 additions & 2 deletions docs/3.1.x/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +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).
(Note: If you are starting a new project, please try [gluestack-ui](https://gluestack.io/ui/docs/home/getting-started/installation/?utm_source=nativebase+website&utm_medium=Docs&utm_campaign=nbpage) for better performance, new design).

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

Expand All @@ -31,4 +31,4 @@ All snippets start with the prefix `nb-` and are followed by the name of the des
source={{ uri: "https://cdn.nativebase.io/NativeBaseSnippet.gif" }}
alt="aang transitioning to avatar state"
/>
</AspectRatio>
</AspectRatio>
2 changes: 1 addition & 1 deletion docs/3.2.x/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +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).
(Note: If you are starting a new project, please try [gluestack-ui](https://gluestack.io/ui/docs/home/getting-started/installation/?utm_source=nativebase+website&utm_medium=Docs&utm_campaign=nbpage) for better performance, new design).

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

Expand Down
2 changes: 1 addition & 1 deletion docs/3.3.x/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +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).
(Note: If you are starting a new project, please try [gluestack-ui](https://gluestack.io/ui/docs/home/getting-started/installation/?utm_source=nativebase+website&utm_medium=Docs&utm_campaign=nbpage) for better performance, new design).

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

Expand Down
2 changes: 1 addition & 1 deletion docs/3.4.x/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +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).
(Note: If you are starting a new project, please try [gluestack-ui](https://gluestack.io/ui/docs/home/getting-started/installation/?utm_source=nativebase+website&utm_medium=Docs&utm_campaign=nbpage) for better performance, new design).

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

Expand Down
2 changes: 1 addition & 1 deletion src/components/GettingStartedHero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export function GettingStartedHero() {
_dark={{ color: "tipBackgroundColorDark" }}
>
If you are starting a new project, please try{" "}
<Link href="https://gluestack.io/ui/docs/home/getting-started/installation">
<Link href="https://gluestack.io/ui/docs/home/getting-started/installation/?utm_source=nativebase+website&utm_medium=Docs&utm_campaign=nbpage">
gluestack-ui
</Link>{" "}
for better performance and new design.
Expand Down
18 changes: 14 additions & 4 deletions src/new-components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,24 @@ export default function Navbar(props: any) {
>
<Menu.Item
_light={{
bg: "gluestack-ui" === activeVersion ? "coolGray.200" : "coolGray.50",
bg:
"gluestack-ui" === activeVersion
? "coolGray.200"
: "coolGray.50",
}}
_dark={{
bg: "gluestack-ui" === activeVersion ? "coolGray.800" : "coolGray.800",
bg:
"gluestack-ui" === activeVersion
? "coolGray.800"
: "coolGray.800",
}}
>
<NBLink href="https://gluestack.io" isExternal isUnderlined={false}>
gluestack-ui
<NBLink
href="https://www.gluestack.io/?utm_source=nativebase+website&utm_medium=Header&utm_campaign=nbpage"
isExternal
isUnderlined={false}
>
gluestack-ui
</NBLink>
</Menu.Item>
{/* <Menu.Item
Expand Down

0 comments on commit 6e6380c

Please sign in to comment.