diff --git a/client/src/ErrorPage.tsx b/client/src/ErrorPage.tsx
index 1aa878af..d57a3559 100644
--- a/client/src/ErrorPage.tsx
+++ b/client/src/ErrorPage.tsx
@@ -1,5 +1,5 @@
import React from 'react'
-import { Container, Alert, AlertIcon, AlertTitle, AlertDescription, Box } from '@chakra-ui/react'
+import { Container, Alert, AlertIcon, AlertTitle, AlertDescription, Box, Center } from '@chakra-ui/react'
import { AxiosError } from 'axios'
import { useRouteError } from 'react-router-dom'
import { HeaderTemplate } from './shared/navigation/molecules/HeaderTemplate'
@@ -10,17 +10,19 @@ export const ErrorPage = () => {
return (
<>
-
-
-
-
-
- Uh oh!
-
- {message}
-
-
-
+
+
+
+
+
+
+ Uh oh!
+
+ {message}
+
+
+
+
>
)
}
diff --git a/client/src/features/Home.tsx b/client/src/features/Home.tsx
index 38c7ef6a..b0566254 100644
--- a/client/src/features/Home.tsx
+++ b/client/src/features/Home.tsx
@@ -1,5 +1,32 @@
+import { Alert, Button, Center, Container, Flex } from '@chakra-ui/react'
import React from 'react'
+import { useAuth } from './auth'
+import { LoadingIndicator } from '../shared/molecules/LoadingIndicator'
+import { RoomSelector } from '../shared/navigation/organisms/RoomSelector'
export const HomePage = () => {
- return Home
+ const { isAuthenticated, isLoading, signIn } = useAuth()
+ if (isLoading) {
+ return
+ }
+ return (
+
+
+
+ {isAuthenticated ? (
+
+
+
+ ) : (
+
+ {' '}
+ to get started.
+
+ )}
+
+
+
+ )
}
diff --git a/client/src/shared/navigation/organisms/RoomSelector.tsx b/client/src/shared/navigation/organisms/RoomSelector.tsx
index 76df32d3..a09893c4 100644
--- a/client/src/shared/navigation/organisms/RoomSelector.tsx
+++ b/client/src/shared/navigation/organisms/RoomSelector.tsx
@@ -15,7 +15,7 @@ export const RoomSelector = () => {
return (
<>
- Rooms
+ Your Rooms
}>
diff --git a/e2e/tests/fixtures/menu.ts b/e2e/tests/fixtures/menu.ts
index ac3d1c28..10c5bea7 100644
--- a/e2e/tests/fixtures/menu.ts
+++ b/e2e/tests/fixtures/menu.ts
@@ -7,8 +7,8 @@ export class Menu {
constructor(private readonly page: Page) {
this.openMenuButton = page.getByLabel("Open Menu");
- this.createRoomButton = page.getByText("New Room");
- this.signInButton = page.getByText("Sign In");
+ this.createRoomButton = page.getByRole("dialog").getByText("New Room");
+ this.signInButton = page.getByRole("dialog").getByText("Sign In");
}
async open() {