diff --git a/postcss.config.js b/postcss.config.js
new file mode 100644
index 0000000..96bb01e
--- /dev/null
+++ b/postcss.config.js
@@ -0,0 +1,6 @@
+module.exports = {
+ plugins: {
+ tailwindcss: {},
+ autoprefixer: {},
+ },
+}
\ No newline at end of file
diff --git a/src/App.tsx b/src/App.tsx
index a6a31b4..3fb6e54 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -1,21 +1,17 @@
import React from 'react';
-import NavbarStyleApple from './components/navbar/NavbarStyleApple/NavbarStyleApple';
-import HeroBillboard from './components/sections/hero/HeroBillboard';
-import FeatureCardOne from './components/sections/feature/FeatureCardOne';
-import { Testimonial1 } from './components/sections/testimonial/Testimonial1';
-import CtaOne from './components/sections/cta/CtaOne';
-import FooterOne from './components/footer/FooterOne';
+import { ThemeProvider } from './components/ui/theme-provider';
function App() {
return (
-
-
-
-
-
-
-
-
+
+
+
);
}
diff --git a/src/components/ui/theme-provider.tsx b/src/components/ui/theme-provider.tsx
index 8bac2ff..72b5c5c 100644
--- a/src/components/ui/theme-provider.tsx
+++ b/src/components/ui/theme-provider.tsx
@@ -1,9 +1,9 @@
-import React, { createContext, useContext, useEffect, useState, ReactNode } from 'react';
+import React, { createContext, useContext, useEffect, useState } from 'react';
type Theme = 'dark' | 'light' | 'system';
type ThemeProviderProps = {
- children: ReactNode;
+ children: React.ReactNode;
defaultTheme?: Theme;
storageKey?: string;
};
diff --git a/tailwind.config.js b/tailwind.config.js
new file mode 100644
index 0000000..92a7d97
--- /dev/null
+++ b/tailwind.config.js
@@ -0,0 +1,9 @@
+/** @type {import('tailwindcss').Config} */
+module.exports = {
+ content: [
+ "./src/**/*.{js,jsx,ts,tsx}"],
+ theme: {
+ extend: {},
+ },
+ plugins: [],
+}
\ No newline at end of file
diff --git a/tsconfig.json b/tsconfig.json
index 07bb88e..2bb5bcd 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,42 +1,21 @@
{
"compilerOptions": {
- "target": "ES2017",
- "lib": [
- "dom",
- "dom.iterable",
- "esnext"
+ "target": "es5", "lib": [
+ "dom", "dom.iterable", "es6"
],
"allowJs": true,
"skipLibCheck": true,
- "strict": false,
- "noImplicitAny": false,
- "noEmit": true,
"esModuleInterop": true,
- "module": "esnext",
- "moduleResolution": "bundler",
- "resolveJsonModule": true,
+ "allowSyntheticDefaultImports": true,
+ "strict": true,
+ "forceConsistentCasingInFileNames": true,
+ "noFallthroughCasesInSwitch": true,
+ "module": "esnext", "moduleResolution": "node", "resolveJsonModule": true,
"isolatedModules": true,
- "jsx": "react-jsx",
- "incremental": true,
- "plugins": [
- {
- "name": "next"
- }
- ],
- "paths": {
- "@/*": [
- "./src/*"
- ]
- }
+ "noEmit": true,
+ "jsx": "react-jsx"
},
"include": [
- "next-env.d.ts",
- "**/*.ts",
- "**/*.tsx",
- ".next/types/**/*.ts",
- ".next/dev/types/**/*.ts"
- ],
- "exclude": [
- "node_modules"
+ "src"
]
-}
+}
\ No newline at end of file