Skip to content

Commit f02f9ef

Browse files
committed
about
1 parent 8431896 commit f02f9ef

File tree

10 files changed

+48
-163
lines changed

10 files changed

+48
-163
lines changed

frontend/src/pages/About.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import React from "react";
2+
3+
const About = () => {
4+
return (
5+
<div className="page">
6+
<h1>About Us</h1>
7+
<p>We provide a platform that connects compassionate individuals with those who need help the most.We are more than just a platform; we are a community built on compassion and a shared commitment to improving the lives of those affected by cancer.We are dedicated to creating a space where generosity meets the urgent needs of cancer patients, ensuring that they have the financial support required to receive the treatment they deserve. Our team works relentlessly to facilitate a seamless and impactful experience for both patients and donors. With every donation, we take a step closer to a world where no one has to fight cancer alone, and every life has a chance to heal.Your contribution can help a person smile again, laugh again, and dream of a future free from cancer.</p>
8+
</div>
9+
);
10+
};
11+
12+
export default About;

frontend/src/pages/Home.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import React from "react";
2+
3+
function Home() {
4+
return (
5+
<div className="flex flex-col items-center justify-center min-h-screen bg-gradient-to-r from-blue-50 to-purple-50">
6+
<div className="max-w-2xl text-center px-4 bg-white rounded-lg shadow-2xl p-8">
7+
<h1 className="text-5xl font-extrabold text-gray-900 mb-6">
8+
Welcome to CancerAid
9+
</h1>
10+
<p className="text-xl text-gray-700 leading-relaxed mb-8">
11+
Together, we can fight cancer and bring hope to those in need.
12+
</p>
13+
<button className="bg-blue-600 hover:bg-blue-700 text-white font-semibold py-3 px-6 rounded-lg shadow-lg transition duration-300 ease-in-out transform hover:scale-105">
14+
Click Here To Know More About Cancer
15+
</button>
16+
</div>
17+
</div>
18+
);
19+
}
20+
21+
export default Home;

frontend/src/pages/login.js renamed to frontend/src/pages/Login.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import React, { useState } from "react";
22
import { useNavigate } from "react-router-dom";
3-
import "../styles/login.css";
43

54
const Login = () => {
65
const [email, setEmail] = useState("");

frontend/src/pages/Organisations.js

Whitespace-only changes.

frontend/src/pages/Register.js

Whitespace-only changes.

frontend/src/pages/about.js

Lines changed: 0 additions & 12 deletions
This file was deleted.

frontend/src/pages/home.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

frontend/src/pages/organisations.js

Lines changed: 0 additions & 100 deletions
This file was deleted.

frontend/src/pages/register.js

Lines changed: 0 additions & 32 deletions
This file was deleted.

frontend/src/routes/AppRoutes.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import React from "react";
2+
import { Routes, Route } from "react-router-dom";
3+
import Home from "../pages/Home";
4+
import Login from "../pages/Login";
5+
6+
function AppRoutes() {
7+
return (
8+
<Routes>
9+
<Route path="/" element={<Home />} />
10+
<Route path="/login" element={<Login />} />
11+
</Routes>
12+
);
13+
}
14+
15+
export default AppRoutes;

0 commit comments

Comments
 (0)