Skip to content

Commit 7637b0d

Browse files
committed
feat: updated content
1 parent 42377bc commit 7637b0d

File tree

3 files changed

+43
-44
lines changed

3 files changed

+43
-44
lines changed

layouts/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ function Layout({
347347
rel="noopener noreferrer"
348348
href={`https://ui.gluestack.io//?utm_source=nativebase-docs&utm_medium=banner+&utm_campaign=nativebase-banner-cta&utm_id=nativebase-campaign-banner`}
349349
> */}
350-
<Stack
350+
{/* <Stack
351351
alignItems={{ md: "center" }}
352352
justifyContent={{ md: "center" }}
353353
overflow="hidden"
@@ -403,7 +403,7 @@ function Layout({
403403
</a>
404404
</Text>
405405
</Box>
406-
</Stack>
406+
</Stack> */}
407407
{/* </a> */}
408408
<Box flexDirection="row" flex={1}>
409409
<MainContent

src/components/GettingStartedHero.tsx

+39-40
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from "react";
2-
import { Box, Text, VStack, Stack, useColorModeValue } from "native-base";
2+
import { Box, Text, VStack, Stack, useColorModeValue, Link } from "native-base";
33
import {
44
CodePlaygroundIcon,
55
BookMarkIcon,
@@ -32,47 +32,46 @@ export function GettingStartedHero() {
3232
allowing you to develop apps for Android, iOS and the Web.
3333
<br />
3434
<br />
35-
Please opt in to our enterprise plan (coming soon) for priority
36-
support with NativeBase.
37-
<br />
38-
IMPORTANT MESSAGE — If you are starting a new project with
39-
NativeBase, we recommend using{" "}
40-
<a href="https://ui.gluestack.io/" target="_blank">
41-
<Text fontWeight="semibold" textDecorationLine="underline">
42-
gluestack-ui
43-
</Text>
44-
</a>{" "}
45-
instead. However, if you are already working on a NativeBase
46-
project, we recommend using{" "}
47-
<a
48-
href="https://gluestack.io/ui/docs/migration/native-base-to-gluestack-ui"
49-
target="_blank"
50-
>
51-
<Text fontWeight="semibold" textDecorationLine="underline">
52-
@gluestack-ui/themed
53-
</Text>
54-
</a>{" "}
55-
instead.{" "}
56-
<a
57-
href="https://nativebase.io/blogs/road-ahead-with-gluestack-ui"
58-
target="_blank"
35+
<Box
36+
mb="8"
37+
px="8"
38+
rounded="8"
39+
py="6"
40+
borderWidth="1"
41+
borderLeftWidth="12"
42+
_light={{
43+
bg: "info.50",
44+
borderColor: "info.600",
45+
borderLeftColor: "info.600",
46+
}}
47+
_dark={{
48+
bg: "black:alpha.10",
49+
borderColor: "info.700:alpha.30",
50+
borderLeftColor: "info.700",
51+
}}
5952
>
60-
<Text fontWeight="semibold" textDecorationLine="underline">
61-
Know More
53+
<Text
54+
fontSize="lg"
55+
mb={"0"}
56+
_light={{ color: "tipBackgroundColorLight" }}
57+
_dark={{ color: "coolGray.50" }}
58+
fontWeight="medium"
59+
>
60+
Info:{" "}
61+
<Text
62+
fontSize="md"
63+
fontWeight="light"
64+
_light={{ color: "tipBackgroundColorLight" }}
65+
_dark={{ color: "tipBackgroundColorDark" }}
66+
>
67+
If you are starting a new project, please try{" "}
68+
<Link href="https://gluestack.io/ui/docs/home/getting-started/installation">
69+
gluestack-ui
70+
</Link>{" "}
71+
for better performance and new design.
72+
</Text>
6273
</Text>
63-
</a>
64-
.
65-
</Text>
66-
<Text
67-
fontSize="sm"
68-
textAlign="left"
69-
color="muted.800"
70-
_dark={{
71-
color: "muted.200",
72-
}}
73-
>
74-
Please opt in to our enterprise plan (coming soon) for priority
75-
support with NativeBase.
74+
</Box>
7675
</Text>
7776
<Stack direction={{ lg: "row" }} space="4">
7877
<TileLink

src/new-components/Navbar.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export default function Navbar(props: any) {
126126
gluestack-ui
127127
</NBLink>
128128
</Menu.Item>
129-
<Menu.Item
129+
{/* <Menu.Item
130130
onPress={() => {
131131
setActiveVersion("next");
132132
updateActiveVersion("next", versions);
@@ -139,7 +139,7 @@ export default function Navbar(props: any) {
139139
}}
140140
>
141141
next
142-
</Menu.Item>
142+
</Menu.Item> */}
143143
{versions.map((version: string, index: any) => {
144144
return (
145145
<Menu.Item

0 commit comments

Comments
 (0)