diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..7a282ac --- /dev/null +++ b/.prettierignore @@ -0,0 +1,7 @@ +/.vscode +/node_modules +./dist + +*.env +.env +.env.* \ No newline at end of file diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..b4f6bfd --- /dev/null +++ b/.prettierrc @@ -0,0 +1,7 @@ +{ + "singleQuote": false, + "bracketSpacing": true, + "tabWidth": 2, + "trailingComma": "es5", + "semi": true +} diff --git a/app/layout.tsx b/app/layout.tsx index 43542c1..b640698 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -2,9 +2,13 @@ import type { Metadata } from "next"; import { Inter } from "next/font/google"; import "./globals.css"; -import ClientAppLayout from "@/layouts/ClientAppLayout"; import { ThemeProvider } from "./provider"; import { Toaster } from "@/components/ui/toaster"; +import dynamic from "next/dynamic"; + +const ClientAppLayout = dynamic(() => import("@/layouts/ClientAppLayout"), { + ssr: false, +}); const inter = Inter({ subsets: ["latin"] }); @@ -26,13 +30,13 @@ export default function RootLayout({ return (
- + - +
- {String(deadline)}
- Our Core Societies
+
+ Our Core Societies
- {item.title}
-
+ {item.title}
+
+