Skip to content

Commit

Permalink
fix: link of gluestack
Browse files Browse the repository at this point in the history
  • Loading branch information
amars29 committed Oct 24, 2023
1 parent 6fad949 commit ea8c7dd
Showing 1 changed file with 43 additions and 42 deletions.
85 changes: 43 additions & 42 deletions layouts/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ function Layout({
}}
>
If you are starting a new project with NativeBase, we recommend
using <Text fontWeight="bold">gluestack-ui</Text> instead.
using <Text fontWeight="bold">gluestack</Text> instead.
</Text>

<HStack justifyContent="center">
Expand Down Expand Up @@ -236,7 +236,7 @@ function Layout({
color: "muted.50",
}}
>
Explore gluestack-ui
Explore gluestack
</Text>
</Pressable>
</a>
Expand Down Expand Up @@ -345,57 +345,58 @@ function Layout({
<Text ml="1">
IMPORTANT MESSAGE — If you are starting a new project with
NativeBase, we recommend using{" "}
<a href="https://ui.gluestack.io/">gluestack-ui</a>{" "}
instead.{" "}
<a href="https://gluestack.io/">gluestack</a> instead.{" "}
</Text>
<HStack
alignItems="center"
mt={{ base: "4", md: 0 }}
ml={{ md: "2" }}
>
<Pressable
borderWidth={1}
rounded="sm"
px="3"
py="2"
_light={{
borderColor: "muted.900",
}}
_dark={{
borderColor: "muted.50",
}}
_hover={{
bg: "primary.200",
borderColor: "primary.200",

_dark: {
bg: "primary.700",
borderColor: "primary.700",
},
}}
_focus={{
bg: "primary.300",
borderColor: "primary.300",

_dark: {
bg: "primary.800",
borderColor: "primary.800",
},
}}
>
<Text
fontSize="sm"
fontWeight="medium"
<a href="https://gluestack.io/">
<Pressable
borderWidth={1}
rounded="sm"
px="3"
py="2"
_light={{
color: "muted.900",
borderColor: "muted.900",
}}
_dark={{
color: "muted.50",
borderColor: "muted.50",
}}
_hover={{
bg: "primary.200",
borderColor: "primary.200",

_dark: {
bg: "primary.700",
borderColor: "primary.700",
},
}}
_focus={{
bg: "primary.300",
borderColor: "primary.300",

_dark: {
bg: "primary.800",
borderColor: "primary.800",
},
}}
>
Explore gluestack-ui
</Text>
</Pressable>
<Text
fontSize="sm"
fontWeight="medium"
_light={{
color: "muted.900",
}}
_dark={{
color: "muted.50",
}}
>
Explore gluestack
</Text>
</Pressable>
</a>
<Text
fontSize="sm"
fontWeight="medium"
Expand Down

0 comments on commit ea8c7dd

Please sign in to comment.