Skip to content

Commit 8f4925c

Browse files
authored
Merge pull request #4 from bhola-dev58/checkout-me
Checkout me
2 parents 455d764 + 45e140d commit 8f4925c

3 files changed

Lines changed: 79 additions & 4 deletions

File tree

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# under-working
1+
2+
# How to run the project
23

34
RUN Backend project
45
```
@@ -7,6 +8,11 @@ uvicorn main:app --reload
78
```
89

910
To Run frontend project
11+
**Install depandencies**
12+
```bash
13+
npm install
14+
```
15+
Run this command to run the project
1016
```bash
1117
npm start
1218
```

frontend/src/App.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import React, { useState, useEffect } from 'react';
2-
import { BrowserRouter as Router, Routes, Route, useNavigate } from 'react-router-dom';
2+
import { BrowserRouter as Router, Routes, Route, useNavigate, Link } from 'react-router-dom';
33
import CodeEditor from './components/CodeEditor';
4+
import AboutUs from './pages/AboutUs'; // ✅ Import AboutUs page
5+
46
import './App.css';
57

68
const Navbar = () => {
@@ -10,9 +12,10 @@ const Navbar = () => {
1012
<span className="logo">AI Debug</span>
1113
</div>
1214
<div className="navbar-links">
13-
<a href="https://github.com/your-repo" target="_blank" rel="noopener noreferrer">GitHub</a>
15+
<a href="https://github.com/bhola-dev58" target="_blank" rel="noopener noreferrer">GitHub</a>
1416
<a href="#features">Features</a>
15-
<a href="#about">About</a>
17+
{/* ✅ Use Link instead of <a> for routing */}
18+
<Link to="/about">About</Link>
1619
</div>
1720
</nav>
1821
);
@@ -93,6 +96,7 @@ function App() {
9396
<Routes>
9497
<Route path="/" element={<Home />} />
9598
<Route path="/debug" element={<CodeEditor />} />
99+
<Route path="/about" element={<AboutUs />} /> {/* ✅ Add About page route */}
96100
</Routes>
97101
</Router>
98102
);

frontend/src/components/about.js

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
import React from "react";
2+
import { Card, CardContent } from "@/components/ui/card";
3+
import { Button } from "@/components/ui/button";
4+
import { motion } from "framer-motion";
5+
6+
const AboutUs = () => {
7+
return (
8+
<div className="min-h-screen bg-gradient-to-br from-gray-900 to-gray-800 text-white flex flex-col items-center p-8">
9+
<motion.h1
10+
className="text-4xl font-bold mb-6 text-center"
11+
initial={{ opacity: 0, y: -30 }}
12+
animate={{ opacity: 1, y: 0 }}
13+
transition={{ duration: 0.7 }}
14+
>
15+
About Us
16+
</motion.h1>
17+
18+
<Card className="max-w-3xl bg-gray-700/40 backdrop-blur-md shadow-xl rounded-2xl">
19+
<CardContent className="p-6">
20+
<motion.p
21+
className="text-lg leading-relaxed mb-4"
22+
initial={{ opacity: 0 }}
23+
animate={{ opacity: 1 }}
24+
transition={{ delay: 0.3 }}
25+
>
26+
Welcome to <span className="font-semibold text-blue-400">AI-Based Code Debugger</span>,
27+
your intelligent coding companion. Our mission is to empower developers by providing
28+
real-time debugging assistance, code optimization suggestions, and AI-powered insights
29+
to make programming faster and smarter.
30+
</motion.p>
31+
32+
<motion.p
33+
className="text-lg leading-relaxed mb-4"
34+
initial={{ opacity: 0 }}
35+
animate={{ opacity: 1 }}
36+
transition={{ delay: 0.6 }}
37+
>
38+
We are passionate about bridging the gap between human creativity and artificial
39+
intelligence. With a focus on accuracy, usability, and innovation, we aim to revolutionize
40+
the way developers debug and enhance their code.
41+
</motion.p>
42+
43+
<motion.p
44+
className="text-lg leading-relaxed"
45+
initial={{ opacity: 0 }}
46+
animate={{ opacity: 1 }}
47+
transition={{ delay: 0.9 }}
48+
>
49+
Join us on our journey to build the future of coding with AI. Whether you are a student,
50+
beginner, or experienced professional, our platform is designed to support you at every
51+
stage of development.
52+
</motion.p>
53+
54+
<div className="mt-6 flex justify-center">
55+
<Button className="px-6 py-2 text-lg rounded-2xl bg-blue-500 hover:bg-blue-600 transition">
56+
Learn More
57+
</Button>
58+
</div>
59+
</CardContent>
60+
</Card>
61+
</div>
62+
);
63+
};
64+
65+
export default AboutUs;

0 commit comments

Comments
 (0)