diff --git a/www/app/(auth)/userInfo.tsx b/www/app/(auth)/userInfo.tsx
index 0f01a85e..ca7a2858 100644
--- a/www/app/(auth)/userInfo.tsx
+++ b/www/app/(auth)/userInfo.tsx
@@ -12,18 +12,16 @@ export default function UserInfo() {
return !isAuthenticated ? (
- Log in or create account
+ Log in
) : (
- {userinfo?.email} (
Log out
- )
);
}
diff --git a/www/app/browse/page.tsx b/www/app/browse/page.tsx
index 10c7d936..29a0089b 100644
--- a/www/app/browse/page.tsx
+++ b/www/app/browse/page.tsx
@@ -57,59 +57,64 @@ export default function TranscriptBrowser() {
/>
+ {isLoading && (
+
+
+
+ )}
+ {!isLoading && !results ? (
+
+ No transcripts found, but you can
+
+ record a meeting
+
+ to get started.
+
+ ) : (
+ <>>
+ )}
- {isLoading ? (
-
- ) : (
- <>
- {results === null ? (
-
No transcripts found.
- ) : (
- <>>
- )}
- {results?.items.map((item: GetTranscript) => (
-
-
-
-
- {item.title || item.name}
-
+ {results?.items.map((item: GetTranscript) => (
+
+
+
+
+ {item.title || item.name}
+
- {item.locked ? (
-
- Locked
-
- ) : (
- <>>
- )}
+ {item.locked ? (
+
+ Locked
+
+ ) : (
+ <>>
+ )}
- {item.sourceLanguage ? (
-
- {item.sourceLanguage}
-
- ) : (
- <>>
- )}
+ {item.sourceLanguage ? (
+
+ {item.sourceLanguage}
-
- {new Date(item.createdAt).toLocaleDateString("en-US")}
-
-
{item.shortSummary}
-
+ ) : (
+ <>>
+ )}
- ))}
- >
- )}
+
+ {new Date(item.createdAt).toLocaleDateString("en-US")}
+
+
{item.shortSummary}
+
+
+ ))}
diff --git a/www/app/layout.tsx b/www/app/layout.tsx
index da4dfd4d..87dfc104 100644
--- a/www/app/layout.tsx
+++ b/www/app/layout.tsx
@@ -9,7 +9,7 @@ import Image from "next/image";
import Link from "next/link";
import About from "./(aboutAndPrivacy)/about";
import Privacy from "./(aboutAndPrivacy)/privacy";
-import { featPrivacy } from "./lib/utils";
+import { featPrivacy, featRequireLogin } from "./lib/utils";
const poppins = Poppins({ subsets: ["latin"], weight: ["200", "400", "600"] });
@@ -60,6 +60,7 @@ export const metadata: Metadata = {
};
export default function RootLayout({ children }) {
+ const requireLogin = featRequireLogin();
return (
@@ -117,6 +118,14 @@ export default function RootLayout({ children }) {
) : (
<>>
)}
+ {requireLogin ? (
+ <>
+ ยท
+
+ >
+ ) : (
+ <>>
+ )}