Skip to content

Commit a83c6d3

Browse files
authored
Merge pull request #397 from wri/fix/public-beta-fixes
Public beta fixes
2 parents 31f98a8 + 5c9136b commit a83c6d3

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

app/(home)/sections/11_CTA.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default function CTASection() {
3737
</Box>
3838
<Button asChild variant="solid" colorPalette="primary" rounded="lg">
3939
<Link href="/app">
40-
Try the preview
40+
{LANDING_PAGE_VERSION === "public" ? "Explore the beta" : "Try the preview"}
4141
<CaretRightIcon weight="bold" />
4242
</Link>
4343
</Button>

app/ChatPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function ChatPanel() {
5959
}, [width]);
6060

6161
return (
62-
<Flex minH="100%" maxH="100%" gridArea="chat" zIndex={1100} position="relative" bg="bg">
62+
<Flex minH="100%" maxH="100%" gridArea="chat" zIndex={1000} position="relative" bg="bg">
6363
<Flex
6464
minH="100%"
6565
maxH="100%"

app/unauthorized/page.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ export default function UnauthorizedPage() {
100100
<Heading size={{ base: "3xl", md: "5xl" }} {...commonStyles} mb={0}>
101101
{LANDING_PAGE_VERSION === "closed" && !isSignupOpen
102102
? "Early access only"
103+
: LANDING_PAGE_VERSION === "public"
104+
? "Access Denied"
103105
: "Coming soon"}
104106
</Heading>
105107
{LANDING_PAGE_VERSION === "closed" && !isSignupOpen ? (
@@ -113,6 +115,11 @@ export default function UnauthorizedPage() {
113115
to be among the first to know when the tool becomes available.
114116
</Text>
115117
</>
118+
) : LANDING_PAGE_VERSION === "public" ? (
119+
<Text px={3} maxW="xl" fontSize={{ base: "xl", md: "2xl"}} {...commonStyles}>
120+
We were unable to verify your access to Global Nature Watch.
121+
Please try signing in again or contact support if the issue persists.
122+
</Text>
116123
) : (
117124
<Text px={3} maxW="xl" fontSize={{ base: "xl", md: "2xl"}} {...commonStyles}>
118125
Thank you for creating a Global Nature Watch account. Early access

0 commit comments

Comments
 (0)