From 9bd266a6e83746dc19e303109d207ea34fbc1f72 Mon Sep 17 00:00:00 2001 From: Anchel135 Date: Thu, 23 Jan 2025 14:36:01 +0200 Subject: [PATCH 1/2] change bg and display logo, version and copy rights --- app/components/Header.tsx | 2 +- app/globals.css | 6 +----- app/layout.tsx | 2 +- app/page.tsx | 14 +++++++++++--- 4 files changed, 14 insertions(+), 10 deletions(-) diff --git a/app/components/Header.tsx b/app/components/Header.tsx index 66c05915..3dec72ab 100644 --- a/app/components/Header.tsx +++ b/app/components/Header.tsx @@ -97,7 +97,7 @@ export default function Header({ onSetGraphName }: Props) { -
+
) } diff --git a/app/globals.css b/app/globals.css index 830ec076..28ca906e 100644 --- a/app/globals.css +++ b/app/globals.css @@ -60,11 +60,7 @@ @apply h-full w-full flex flex-col bg-background; } - .LandingPage { - background: linear-gradient(180deg, #EC806C 0%, #B66EBD 43.41%, #7568F2 100%); - } - - .Top { + .Gradient { background: linear-gradient(90deg, #EC806C 0%, #B66EBD 43.41%, #7568F2 100%); } diff --git a/app/layout.tsx b/app/layout.tsx index 141d0f53..185eaa86 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -24,7 +24,7 @@ export default function RootLayout({ // caused by mismatched client/server content caused by next-themes return ( - + {children} diff --git a/app/page.tsx b/app/page.tsx index 2fd5e7c6..4c6b09f9 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,13 +1,21 @@ "use client"; import Spinning from "@/app/components/ui/spinning"; +import Image from "next/image"; +import pkg from '@/package.json'; export default function Home() { return ( -
-
- +
+
+ FalkorDB Logo +
+
+

Version: {`{${pkg.version}}`}

+

All Rights Reserved © 2024 - {new Date().getFullYear()} falkordb.com

+
+
) } From e509ef446d5847ac280fa924fbe80e4dc851ff4f Mon Sep 17 00:00:00 2001 From: Anchel135 Date: Thu, 23 Jan 2025 14:39:18 +0200 Subject: [PATCH 2/2] adjust the bg better and fix interaction with the dropzone --- app/components/ui/Dropzone.tsx | 2 +- app/login/LoginForm.tsx | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/app/components/ui/Dropzone.tsx b/app/components/ui/Dropzone.tsx index 93426311..1ab97cbc 100644 --- a/app/components/ui/Dropzone.tsx +++ b/app/components/ui/Dropzone.tsx @@ -56,7 +56,7 @@ function Dropzone({ filesCount = false, className = "", withTable = false, disab Or Browse
- :

Upload Certificate

+ :

Upload Certificate

}
{ diff --git a/app/login/LoginForm.tsx b/app/login/LoginForm.tsx index be315cb7..3c8458bc 100644 --- a/app/login/LoginForm.tsx +++ b/app/login/LoginForm.tsx @@ -118,12 +118,10 @@ export default function LoginForm() { } return ( -
+
-
- Loading... -
+ Loading...
-
+
); }