diff --git a/frontend/components/logo/google-logo.tsx b/frontend/components/logo/google-logo.tsx new file mode 100644 index 00000000..8a21b53d --- /dev/null +++ b/frontend/components/logo/google-logo.tsx @@ -0,0 +1,29 @@ +export default function GoogleLogo(props: React.SVGProps) { + return ( + + Google Logo + + + + + + ); +} diff --git a/frontend/components/logo/logo.tsx b/frontend/components/logo/logo.tsx new file mode 100644 index 00000000..018665de --- /dev/null +++ b/frontend/components/logo/logo.tsx @@ -0,0 +1,19 @@ +export default function Logo(props: React.SVGProps) { + return ( + + OpenRAG Logo + + + + + ); +} diff --git a/frontend/public/images/background.png b/frontend/public/images/background.png new file mode 100644 index 00000000..66d44a8a Binary files /dev/null and b/frontend/public/images/background.png differ diff --git a/frontend/src/app/login/page.tsx b/frontend/src/app/login/page.tsx index 70f7f8d0..9527da11 100644 --- a/frontend/src/app/login/page.tsx +++ b/frontend/src/app/login/page.tsx @@ -1,16 +1,11 @@ "use client"; -import { Loader2, Lock, LogIn } from "lucide-react"; +import { Loader2 } from "lucide-react"; import { useRouter, useSearchParams } from "next/navigation"; import { Suspense, useEffect } from "react"; +import GoogleLogo from "@/components/logo/google-logo"; +import Logo from "@/components/logo/logo"; import { Button } from "@/components/ui/button"; -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/components/ui/card"; import { useAuth } from "@/contexts/auth-context"; import { useGetSettingsQuery } from "../api/queries/useGetSettingsQuery"; @@ -51,30 +46,29 @@ function LoginPageContent() { } return ( -
- - -
- -
-
- Welcome to OpenRAG - - Sign in to access your documents and AI chat - -
-
- - - -

- By signing in, you agree to our terms of service and privacy policy. -

-
-
+
+
+ +

Welcome to OpenRAG

+

+ All your knowledge at your fingertips. +

+ +
+
+

Systems Operational

• +

Privacy Policy

+
); } diff --git a/frontend/src/components/layout-wrapper.tsx b/frontend/src/components/layout-wrapper.tsx index 03a8896e..d092dcc1 100644 --- a/frontend/src/components/layout-wrapper.tsx +++ b/frontend/src/components/layout-wrapper.tsx @@ -1,6 +1,7 @@ "use client"; import { Bell, Loader2 } from "lucide-react"; +import Image from "next/image"; import { usePathname } from "next/navigation"; import { useGetSettingsQuery } from "@/app/api/queries/useGetSettingsQuery"; import { KnowledgeFilterDropdown } from "@/components/knowledge-filter-dropdown"; @@ -61,20 +62,7 @@ export function LayoutWrapper({ children }: { children: React.ReactNode }) {
{/* Logo/Title */}
- - OpenRAG Logo - - - - + OpenRAG Logo OpenRAG