diff --git a/app/layout.tsx b/app/layout.tsx index 6e2fe22..c2f5786 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -10,6 +10,7 @@ import { buttonVariants } from "@/components/ui/button"; import { GitHubLogoIcon } from "@radix-ui/react-icons"; import { ModeToggle } from "@/components/modeToggle"; import Image from "next/image"; +import NotificationBanner from "@/components/notificationBanner"; const inter = Inter({ subsets: ["latin"] }); @@ -53,7 +54,7 @@ export default function RootLayout({ }>) { return ( - + - logo + logo + logo + diff --git a/app/page.tsx b/app/page.tsx index cc18e28..d3a565e 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -14,6 +14,7 @@ import React from "react"; import dynamic from "next/dynamic"; import ListSuggestion from "@/components/listSuggestion"; import Loader from "@/components/loader"; +import { Spinner } from "@/components/ui/spinner"; const EmptyScreen = dynamic(() => import("@/components/emptyScreen"), { ssr: false, @@ -93,28 +94,30 @@ export default function Home() { return (
- +
- - {error ? ( -
-

- Oops! Something Went Wrong!{" "} - : ( -

-

{error}

-
- ) : isLoading ? ( - - ) : commitMessages ? ( - - ) : ( - - )} + + + {error ? ( +
+

+ Oops! Something Went Wrong!{" "} + : ( +

+

{error}

+
+ ) : isLoading ? ( + + ) : commitMessages ? ( + + ) : ( + + )} +
@@ -122,7 +125,7 @@ export default function Home() {
submitForm(e, message)} - className="relative overflow-hidden rounded-lg border bg-primary-foreground/50 focus-within:ring-1 focus-within:ring-ring" + className="relative overflow-hidden rounded-lg border bg-primary-foreground/25 focus-within:ring-1 focus-within:ring-ring shadow" >