diff --git a/package.json b/package.json index feefc46..0bc81d7 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,6 @@ "private": true, "version": "0.0.0", "type": "module", - "scripts": { "dev": "vite --host", "build": "vite build", @@ -14,12 +13,12 @@ "docker:dev": "docker compose --profile dev up --build", "docker:prod": "docker compose --profile prod up -d --build" }, - "dependencies": { "@emotion/react": "^11.11.3", "@emotion/styled": "^11.11.0", "@mui/icons-material": "^5.15.6", "@mui/material": "^5.15.6", + "@octokit/core": "^7.0.6", "@primer/octicons-react": "^19.25.0", "@vitejs/plugin-react": "^4.3.3", "axios": "^1.7.7", @@ -39,7 +38,6 @@ "recharts": "^3.8.1", "tailwindcss": "^3.4.14" }, - "devDependencies": { "@eslint/js": "^9.13.0", "@testing-library/jest-dom": "^6.9.1", @@ -51,33 +49,22 @@ "@types/react-dom": "^18.3.7", "@types/react-redux": "^7.1.34", "@types/react-router-dom": "^5.3.3", - "@vitejs/plugin-react-swc": "^3.5.0", - "autoprefixer": "^10.4.20", "bcryptjs": "^3.0.3", - "eslint": "^9.13.0", "eslint-plugin-react": "^7.37.2", "eslint-plugin-react-hooks": "^5.0.0", "eslint-plugin-react-refresh": "^0.4.14", - "express-session": "^1.18.2", - "globals": "^15.11.0", - "jasmine": "^5.13.0", "jasmine-spec-reporter": "^7.0.0", - "jsdom": "^29.1.1", - "passport": "^0.7.0", "passport-local": "^1.0.0", - "supertest": "^7.2.2", - "typescript-eslint": "^8.59.3", - "vite": "^5.4.10", "vitest": "^4.1.6" } diff --git a/src/pages/Login/Login.tsx b/src/pages/Login/Login.tsx index a1cb9dd..1779c86 100644 --- a/src/pages/Login/Login.tsx +++ b/src/pages/Login/Login.tsx @@ -66,20 +66,11 @@ const Login: React.FC = () => { }; return ( - - Don't have an account? - - Create one now - -

- } +
@@ -95,6 +86,16 @@ const Login: React.FC = () => { Enter your credentials to continue to your dashboard.

+ +

+ GitHubTracker +

+

+ Track your GitHub journey +

@@ -110,7 +111,10 @@ const Login: React.FC = () => { onChange={handleChange} autoComplete="username" required - className={`w-full bg-transparent text-sm outline-none ${mode === "dark" ? "placeholder-slate-500 text-white" : "placeholder-slate-400 text-slate-900"}`} + className={`w-full pl-4 pr-4 py-4 rounded-2xl focus:outline-none transition-all ${mode === "dark" + ? "bg-white/5 border border-white/10 text-white placeholder-slate-400 focus:ring-2 focus:ring-purple-500" + : "bg-gray-100 border border-gray-300 text-gray-900 placeholder-gray-500 focus:ring-2 focus:ring-purple-400" + }`} />
@@ -120,33 +124,27 @@ const Login: React.FC = () => {
- -
+ type="password" + name="password" + autoComplete="current-password" + placeholder="Enter your password" + value={formData.password} + onChange={handleChange} + required + className={`w-full pl-4 pr-4 py-4 rounded-2xl focus:outline-none transition-all ${mode === "dark" + ? "bg-white/5 border border-white/10 text-white placeholder-slate-400 focus:ring-2 focus:ring-purple-500" + : "bg-gray-100 border border-gray-300 text-gray-900 placeholder-gray-500 focus:ring-2 focus:ring-purple-400" + }`} + /> + @@ -154,15 +152,11 @@ const Login: React.FC = () => { {/* Message */} {message && ( -
-
- -

{message}

+
+ {message}
)}