|
| 1 | +# Index Page - React Implementation |
| 2 | + |
| 3 | +> 🚀 **First Version / Prototype** |
| 4 | +> This is the initial React implementation for [Issue #1: Create index.html](https://github.com/AryanVBW/Kali-Linux-for-Android/issues/1) |
| 5 | +
|
| 6 | +<div align="center"> |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | +</div> |
| 12 | + |
| 13 | +--- |
| 14 | + |
| 15 | +## 🛠️ Tech Stack |
| 16 | + |
| 17 | +<div align="center"> |
| 18 | + |
| 19 | +<table> |
| 20 | + <tr> |
| 21 | + <td align="center" width="100"> |
| 22 | + <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/react/react-original.svg" width="60" height="60" alt="React" /> |
| 23 | + <br><sub>React</sub> |
| 24 | + </td> |
| 25 | + <td align="center" width="100"> |
| 26 | + <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/typescript/typescript-original.svg" width="60" height="60" alt="TypeScript" /> |
| 27 | + <br><sub>TypeScript</sub> |
| 28 | + </td> |
| 29 | + <td align="center" width="100"> |
| 30 | + <img src="https://vitejs.dev/logo.svg" width="60" height="60" alt="Vite" /> |
| 31 | + <br><sub>Vite</sub> |
| 32 | + </td> |
| 33 | + <td align="center" width="100"> |
| 34 | + <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/tailwindcss/tailwindcss-original.svg" width="60" height="60" alt="Tailwind" /> |
| 35 | + <br><sub>Tailwind</sub> |
| 36 | + </td> |
| 37 | + </tr> |
| 38 | + <tr> |
| 39 | + <td align="center" width="100"> |
| 40 | + <img src="https://ui.shadcn.com/apple-touch-icon.png" width="60" height="60" alt="Shadcn" /> |
| 41 | + <br><sub>Shadcn/ui</sub> |
| 42 | + </td> |
| 43 | + <td align="center" width="100"> |
| 44 | + <img src="https://avatars.githubusercontent.com/u/75042455?s=200&v=4" width="60" height="60" alt="Radix UI" /> |
| 45 | + <br><sub>Radix UI</sub> |
| 46 | + </td> |
| 47 | + <td align="center" width="100"> |
| 48 | + <img src="https://react-hook-form.com/images/logo/react-hook-form-logo-only.png" width="60" height="60" alt="React Hook Form" /> |
| 49 | + <br><sub>Hook Form</sub> |
| 50 | + </td> |
| 51 | + <td align="center" width="100"> |
| 52 | + <img src="https://zod.dev/_next/image?url=%2Flogo%2Flogo-glow.png&w=640&q=100" width="60" height="60" alt="Zod" /> |
| 53 | + <br><sub>Zod</sub> |
| 54 | + </td> |
| 55 | + </tr> |
| 56 | + <tr> |
| 57 | + <td align="center" width="100"> |
| 58 | + <img src="https://avatars.githubusercontent.com/u/72518640?s=200&v=4" width="60" height="60" alt="TanStack Query" /> |
| 59 | + <br><sub>TanStack</sub> |
| 60 | + </td> |
| 61 | + <td align="center" width="100"> |
| 62 | + <img src="https://avatars.githubusercontent.com/u/2386673?s=200&v=4" width="60" height="60" alt="GSAP" /> |
| 63 | + <br><sub>GSAP</sub> |
| 64 | + </td> |
| 65 | + <td align="center" width="100"> |
| 66 | + <img src="https://lucide.dev/logo.light.svg" width="60" height="60" alt="Lucide" /> |
| 67 | + <br><sub>Lucide</sub> |
| 68 | + </td> |
| 69 | + <td align="center" width="100"> |
| 70 | + <img src="https://api.logo.com/api/v2/images?design=lg_eEP7IzkMfgpFktNQkQ&u=1757874178859&width=1600&height=900&margins=300&fit=contain&format=webp&quality=60&tightBounds=true" width="60" height="60" alt="Recharts" /> |
| 71 | + <br><sub>Recharts</sub> |
| 72 | + </td> |
| 73 | + </tr> |
| 74 | +</table> |
| 75 | + |
| 76 | +</div> |
| 77 | + |
| 78 | +--- |
| 79 | + |
| 80 | +## 📦 Installation Guide |
| 81 | + |
| 82 | +### Prerequisites |
| 83 | + |
| 84 | +<div align="center"> |
| 85 | + |
| 86 | +<table> |
| 87 | + <tr> |
| 88 | + <td align="center" width="200"> |
| 89 | + <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/nodejs/nodejs-original.svg" width="80" height="80" alt="Node.js" /> |
| 90 | + <br><br> |
| 91 | + <b>Node.js</b> |
| 92 | + <br> |
| 93 | + <sub>Version 18 or higher</sub> |
| 94 | + <br><br> |
| 95 | + <a href="https://nodejs.org/">Download Here</a> |
| 96 | + </td> |
| 97 | + <td align="center" width="200"> |
| 98 | + <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/npm/npm-original-wordmark.svg" width="80" height="80" alt="npm" /> |
| 99 | + <br><br> |
| 100 | + <b>npm</b> |
| 101 | + <br> |
| 102 | + <sub>Version 9 or higher</sub> |
| 103 | + <br><br> |
| 104 | + <sub>(Comes with Node.js)</sub> |
| 105 | + </td> |
| 106 | + <td align="center" width="200"> |
| 107 | + <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/git/git-original.svg" width="80" height="80" alt="Git" /> |
| 108 | + <br><br> |
| 109 | + <b>Git</b> |
| 110 | + <br> |
| 111 | + <sub>Latest version</sub> |
| 112 | + <br><br> |
| 113 | + <a href="https://git-scm.com/">Download Here</a> |
| 114 | + </td> |
| 115 | + </tr> |
| 116 | +</table> |
| 117 | + |
| 118 | +</div> |
| 119 | + |
| 120 | +### Check Your Installation |
| 121 | + |
| 122 | +```bash |
| 123 | +# Verify Node.js is installed |
| 124 | +node --version |
| 125 | +# Expected output: v18.x.x or higher |
| 126 | + |
| 127 | +# Verify npm is installed |
| 128 | +npm --version |
| 129 | +# Expected output: 9.x.x or higher |
| 130 | + |
| 131 | +# Verify Git is installed |
| 132 | +git --version |
| 133 | +# Expected output: git version 2.x.x |
| 134 | +``` |
| 135 | + |
| 136 | +--- |
| 137 | + |
| 138 | +### Step 1️⃣: Navigate to Project Directory |
| 139 | + |
| 140 | +```bash |
| 141 | +# Open terminal and navigate to the project folder |
| 142 | +cd Kali-Linux-for-Android/index-page |
| 143 | +``` |
| 144 | + |
| 145 | +<div align="center"> |
| 146 | +<img src="https://img.shields.io/badge/Current_Directory-index--page-blue?style=for-the-badge" alt="Directory" /> |
| 147 | +</div> |
| 148 | + |
| 149 | +--- |
| 150 | + |
| 151 | +### Step 2️⃣: Install Dependencies |
| 152 | + |
| 153 | +```bash |
| 154 | +# Install all required packages |
| 155 | +npm install |
| 156 | +``` |
| 157 | + |
| 158 | +<div align="center"> |
| 159 | + |
| 160 | +**⏳ Installation in Progress...** |
| 161 | + |
| 162 | +This will download and install **60+ packages** |
| 163 | + |
| 164 | +Expected time: **2-5 minutes** (depending on your internet speed) |
| 165 | + |
| 166 | +</div> |
| 167 | + |
| 168 | +#### What's Being Installed? |
| 169 | + |
| 170 | +- ✅ React & React DOM |
| 171 | +- ✅ TypeScript & Type Definitions |
| 172 | +- ✅ Vite Build Tool |
| 173 | +- ✅ Tailwind CSS & Plugins |
| 174 | +- ✅ Shadcn/ui Components |
| 175 | +- ✅ Radix UI Primitives |
| 176 | +- ✅ Form Libraries (React Hook Form, Zod) |
| 177 | +- ✅ State Management (TanStack Query) |
| 178 | +- ✅ Animation Libraries (GSAP) |
| 179 | +- ✅ Icons & UI Utilities |
| 180 | + |
| 181 | +#### Success Output |
| 182 | + |
| 183 | +```bash |
| 184 | +added 1247 packages, and audited 1248 packages in 3m |
| 185 | + |
| 186 | +found 0 vulnerabilities |
| 187 | +``` |
| 188 | + |
| 189 | +--- |
| 190 | + |
| 191 | +### Step 3️⃣: Start Development Server |
| 192 | + |
| 193 | +```bash |
| 194 | +# Start the local development server |
| 195 | +npm run dev |
| 196 | +``` |
| 197 | + |
| 198 | +#### Success Output |
| 199 | + |
| 200 | +```bash |
| 201 | + VITE v5.4.19 ready in 342 ms |
| 202 | + |
| 203 | + ➜ Local: http://localhost:8080/ |
| 204 | + ➜ Network: http://192.168.56.1:8080/ |
| 205 | + ➜ Network: http://172.16.2.10:8080/ |
| 206 | + ➜ press h + enter to show help |
| 207 | +``` |
| 208 | + |
| 209 | +<div align="center"> |
| 210 | + |
| 211 | +### 🎉 Success! Your app is running! |
| 212 | + |
| 213 | +**Open your browser and visit:** |
| 214 | + |
| 215 | +## 🌐 [`http://localhost:8080`](http://localhost:8080) |
| 216 | + |
| 217 | +<img src="https://img.shields.io/badge/Status-Running-success?style=for-the-badge&logo=vercel" alt="Running" /> |
| 218 | + |
| 219 | +</div> |
| 220 | + |
| 221 | +--- |
| 222 | + |
| 223 | +### Step 4️⃣: Making Changes |
| 224 | + |
| 225 | +The development server supports **Hot Module Replacement (HMR)** |
| 226 | + |
| 227 | +**This means:** |
| 228 | +- ✨ Save any file → See changes instantly |
| 229 | +- 🚫 No manual refresh needed |
| 230 | +- ⚡ Lightning-fast updates |
| 231 | + |
| 232 | +```bash |
| 233 | +# Keep the terminal running |
| 234 | +# Edit files in your code editor (VS Code, etc.) |
| 235 | +# Changes appear automatically in browser! |
| 236 | +``` |
| 237 | + |
| 238 | +--- |
| 239 | + |
| 240 | +### Step 5️⃣: Stop the Server |
| 241 | + |
| 242 | +```bash |
| 243 | +# Press Ctrl + C in terminal to stop |
| 244 | +# Or close the terminal window |
| 245 | +``` |
| 246 | + |
| 247 | +--- |
| 248 | + |
| 249 | +## 🎯 Issue Reference |
| 250 | + |
| 251 | +**Resolves:** [#1 - Create index.html for this Repository](https://github.com/AryanVBW/Kali-Linux-for-Android/issues/1) |
| 252 | + |
| 253 | +**Original Discussion:** |
| 254 | +- [@AryanVBW](https://github.com/AryanVBW) - Project Owner |
| 255 | +- [@Abhishek88788](https://github.com/Abhishek88788) - Contributor |
| 256 | + |
| 257 | +--- |
| 258 | + |
| 259 | +## 👨💻 Developer |
| 260 | + |
| 261 | +<div align="center"> |
| 262 | + |
| 263 | +<a href="https://github.com/Abhishek88788"> |
| 264 | + <img src="https://github.com/Abhishek88788.png" width="120" height="120" style="border-radius: 50%; border: 3px solid #0366d6;" alt="Abhishek88788" /> |
| 265 | +</a> |
| 266 | + |
| 267 | +<br><br> |
| 268 | + |
| 269 | +### Abhishek Kumar |
| 270 | + |
| 271 | +[](https://github.com/Abhishek88788) |
| 272 | +[](https://github.com/Abhishek88788) |
| 273 | + |
| 274 | +</div> |
| 275 | + |
| 276 | +--- |
| 277 | + |
| 278 | +<div align="center"> |
| 279 | + |
| 280 | +**Made with ❤️ for** [Kali Linux for Android](https://github.com/AryanVBW/Kali-Linux-for-Android) |
| 281 | + |
| 282 | +</div> |
0 commit comments