diff --git a/components.json b/components.json new file mode 100644 index 0000000..299ea38 --- /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": "slate", + "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/index.html b/index.html index e4b78ea..c634f51 100644 --- a/index.html +++ b/index.html @@ -2,11 +2,11 @@ - + - Vite + React + TS + Github Tracker | Track your GitHub - +
diff --git a/package.json b/package.json index 5f47253..72c3bde 100644 --- a/package.json +++ b/package.json @@ -14,17 +14,29 @@ "@emotion/styled": "^11.11.0", "@mui/icons-material": "^5.15.6", "@mui/material": "^5.15.6", + "@radix-ui/react-dialog": "^1.1.2", + "@radix-ui/react-label": "^2.1.0", + "@radix-ui/react-separator": "^1.1.0", + "@radix-ui/react-slot": "^1.1.0", + "@tabler/icons-react": "^3.24.0", "@vitejs/plugin-react": "^4.3.3", "axios": "^1.7.7", + "class-variance-authority": "^0.7.1", + "clsx": "^2.1.1", + "lucide-react": "^0.465.0", + "next-themes": "^0.4.3", "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": "^2.5.5", + "tailwindcss-animate": "^1.0.7" }, "devDependencies": { "@eslint/js": "^9.13.0", + "@types/node": "^22.10.1", "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", "@vitejs/plugin-react-swc": "^3.5.0", diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..57c30ca Binary files /dev/null and b/public/favicon.ico differ diff --git a/public/hero.png b/public/hero.png new file mode 100644 index 0000000..7e60d63 Binary files /dev/null and b/public/hero.png differ diff --git a/public/hero2.png b/public/hero2.png new file mode 100644 index 0000000..3fc333f Binary files /dev/null and b/public/hero2.png differ diff --git a/public/logo.png b/public/logo.png new file mode 100644 index 0000000..77a7fac Binary files /dev/null and b/public/logo.png differ diff --git a/public/vite.svg b/public/vite.svg deleted file mode 100644 index e7b8dfb..0000000 --- a/public/vite.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/App.css b/src/App.css deleted file mode 100644 index b9d355d..0000000 --- a/src/App.css +++ /dev/null @@ -1,42 +0,0 @@ -#root { - max-width: 1280px; - margin: 0 auto; - padding: 2rem; - text-align: center; -} - -.logo { - height: 6em; - padding: 1.5em; - will-change: filter; - transition: filter 300ms; -} -.logo:hover { - filter: drop-shadow(0 0 2em #646cffaa); -} -.logo.react:hover { - filter: drop-shadow(0 0 2em #61dafbaa); -} - -@keyframes logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -} - -@media (prefers-reduced-motion: no-preference) { - a:nth-of-type(2) .logo { - animation: logo-spin infinite 20s linear; - } -} - -.card { - padding: 2em; -} - -.read-the-docs { - color: #888; -} diff --git a/src/App.tsx b/src/App.tsx index 07d5f02..32bff70 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,9 +1,8 @@ - -import Navbar from "./components/Navbar"; -import Footer from "./components/Footer"; import ScrollProgressBar from './components/ScrollProgressBar'; import Router from "./Routes/Router"; +import Header from "./components/Header"; +import Footer_ from "./components/footer2"; function App() { return ( @@ -12,7 +11,7 @@ function App() { {/* Navbar */} - +
{/* Main content */}
@@ -20,7 +19,7 @@ function App() {
{/* Footer */} -