Skip to content

Commit dc1145b

Browse files
committed
Lint check
1 parent 4ab373e commit dc1145b

21 files changed

+307
-150
lines changed

src/App.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { RouterProvider } from "react-router-dom";
2-
import router from "./routes";
1+
import { RouterProvider } from 'react-router-dom';
2+
import router from './routes';
33

44
const App = () => {
55
return (
@@ -9,4 +9,4 @@ const App = () => {
99
);
1010
};
1111

12-
export default App;
12+
export default App;

src/main.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import React from "react";
2-
import ReactDOM from "react-dom/client";
3-
import App from "./App";
4-
import "./styles/globals.css"; // Import global styles (including Tailwind)
1+
import React from 'react';
2+
import ReactDOM from 'react-dom/client';
3+
import App from './App';
4+
import './styles/globals.css'; // Import global styles (including Tailwind)
55

6-
ReactDOM.createRoot(document.getElementById("root")!).render(
6+
ReactDOM.createRoot(document.getElementById('root')!).render(
77
<React.StrictMode>
88
<App />
9-
</React.StrictMode>
10-
);
9+
</React.StrictMode>,
10+
);

src/pages/About/AboutUs.tsx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import Header from "../../sections/Header";
2-
import Footer from "../../sections/Footer";
1+
import Header from '../../sections/Header';
2+
import Footer from '../../sections/Footer';
33

44
const AboutUs = () => {
55
return (
@@ -8,12 +8,15 @@ const AboutUs = () => {
88
<main className="container mx-auto p-4">
99
<h1 className="text-4xl font-bold text-center my-8">About Us</h1>
1010
<p className="text-lg text-gray-700">
11-
SugarLabs is a non-profit organization dedicated to providing children with access to free and open-source software for learning. Our goal is to empower children to explore, create, and share knowledge through technology.
11+
SugarLabs is a non-profit organization dedicated to providing children
12+
with access to free and open-source software for learning. Our goal is
13+
to empower children to explore, create, and share knowledge through
14+
technology.
1215
</p>
1316
</main>
1417
<Footer />
1518
</div>
1619
);
1720
};
1821

19-
export default AboutUs;
22+
export default AboutUs;

src/pages/About/ContactUs.tsx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import Header from "../../sections/Header";
2-
import Footer from "../../sections/Footer";
1+
import Header from '../../sections/Header';
2+
import Footer from '../../sections/Footer';
33

44
const ContactUs = () => {
55
return (
@@ -23,7 +23,10 @@ const ContactUs = () => {
2323
<label className="block text-gray-700">Message</label>
2424
<textarea className="w-full p-2 border rounded" rows={4} />
2525
</div>
26-
<button type="submit" className="bg-blue-600 text-white px-4 py-2 rounded hover:bg-blue-700">
26+
<button
27+
type="submit"
28+
className="bg-blue-600 text-white px-4 py-2 rounded hover:bg-blue-700"
29+
>
2730
Send Message
2831
</button>
2932
</form>
@@ -33,4 +36,4 @@ const ContactUs = () => {
3336
);
3437
};
3538

36-
export default ContactUs;
39+
export default ContactUs;

src/pages/About/FAQs.tsx

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import Header from "../../sections/Header";
2-
import Footer from "../../sections/Footer";
1+
import Header from '../../sections/Header';
2+
import Footer from '../../sections/Footer';
33

44
const FAQs = () => {
55
return (
@@ -11,13 +11,16 @@ const FAQs = () => {
1111
<div className="bg-gray-100 p-4 rounded-lg">
1212
<h2 className="text-xl font-semibold">What is SugarLabs?</h2>
1313
<p className="mt-2 text-gray-700">
14-
SugarLabs is a non-profit organization that develops free and open-source educational software for children.
14+
SugarLabs is a non-profit organization that develops free and
15+
open-source educational software for children.
1516
</p>
1617
</div>
1718
<div className="bg-gray-100 p-4 rounded-lg">
1819
<h2 className="text-xl font-semibold">How can I get involved?</h2>
1920
<p className="mt-2 text-gray-700">
20-
You can join our community as a developer, volunteer, or donor. Visit the "Join Development" or "Volunteer" pages for more information.
21+
You can join our community as a developer, volunteer, or donor.
22+
Visit the "Join Development" or "Volunteer" pages for more
23+
information.
2124
</p>
2225
</div>
2326
</div>
@@ -27,4 +30,4 @@ const FAQs = () => {
2730
);
2831
};
2932

30-
export default FAQs;
33+
export default FAQs;

src/pages/About/Leadership.tsx

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
1-
import Header from "../../sections/Header";
2-
import Footer from "../../sections/Footer";
1+
import Header from '../../sections/Header';
2+
import Footer from '../../sections/Footer';
33

44
const Leadership = () => {
55
return (
66
<div>
77
<Header />
88
<main className="container mx-auto p-4">
9-
<h1 className="text-4xl font-bold text-center my-8">Leadership and Governance</h1>
9+
<h1 className="text-4xl font-bold text-center my-8">
10+
Leadership and Governance
11+
</h1>
1012
<p className="text-lg text-gray-700">
11-
SugarLabs is governed by a dedicated team of volunteers and professionals who are passionate about education and technology. Meet our leadership team and learn more about how we operate.
13+
SugarLabs is governed by a dedicated team of volunteers and
14+
professionals who are passionate about education and technology. Meet
15+
our leadership team and learn more about how we operate.
1216
</p>
1317
</main>
1418
<Footer />
1519
</div>
1620
);
1721
};
1822

19-
export default Leadership;
23+
export default Leadership;

src/pages/About/Mission.tsx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import Header from "../../sections/Header";
2-
import Footer from "../../sections/Footer";
1+
import Header from '../../sections/Header';
2+
import Footer from '../../sections/Footer';
33

44
const Mission = () => {
55
return (
@@ -8,12 +8,15 @@ const Mission = () => {
88
<main className="container mx-auto p-4">
99
<h1 className="text-4xl font-bold text-center my-8">Our Mission</h1>
1010
<p className="text-lg text-gray-700">
11-
Our mission is to create educational tools that inspire children to learn, collaborate, and think critically. We believe that every child deserves access to high-quality educational resources, regardless of their background.
11+
Our mission is to create educational tools that inspire children to
12+
learn, collaborate, and think critically. We believe that every child
13+
deserves access to high-quality educational resources, regardless of
14+
their background.
1215
</p>
1316
</main>
1417
<Footer />
1518
</div>
1619
);
1720
};
1821

19-
export default Mission;
22+
export default Mission;

src/pages/Donate.tsx

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import Header from "../sections/Header";
2-
import Footer from "../sections/Footer";
1+
import Header from '../sections/Header';
2+
import Footer from '../sections/Footer';
33

44
const Donate = () => {
55
return (
@@ -8,33 +8,45 @@ const Donate = () => {
88
<main className="container mx-auto p-4">
99
<h1 className="text-4xl font-bold text-center my-8">Donate</h1>
1010
<p className="text-lg text-gray-700 text-center">
11-
Support SugarLabs' mission by making a donation. Every contribution helps us make a difference.
11+
Support SugarLabs' mission by making a donation. Every contribution
12+
helps us make a difference.
1213
</p>
1314
<div className="mt-8 grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
1415
<div className="bg-blue-100 p-6 rounded-lg shadow-md">
1516
<h2 className="text-2xl font-semibold">One-Time Donation</h2>
1617
<p className="mt-2 text-gray-700">
1718
Make a one-time donation to support our mission.
1819
</p>
19-
<a href="#" className="mt-4 inline-block text-blue-600 hover:underline">
20+
<a
21+
href="#"
22+
className="mt-4 inline-block text-blue-600 hover:underline"
23+
>
2024
Donate Now →
2125
</a>
2226
</div>
2327
<div className="bg-green-100 p-6 rounded-lg shadow-md">
2428
<h2 className="text-2xl font-semibold">Recurring Donation</h2>
2529
<p className="mt-2 text-gray-700">
26-
Set up a recurring donation to support our mission on an ongoing basis.
30+
Set up a recurring donation to support our mission on an ongoing
31+
basis.
2732
</p>
28-
<a href="#" className="mt-4 inline-block text-green-600 hover:underline">
33+
<a
34+
href="#"
35+
className="mt-4 inline-block text-green-600 hover:underline"
36+
>
2937
Set Up Recurring Donation →
3038
</a>
3139
</div>
3240
<div className="bg-yellow-100 p-6 rounded-lg shadow-md">
3341
<h2 className="text-2xl font-semibold">Other Ways to Give</h2>
3442
<p className="mt-2 text-gray-700">
35-
Learn about other ways to support SugarLabs, such as volunteering or sponsoring an event.
43+
Learn about other ways to support SugarLabs, such as volunteering
44+
or sponsoring an event.
3645
</p>
37-
<a href="#" className="mt-4 inline-block text-yellow-600 hover:underline">
46+
<a
47+
href="#"
48+
className="mt-4 inline-block text-yellow-600 hover:underline"
49+
>
3850
Learn More →
3951
</a>
4052
</div>
@@ -45,4 +57,4 @@ const Donate = () => {
4557
);
4658
};
4759

48-
export default Donate;
60+
export default Donate;

src/pages/JoinDevelopment.tsx

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,55 @@
1-
import Header from "../sections/Header";
2-
import Footer from "../sections/Footer";
1+
import Header from '../sections/Header';
2+
import Footer from '../sections/Footer';
33

44
const JoinDevelopment = () => {
55
return (
66
<div>
77
<Header />
88
<main className="container mx-auto p-4">
9-
<h1 className="text-4xl font-bold text-center my-8">Join Development</h1>
9+
<h1 className="text-4xl font-bold text-center my-8">
10+
Join Development
11+
</h1>
1012
<p className="text-lg text-gray-700 text-center">
11-
Contribute to SugarLabs' development and help us create innovative solutions for education.
13+
Contribute to SugarLabs' development and help us create innovative
14+
solutions for education.
1215
</p>
1316
<div className="mt-8 grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
1417
<div className="bg-blue-100 p-6 rounded-lg shadow-md">
1518
<h2 className="text-2xl font-semibold">Get Started</h2>
1619
<p className="mt-2 text-gray-700">
17-
Learn how to get started with contributing to SugarLabs' development.
20+
Learn how to get started with contributing to SugarLabs'
21+
development.
1822
</p>
19-
<a href="#" className="mt-4 inline-block text-blue-600 hover:underline">
23+
<a
24+
href="#"
25+
className="mt-4 inline-block text-blue-600 hover:underline"
26+
>
2027
Get Started →
2128
</a>
2229
</div>
2330
<div className="bg-green-100 p-6 rounded-lg shadow-md">
2431
<h2 className="text-2xl font-semibold">Contribution Guidelines</h2>
2532
<p className="mt-2 text-gray-700">
26-
Read our contribution guidelines to learn more about our development process.
33+
Read our contribution guidelines to learn more about our
34+
development process.
2735
</p>
28-
<a href="#" className="mt-4 inline-block text-green-600 hover:underline">
36+
<a
37+
href="#"
38+
className="mt-4 inline-block text-green-600 hover:underline"
39+
>
2940
Read Guidelines →
3041
</a>
3142
</div>
3243
<div className="bg-yellow-100 p-6 rounded-lg shadow-md">
3344
<h2 className="text-2xl font-semibold">Meet the Team</h2>
3445
<p className="mt-2 text-gray-700">
35-
Meet the developers, designers, and contributors who make SugarLabs possible.
46+
Meet the developers, designers, and contributors who make
47+
SugarLabs possible.
3648
</p>
37-
<a href="#" className="mt-4 inline-block text-yellow-600 hover:underline">
49+
<a
50+
href="#"
51+
className="mt-4 inline-block text-yellow-600 hover:underline"
52+
>
3853
Meet the Team →
3954
</a>
4055
</div>
@@ -45,4 +60,4 @@ const JoinDevelopment = () => {
4560
);
4661
};
4762

48-
export default JoinDevelopment;
63+
export default JoinDevelopment;

src/pages/MainPage.tsx

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ const MainPage: React.FC = () => {
1919
<div className="grid md:grid-cols-2 gap-12 items-center">
2020
{/* Left Column */}
2121
<div className="space-y-6">
22-
<div className="text-sm text-gray-600">EMPOWERING YOUNG LEARNERS</div>
22+
<div className="text-sm text-gray-600">
23+
EMPOWERING YOUNG LEARNERS
24+
</div>
2325
<h1 className="text-4xl md:text-5xl font-bold space-y-2">
2426
<span>Our Mission?</span>
2527
<div>
@@ -31,7 +33,8 @@ const MainPage: React.FC = () => {
3133
</div>
3234
</h1>
3335
<p className="text-gray-600">
34-
Join Us to Empower Young Learners all Across the Globe. The simplest way to get involved is to join our newsletter.
36+
Join Us to Empower Young Learners all Across the Globe. The
37+
simplest way to get involved is to join our newsletter.
3538
</p>
3639
<form onSubmit={handleSubscribe} className="flex gap-4">
3740
<input
@@ -56,7 +59,8 @@ const MainPage: React.FC = () => {
5659
<div className="absolute top-6 right-6 bg-white rounded-lg p-4 shadow-lg max-w-xs">
5760
<h3 className="font-semibold mb-2">Project Based Learning</h3>
5861
<p className="text-sm text-gray-600">
59-
Empowering learners and educators with hands-on project-based tools that enable creation and real-world problem-solving.
62+
Empowering learners and educators with hands-on project-based
63+
tools that enable creation and real-world problem-solving.
6064
</p>
6165
</div>
6266
<img
@@ -65,9 +69,12 @@ const MainPage: React.FC = () => {
6569
className="w-full rounded-2xl"
6670
/>
6771
<div className="absolute bottom-6 right-6 bg-blue-100 rounded-lg p-4 shadow-lg max-w-xs">
68-
<h3 className="font-semibold mb-2">Challenge and Fun: It's hard fun.</h3>
72+
<h3 className="font-semibold mb-2">
73+
Challenge and Fun: It's hard fun.
74+
</h3>
6975
<p className="text-sm text-gray-600">
70-
Bringing interactive, meaningful experiences that make education exciting and impactful.
76+
Bringing interactive, meaningful experiences that make
77+
education exciting and impactful.
7178
</p>
7279
</div>
7380
</div>
@@ -79,4 +86,4 @@ const MainPage: React.FC = () => {
7986
);
8087
};
8188

82-
export default MainPage;
89+
export default MainPage;

0 commit comments

Comments
 (0)