diff --git a/.gitignore b/.gitignore index fb7ac70..bbbc91b 100644 --- a/.gitignore +++ b/.gitignore @@ -40,3 +40,5 @@ yarn-error.log* # typescript *.tsbuildinfo next-env.d.ts + +src/app/api/auth/debug diff --git a/README.md b/README.md index b9d35b4..8fe906c 100644 --- a/README.md +++ b/README.md @@ -145,3 +145,5 @@ git tag -d v1.0.0; git push origin :refs/tags/v1.0.0; git tag -a v1.0.0 -m "Rele - No error when streaming with too large model - Translations - When user stop generation, forward it to server +- Message UI +- UX (eg keep focus when press enter) diff --git a/src/app/[locale]/layout.tsx b/src/app/[locale]/layout.tsx index b21d475..81724b1 100644 --- a/src/app/[locale]/layout.tsx +++ b/src/app/[locale]/layout.tsx @@ -7,8 +7,9 @@ import { routing } from '@/i18n/routing'; import { getMessages } from 'next-intl/server'; import { Providers } from '../providers'; import { getServerSession } from 'next-auth'; -import { authOptions } from '@/lib/auth'; import { cookies } from 'next/headers'; +import { authOptions } from '@/lib/auth'; +import SessionGuard from '@/components/SessionGuard'; export const metadata = { title: 'Iceberg template', @@ -42,13 +43,15 @@ export default async function RootLayout(props: { - + + -
- {props.children} -
+
+ {props.children} +
-