Skip to content

Commit 98fcf23

Browse files
updated db & settings
1 parent 834e8cb commit 98fcf23

File tree

19 files changed

+3027
-568
lines changed

19 files changed

+3027
-568
lines changed

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ import { validateEmail } from '@/lib/utils';
333333

334334
describe('validateEmail', () => {
335335
it('should validate correct email addresses', () => {
336-
expect(validateEmail('user@example.com')).toBe(true);
336+
expect(validateEmail('user@codinit.dev')).toBe(true);
337337
expect(validateEmail('invalid-email')).toBe(false);
338338
});
339339
});

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

app/layout.tsx

Lines changed: 15 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,25 @@
1-
import './globals.css'
2-
import { PostHogProvider, ThemeProvider } from './providers'
1+
import { ThemeProvider } from 'next-themes'
32
import { Toaster } from '@/components/ui/toaster'
4-
import { Analytics } from '@vercel/analytics/next'
5-
import type { Metadata } from 'next'
6-
import { Inter } from 'next/font/google'
7-
8-
const inter = Inter({ subsets: ['latin'] })
9-
10-
export const metadata: Metadata = {
11-
title: 'CodinIT.dev',
12-
description: "Create apps and websites by chatting with AI. Prompt, build & deploy your web apps with our AI agents.",
13-
}
3+
import './globals.css'
144

155
export default function RootLayout({
166
children,
17-
}: Readonly<{
7+
}: {
188
children: React.ReactNode
19-
}>) {
9+
}) {
2010
return (
2111
<html lang="en" suppressHydrationWarning>
22-
<PostHogProvider>
23-
<body className={inter.className}>
24-
<ThemeProvider
25-
attribute="class"
26-
defaultTheme="dark"
27-
enableSystem
28-
disableTransitionOnChange
29-
>
30-
{children}
31-
</ThemeProvider>
12+
<body>
13+
<ThemeProvider
14+
attribute="class"
15+
defaultTheme="system"
16+
enableSystem
17+
disableTransitionOnChange
18+
>
19+
{children}
3220
<Toaster />
33-
<Analytics />
34-
</body>
35-
</PostHogProvider>
21+
</ThemeProvider>
22+
</body>
3623
</html>
3724
)
38-
}
25+
}

0 commit comments

Comments
 (0)