chore: cleanup nextjs project

This commit is contained in:
ArraysID
2025-04-26 21:13:19 +07:00
parent b389235971
commit 259262a1ef
10 changed files with 194 additions and 639 deletions
-3
View File
@@ -1,3 +0,0 @@
export async function GET(request: Request) {
return new Response('Hello, from API!');
}
-72
View File
@@ -1,72 +0,0 @@
@import 'tailwindcss';
@source './pages/**/*.{ts,tsx}';
@source './components/**/*.{ts,tsx}';
@source './app/**/*.{ts,tsx}';
@source './src/**/*.{ts,tsx}';
@source '*.{js,ts,jsx,tsx,mdx}';
@theme {
--border: hsl(var(--border));
--input: hsl(var(--input));
--ring: hsl(var(--ring));
--background: hsl(var(--background));
--foreground: hsl(var(--foreground));
--primary: hsl(var(--primary));
--primary-foreground: hsl(var(--primary-foreground));
--secondary: hsl(var(--secondary));
--secondary-foreground: hsl(var(--secondary-foreground));
--destructive: hsl(var(--destructive));
--destructive-foreground: hsl(var(--destructive-foreground));
--muted: hsl(var(--muted));
--muted-foreground: hsl(var(--muted-foreground));
--accent: hsl(var(--accent));
--accent-foreground: hsl(var(--accent-foreground));
--popover: hsl(var(--popover));
--popover-foreground: hsl(var(--popover-foreground));
--card: hsl(var(--card));
--card-foreground: hsl(var(--card-foreground));
--radius-lg: var(--radius);
--radius-md: calc(var(--radius) - 2px);
--radius-sm: calc(var(--radius) - 4px);
}
@layer base {
html {
/* Optional kalau mau style dasar */
}
/* Accordion animation (keyframes dan animation) */
@keyframes accordion-down {
from {
height: 0;
}
to {
height: var(--radix-accordion-content-height);
}
}
@keyframes accordion-up {
from {
height: var(--radix-accordion-content-height);
}
to {
height: 0;
}
}
.accordion-down {
animation: accordion-down 0.2s ease-out;
}
.accordion-up {
animation: accordion-up 0.2s ease-out;
}
}
+5 -6
View File
@@ -1,9 +1,8 @@
import './global.css';
import { type Metadata } from 'next';
import { description, title } from '../data/metadata.json';
import '../styles/globals.css';
export const metadata = {
title: 'Welcome to landing',
description: 'Generated by create-nx-workspace',
};
export const metadata: Metadata = { title, description };
export default function RootLayout({
children,
@@ -11,7 +10,7 @@ export default function RootLayout({
children: React.ReactNode;
}) {
return (
<html lang="en">
<html lang="id" suppressHydrationWarning>
<body>{children}</body>
</html>
);
File diff suppressed because one or more lines are too long
+4
View File
@@ -0,0 +1,4 @@
{
"title": "IMPHNEN",
"description": ""
}
+1
View File
@@ -0,0 +1 @@
@import 'tailwindcss';