diff --git a/components.json b/components.json new file mode 100644 index 0000000..1d282e6 --- /dev/null +++ b/components.json @@ -0,0 +1,21 @@ +{ + "$schema": "https://ui.shadcn.com/schema.json", + "style": "new-york", + "rsc": false, + "tsx": true, + "tailwind": { + "config": "tailwind.config.js", + "css": "src/index.css", + "baseColor": "neutral", + "cssVariables": true, + "prefix": "" + }, + "aliases": { + "components": "@/components", + "utils": "@/lib/utils", + "ui": "@/components/ui", + "lib": "@/lib", + "hooks": "@/hooks" + }, + "iconLibrary": "lucide" +} \ No newline at end of file diff --git a/package.json b/package.json index ca7db86..c79f8bd 100644 --- a/package.json +++ b/package.json @@ -14,30 +14,37 @@ "@emotion/styled": "^11.11.0", "@mui/icons-material": "^5.15.6", "@mui/material": "^5.15.6", + "@radix-ui/react-slot": "^1.1.2", + "@tailwindcss/vite": "^4.0.9", "@vitejs/plugin-react": "^4.3.3", "axios": "^1.7.7", + "class-variance-authority": "^0.7.1", + "clsx": "^2.1.1", + "lucide-react": "^0.477.0", "octokit": "^4.0.2", "react": "^18.3.1", "react-dom": "^18.3.1", "react-hot-toast": "^2.4.1", "react-icons": "^5.3.0", - "react-router-dom": "^6.28.0" + "react-router-dom": "^6.28.0", + "tailwind-merge": "^3.0.2", + "tailwindcss-animate": "^1.0.7" }, "devDependencies": { "@eslint/js": "^9.13.0", - "@types/node": "^22.10.1", + "@tailwindcss/postcss": "^4.0.9", + "@types/node": "^22.13.9", "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", "@types/react-redux": "^7.1.34", "@vitejs/plugin-react-swc": "^3.5.0", - "autoprefixer": "^10.4.20", "eslint": "^9.13.0", "eslint-plugin-react": "^7.37.2", "eslint-plugin-react-hooks": "^5.0.0", "eslint-plugin-react-refresh": "^0.4.14", "globals": "^15.11.0", "postcss": "^8.4.47", - "tailwindcss": "^3.4.14", + "tailwindcss": "^4.0.9", "vite": "^5.4.10" } } diff --git a/postcss.config.cjs b/postcss.config.cjs index f0c363c..84608f0 100644 --- a/postcss.config.cjs +++ b/postcss.config.cjs @@ -1,6 +1,5 @@ module.exports = { plugins: { - tailwindcss: {}, - autoprefixer: {}, + '@tailwindcss/postcss': {}, }, }; diff --git a/src/App.tsx b/src/App.tsx index a49da65..c5d13c3 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -16,7 +16,7 @@ function App() { {/* Main content */} -
+
diff --git a/src/Routes/Login/Login.tsx b/src/Routes/Login/Login.tsx index 1c1f495..6548e06 100644 --- a/src/Routes/Login/Login.tsx +++ b/src/Routes/Login/Login.tsx @@ -49,7 +49,7 @@ const Login: React.FC = () => { value={formData.email} onChange={handleChange} required - className="w-full p-3 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500" + className="w-full p-3 border border-gray-300 rounded-md focus:outline-hidden focus:ring-2 focus:ring-blue-500" />
@@ -60,12 +60,12 @@ const Login: React.FC = () => { value={formData.password} onChange={handleChange} required - className="w-full p-3 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500" + className="w-full p-3 border border-gray-300 rounded-md focus:outline-hidden focus:ring-2 focus:ring-blue-500" />
diff --git a/src/Routes/Signup/Signup.tsx b/src/Routes/Signup/Signup.tsx index 40edaa8..f9028c7 100644 --- a/src/Routes/Signup/Signup.tsx +++ b/src/Routes/Signup/Signup.tsx @@ -50,7 +50,7 @@ const SignUp: React.FC = () => { value={formData.username} onChange={handleChange} required - className="w-full p-3 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500" + className="w-full p-3 border border-gray-300 rounded-md focus:outline-hidden focus:ring-2 focus:ring-blue-500" />
@@ -61,7 +61,7 @@ const SignUp: React.FC = () => { value={formData.email} onChange={handleChange} required - className="w-full p-3 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500" + className="w-full p-3 border border-gray-300 rounded-md focus:outline-hidden focus:ring-2 focus:ring-blue-500" />
@@ -72,12 +72,12 @@ const SignUp: React.FC = () => { value={formData.password} onChange={handleChange} required - className="w-full p-3 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500" + className="w-full p-3 border border-gray-300 rounded-md focus:outline-hidden focus:ring-2 focus:ring-blue-500" />
diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 2575ac9..9913a68 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -2,7 +2,7 @@ import { FaGithub } from 'react-icons/fa'; function Footer() { return ( -