diff --git a/README.md b/README.md index 58663cef..7bdd761f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -# under-working + +# How to run the project RUN Backend project ``` @@ -7,6 +8,11 @@ uvicorn main:app --reload ``` To Run frontend project +**Install depandencies** +```bash +npm install +``` +Run this command to run the project ```bash npm start ``` diff --git a/frontend/src/App.js b/frontend/src/App.js index 8267ce0d..b26dc001 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -1,6 +1,8 @@ import React, { useState, useEffect } from 'react'; -import { BrowserRouter as Router, Routes, Route, useNavigate } from 'react-router-dom'; +import { BrowserRouter as Router, Routes, Route, useNavigate, Link } from 'react-router-dom'; import CodeEditor from './components/CodeEditor'; +import AboutUs from './pages/AboutUs'; // ✅ Import AboutUs page + import './App.css'; const Navbar = () => { @@ -10,9 +12,10 @@ const Navbar = () => { AI Debug
- GitHub + GitHub Features - About + {/* ✅ Use Link instead of for routing */} + About
); @@ -93,6 +96,7 @@ function App() { } /> } /> + } /> {/* ✅ Add About page route */} ); diff --git a/frontend/src/components/about.js b/frontend/src/components/about.js new file mode 100644 index 00000000..808563dc --- /dev/null +++ b/frontend/src/components/about.js @@ -0,0 +1,65 @@ +import React from "react"; +import { Card, CardContent } from "@/components/ui/card"; +import { Button } from "@/components/ui/button"; +import { motion } from "framer-motion"; + +const AboutUs = () => { + return ( +
+ + About Us + + + + + + Welcome to AI-Based Code Debugger, + your intelligent coding companion. Our mission is to empower developers by providing + real-time debugging assistance, code optimization suggestions, and AI-powered insights + to make programming faster and smarter. + + + + We are passionate about bridging the gap between human creativity and artificial + intelligence. With a focus on accuracy, usability, and innovation, we aim to revolutionize + the way developers debug and enhance their code. + + + + Join us on our journey to build the future of coding with AI. Whether you are a student, + beginner, or experienced professional, our platform is designed to support you at every + stage of development. + + +
+ +
+
+
+
+ ); +}; + +export default AboutUs; diff --git a/frontend/src/pages/AboutUs.css b/frontend/src/pages/AboutUs.css new file mode 100644 index 00000000..0a66884c --- /dev/null +++ b/frontend/src/pages/AboutUs.css @@ -0,0 +1,37 @@ +.about-container { + max-width: 800px; + margin: 60px auto; + padding: 20px; + background: #1e1e1e; + color: #fff; + border-radius: 12px; + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); +} + +.about-title { + font-size: 2.5rem; + font-weight: bold; + margin-bottom: 20px; + text-align: center; + color: #4dabf7; +} + +.about-text { + font-size: 1.1rem; + line-height: 1.6; + margin-bottom: 16px; +} + +.highlight { + color: #4dabf7; + font-weight: bold; +} + +.about-footer { + margin-top: 30px; + font-size: 0.95rem; + text-align: center; + border-top: 1px solid #444; + padding-top: 15px; + color: #ccc; +} diff --git a/frontend/src/pages/AboutUs.js b/frontend/src/pages/AboutUs.js new file mode 100644 index 00000000..37e99f9e --- /dev/null +++ b/frontend/src/pages/AboutUs.js @@ -0,0 +1,36 @@ +// src/pages/AboutUs.js +import React from "react"; +import "./AboutUs.css"; // ✅ optional separate CSS if you want custom styles + +const AboutUs = () => { + return ( +
+

About Us

+

+ Welcome to AI Debug, your + AI-powered debugging companion. Our mission is to help developers find + and fix bugs smarter and faster with real-time insights and code + suggestions. +

+ +

+ Whether you’re a beginner learning to code or an experienced developer + working on large projects, our platform provides intelligent + recommendations, performance optimizations, and bug detection powered by + AI. +

+ +

+ We believe in making coding easier, more efficient, and accessible to + everyone. 🚀 +

+ +
+

📩 Contact us: support@aidebug.com

+

🌐 Visit: github.com/bhola-dev58

+
+
+ ); +}; + +export default AboutUs;