updated configs and global css

This commit is contained in:
2026-04-13 13:28:24 +03:30
parent 0cae4c1902
commit aaecdbfccd
3 changed files with 32 additions and 29 deletions

View File

@@ -1 +1,17 @@
@import "tailwindcss"; @import 'tailwindcss';
*,
*::before,
*::after,
*::-webkit-scrollbar {
box-sizing: border-box;
}
* {
-ms-overflow-style: none;
scrollbar-width: none;
}
*::-webkit-scrollbar {
display: none;
}

View File

@@ -1,9 +1,8 @@
export default function Home() { export default function Home() {
return ( return (
<main style={{ padding: 40 }}> <main>
<h1>Offline Next.js Template 🚀</h1> <h1>Offline Next.js Template 🚀</h1>
<p>This project was generated completely offline.</p> <p>This project was generated completely offline.</p>
</main> </main>
); )
} }

View File

@@ -1,40 +1,28 @@
{ {
"compilerOptions": { "compilerOptions": {
"target": "ES2020", "target": "ES2017",
"lib": [ "lib": ["dom", "dom.iterable", "esnext"],
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true, "allowJs": true,
"skipLibCheck": true,
"strict": true, "strict": true,
"noEmit": true, "noEmit": true,
"esModuleInterop": true,
"module": "esnext", "module": "esnext",
"moduleResolution": "bundler", "moduleResolution": "bundler",
"jsx": "react-jsx", "resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true, "incremental": true,
"plugins": [ "plugins": [
{ {
"name": "next" "name": "next"
} }
], ],
"skipLibCheck": true, "paths": {
"esModuleInterop": true, "@/*": ["./src/*"],
"resolveJsonModule": true, "&/*": ["./public/*"]
"isolatedModules": true }
}, },
"include": [ "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"next-env.d.ts", "exclude": ["node_modules"]
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
".next/dev/types/**/*.ts"
],
"paths": {
"@/*": ["./src/*"],
"&/*": ["./public/*"]
},
"exclude": [
"node_modules"
]
} }