Skip to content

Commit 6e6380c

Browse files
committed
feat: added utm links
1 parent b87b071 commit 6e6380c

File tree

7 files changed

+21
-11
lines changed

7 files changed

+21
-11
lines changed

docs/3.0.x/installation.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +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).
9+
(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).
1010

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

docs/3.1.x/installation.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +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).
9+
(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).
1010

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

@@ -31,4 +31,4 @@ All snippets start with the prefix `nb-` and are followed by the name of the des
3131
source={{ uri: "https://cdn.nativebase.io/NativeBaseSnippet.gif" }}
3232
alt="aang transitioning to avatar state"
3333
/>
34-
</AspectRatio>
34+
</AspectRatio>

docs/3.2.x/installation.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +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).
9+
(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).
1010

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

docs/3.3.x/installation.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +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).
9+
(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).
1010

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

docs/3.4.x/installation.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +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).
9+
(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).
1010

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

src/components/GettingStartedHero.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export function GettingStartedHero() {
6565
_dark={{ color: "tipBackgroundColorDark" }}
6666
>
6767
If you are starting a new project, please try{" "}
68-
<Link href="https://gluestack.io/ui/docs/home/getting-started/installation">
68+
<Link href="https://gluestack.io/ui/docs/home/getting-started/installation/?utm_source=nativebase+website&utm_medium=Docs&utm_campaign=nbpage">
6969
gluestack-ui
7070
</Link>{" "}
7171
for better performance and new design.

src/new-components/Navbar.tsx

+14-4
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,24 @@ export default function Navbar(props: any) {
116116
>
117117
<Menu.Item
118118
_light={{
119-
bg: "gluestack-ui" === activeVersion ? "coolGray.200" : "coolGray.50",
119+
bg:
120+
"gluestack-ui" === activeVersion
121+
? "coolGray.200"
122+
: "coolGray.50",
120123
}}
121124
_dark={{
122-
bg: "gluestack-ui" === activeVersion ? "coolGray.800" : "coolGray.800",
125+
bg:
126+
"gluestack-ui" === activeVersion
127+
? "coolGray.800"
128+
: "coolGray.800",
123129
}}
124130
>
125-
<NBLink href="https://gluestack.io" isExternal isUnderlined={false}>
126-
gluestack-ui
131+
<NBLink
132+
href="https://www.gluestack.io/?utm_source=nativebase+website&utm_medium=Header&utm_campaign=nbpage"
133+
isExternal
134+
isUnderlined={false}
135+
>
136+
gluestack-ui
127137
</NBLink>
128138
</Menu.Item>
129139
{/* <Menu.Item

0 commit comments

Comments
 (0)