diff --git a/pages/index.tsx b/pages/index.tsx
index 793c0f1..3e82e32 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -116,7 +116,14 @@ const Home: NextPage = () => {
- Open source video conferencing app built on LiveKit Components, LiveKit Cloud,
+ Open source video conferencing app built on{' '}
+
+ LiveKit Components
+
+ ,{' '}
+
+ LiveKit Cloud
+ {' '}
and Next.js.
@@ -127,15 +134,11 @@ const Home: NextPage = () => {
Hosted on{' '}
-
+
LiveKit Cloud
. Source code on{' '}
-
+
GitHub
.
diff --git a/pages/rooms/[name].tsx b/pages/rooms/[name].tsx
index ef28eee..01fc976 100644
--- a/pages/rooms/[name].tsx
+++ b/pages/rooms/[name].tsx
@@ -32,7 +32,9 @@ const Home: NextPage = () => {
setPreJoinChoices(undefined)}
+ onLeave={() => {
+ router.push('/');
+ }}
>
) : (
diff --git a/styles/globals.css b/styles/globals.css
index bc05b02..0668ffd 100644
--- a/styles/globals.css
+++ b/styles/globals.css
@@ -47,12 +47,18 @@ footer {
border-top: 1px solid rgba(255, 255, 255, 0.15);
}
-footer a {
+footer a,
+h2 a {
color: #ff6352;
text-decoration-color: #a33529;
text-underline-offset: 0.125em;
}
-footer a:hover {
+footer a:hover,
+h2 a {
text-decoration-color: #ff6352;
}
+
+h2 a {
+ text-decoration: none;
+}