Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@

import { BrowserRouter as Router, Routes, Route} from 'react-router-dom'
import Landing from './pages/Home/Home'

import About from './pages/Home/About'
import Dashboard from './pages/Dashboard'
import './App.css'
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
Expand All @@ -11,6 +14,7 @@ function App() {
<Router>
<Routes>
<Route path="/" element={<Landing />} />
<Route path="/About" element={<About />} />
<Route path="/dashboard" element={<Dashboard />} />
<Route path="/" element={<Home />} />
<Route path="/terms-and-conditions" element={<TermsAndConditions />} />
Expand All @@ -19,4 +23,5 @@ function App() {
);
}

export default App;
export default App

79 changes: 79 additions & 0 deletions src/pages/Home/About.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
import React from "react";

const AboutPage: React.FC = () => {
return (
<div style={styles.container}>
<div style={styles.card}>
<h1 style={styles.heading}>🛒 About This Project</h1>
<p style={styles.paragraph}>
The <strong>E-Commerce Equipment Dashboard</strong> is a powerful and responsive web application designed to streamline how users explore and manage industrial and commercial equipment for sale online. Whether you're a small business, a supplier, or an equipment reseller, this platform brings clarity, efficiency, and convenience to the buying experience.
</p>

<h2 style={styles.subheading}>🎯 Purpose</h2>
<p style={styles.paragraph}>
The primary aim of this project is to enhance the equipment e-commerce experience by providing:
</p>
<ul style={styles.list}>
<li>🔹 A visual catalog of available equipment with detailed specs</li>
<li>🔹 Real-time inventory and price updates</li>
<li>🔹 A smooth, user-friendly interface optimized for all devices</li>
</ul>

<h2 style={styles.subheading}>🛠 Tech Stack</h2>
<ul style={styles.list}>
<li>⚛ React with TypeScript</li>
<li>📦 RESTful APIs (for product and inventory data)</li>
<li>🎨 Inline CSS with responsive and modern styling</li>
</ul>

<h2 style={styles.subheading}>📌 Disclaimer</h2>
<p style={styles.paragraph}>
This application is a demo built for educational and demonstration purposes. All equipment listings and prices are mock data and should not be considered real or up-to-date.
</p>
</div>
</div>
);
};

const styles: { [key: string]: React.CSSProperties } = {
container: {
background: "linear-gradient(to bottom right, #1a1a1a, #333)",
minHeight: "100vh",
color: "#fff",
padding: "40px 20px",
fontFamily: "Arial, sans-serif",
boxSizing: "border-box",
},
card: {
background: "#2e2e2e",
padding: "30px",
maxWidth: "800px",
margin: "auto",
borderRadius: "12px",
boxShadow: "0 0 12px rgba(255, 215, 0, 0.4)",
},
heading: {
color: "#FFD700",
marginBottom: "20px",
fontSize: "32px",
textAlign: "center",
},
subheading: {
color: "#FFCC00",
marginTop: "30px",
marginBottom: "10px",
fontSize: "20px",
},
paragraph: {
fontSize: "16px",
lineHeight: "1.6",
},
list: {
listStyle: "none",
paddingLeft: 0,
fontSize: "16px",
lineHeight: "1.8",
},
};

export default AboutPage;