Merge pull request #7 from Monadical-SAS/new-footer

New footer
This commit is contained in:
Andreas Bonini
2023-07-21 18:21:51 +07:00
committed by GitHub
2 changed files with 10 additions and 2 deletions

View File

@@ -16,7 +16,15 @@ export default function RootLayout({ children }) {
<Head>
<title>Test</title>
</Head>
<body className={roboto.className}>{children}</body>
<body className={roboto.className + " flex flex-col min-h-screen"}>
<main className="flex-grow">
{children}
</main>
<footer className="w-full bg-gray-800 text-white text-center py-4 fixed inset-x-0 bottom-0">
© 2023 Reflector, a product of Monadical
</footer>
</body>
</html>
);
}

View File

@@ -35,7 +35,7 @@ const App = () => {
<Dashboard
isRecording={isRecording}
onRecord={(recording) => handleRecord(recording)}
transcriptionText={serverData.text ?? "(No transcription text)"}
transcriptionText={serverData.text ?? "..."}
finalSummary={serverData.finalSummary}
topics={serverData.topics ?? []}
stream={stream}