diff --git a/src/app/globals.css b/src/app/globals.css index a461c50..301d8e1 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -1 +1,17 @@ -@import "tailwindcss"; \ No newline at end of file +@import 'tailwindcss'; + +*, +*::before, +*::after, +*::-webkit-scrollbar { + box-sizing: border-box; +} + +* { + -ms-overflow-style: none; + scrollbar-width: none; +} + +*::-webkit-scrollbar { + display: none; +} diff --git a/src/app/page.tsx b/src/app/page.tsx index 56c6b51..267da67 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,9 +1,8 @@ export default function Home() { return ( -
+

Offline Next.js Template 🚀

This project was generated completely offline.

- ); + ) } - diff --git a/tsconfig.json b/tsconfig.json index 0c811ca..2401a0e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,40 +1,28 @@ { "compilerOptions": { - "target": "ES2020", - "lib": [ - "dom", - "dom.iterable", - "esnext" - ], + "target": "ES2017", + "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, + "skipLibCheck": true, "strict": true, "noEmit": true, + "esModuleInterop": true, "module": "esnext", "moduleResolution": "bundler", - "jsx": "react-jsx", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve", "incremental": true, "plugins": [ { "name": "next" } ], - "skipLibCheck": true, - "esModuleInterop": true, - "resolveJsonModule": true, - "isolatedModules": true + "paths": { + "@/*": ["./src/*"], + "&/*": ["./public/*"] + } }, - "include": [ - "next-env.d.ts", - "**/*.ts", - "**/*.tsx", - ".next/types/**/*.ts", - ".next/dev/types/**/*.ts" - ], - "paths": { - "@/*": ["./src/*"], - "&/*": ["./public/*"] - }, - "exclude": [ - "node_modules" - ] + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], + "exclude": ["node_modules"] }