feat: landing page migration (#24)
* chore: cleanup nextjs project * feat(shadcn-ui): initialize shadcn ui libs * feat: update landing app with shadcnI integration * feat: add path mapping for shadcn-ui atoms in tsconfig * feat: remove unused tw-animate-css import * feat: migrate header component * feat: migrate hero component * feat: migrate features component * feat: migrate community component * feat: migrate learning resources component * feat: migrate testimonials component * feat: migrate call to action component * feat: migrate footer component * feat: migrate simple theme switcher component * feat: update dependencies in package.json and package-lock.json * chore: add tailwind-animate-css package * feat: initialize index file to export atoms * chore: remove pnpm, accidentally added out of habit
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
import './global.css';
|
||||
import { type Metadata } from 'next';
|
||||
import { Inter } from 'next/font/google';
|
||||
import '../styles/globals.css';
|
||||
import { ThemeProvider } from './_components/theme-provider';
|
||||
|
||||
export const metadata = {
|
||||
title: 'Welcome to landing',
|
||||
description: 'Generated by create-nx-workspace',
|
||||
const inter = Inter({ subsets: ['latin'] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'IMPHNEN - Ingin Menjadi Programmer Handal?',
|
||||
description: 'Komunitas belajar programming untuk semua level',
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
@@ -11,8 +16,17 @@ export default function RootLayout({
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body>{children}</body>
|
||||
<html lang="id" suppressHydrationWarning>
|
||||
<body className={inter.className}>
|
||||
<ThemeProvider
|
||||
attribute="class"
|
||||
defaultTheme="system"
|
||||
enableSystem
|
||||
disableTransitionOnChange
|
||||
>
|
||||
{children}
|
||||
</ThemeProvider>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user