From b0dc31a3f0c097caea269784f6aefc070e5e28c9 Mon Sep 17 00:00:00 2001 From: Anang Yusman Date: Thu, 5 Feb 2026 11:25:52 +0800 Subject: [PATCH] update landing --- app/page.tsx | 12 ++++++------ tsconfig.json | 24 +++++++++++++++++++----- 2 files changed, 25 insertions(+), 11 deletions(-) diff --git a/app/page.tsx b/app/page.tsx index ad850c0..e30ab04 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,17 +1,17 @@ -import Development from "@/components/landing-page/development"; import Footer from "@/components/landing-page/footer"; -import Header from "@/components/landing-page/headers"; -import NewsTerkini from "@/components/landing-page/health"; -import LatestNews from "@/components/landing-page/latest-news"; +import Header from "@/components/landing-page/header"; import Navbar from "@/components/landing-page/navbar"; +import LatestNews from "@/components/landing-page/latest-news"; +import Development from "@/components/landing-page/development"; import OpinionNews from "@/components/landing-page/opinion-news"; +import NewsTerkini from "@/components/landing-page/health"; import YouTubeSection from "@/components/landing-page/youtube-selection"; export default function Home() { return ( -
+
+ {/* Background fixed tidak ikut scroll */} -
diff --git a/tsconfig.json b/tsconfig.json index d8b9323..e7ff3a2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,11 @@ { "compilerOptions": { "target": "ES2017", - "lib": ["dom", "dom.iterable", "esnext"], + "lib": [ + "dom", + "dom.iterable", + "esnext" + ], "allowJs": true, "skipLibCheck": true, "strict": true, @@ -11,7 +15,7 @@ "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "preserve", + "jsx": "react-jsx", "incremental": true, "plugins": [ { @@ -19,9 +23,19 @@ } ], "paths": { - "@/*": ["./*"] + "@/*": [ + "./*" + ] } }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], - "exclude": ["node_modules"] + "include": [ + "next-env.d.ts", + "**/*.ts", + "**/*.tsx", + ".next/types/**/*.ts", + ".next/dev/types/**/*.ts" + ], + "exclude": [ + "node_modules" + ] }