diff --git a/src/pages/About.tsx b/src/pages/About.tsx index 49dd92f..76c36d0 100644 --- a/src/pages/About.tsx +++ b/src/pages/About.tsx @@ -18,14 +18,25 @@ export function About() { useEffect(() => { const fetchTeamMembers = async () => { try { - const response = await fetch( - "https://api.github.com/orgs/Snigdha-OS/members" - ); - if (!response.ok) { - throw new Error("Failed to fetch team members"); - } - const data = await response.json(); - setTeamMembers(data); + // List of GitHub usernames of the team members + const teamUsernames = [ + "eshanized", + "iconized", + "alokified", + "utkrshift", // Replace with actual GitHub usernames + ]; + + // Fetch profile data for each member + const fetchProfiles = teamUsernames.map(async (username) => { + const response = await fetch(`https://api.github.com/users/${username}`); + if (!response.ok) { + throw new Error(`Failed to fetch data for ${username}`); + } + return await response.json(); + }); + + const teamData = await Promise.all(fetchProfiles); + setTeamMembers(teamData); } catch (error) { console.error("Error fetching team members:", error); } finally { @@ -37,121 +48,156 @@ export function About() { }, []); return ( -
+
+ {/* Mission Section */}
-

About Snigdha OS

+

About Snigdha OS

- Snigdha OS is one of the most upcoming desktop Linux distributions and - used by millions of people. It is elegant, easy to use, comfortable, - and powerful. + Snigdha OS is a modern, elegant, and efficient Linux distribution designed to be lightweight and developer-friendly. Built on Arch Linux with the Zen kernel, it offers a powerful and secure platform for both personal use and penetration testing.

{/* Features Section */}
-

Features

-
+

Key Features

+
} + icon={} title="Fast & Lightweight" - description="Snigdha OS is optimized for performance, ensuring fast boot times and smooth user experiences." + description="Snigdha OS is designed to run efficiently on both older hardware and modern systems, ensuring excellent performance with minimal resource usage." /> } + icon={} title="Security First" - description="We prioritize your privacy and security, offering regular security updates and patches." + description="Snigdha OS focuses on providing robust security with regular updates, patches, and user privacy as top priorities." /> } + icon={} title="Developer Friendly" - description="Snigdha OS comes with a wide range of tools and a solid environment for developers." + description="Packed with a rich set of tools for developers, Snigdha OS ensures smooth development and testing, especially in security-related tasks." />
{/* Values Section */}
-
+

Our Core Values

+
} - title="Our Mission" - description="To produce a modern, elegant and comfortable operating system which is both powerful and easy to use." + icon={} + title="Passion for Open Source" + description="Our community-driven approach means that Snigdha OS is constantly evolving, with contributions from developers and users worldwide." /> } - title="Community" - description="We believe in the power of open source and community collaboration to create amazing software." + icon={} + title="Community Empowerment" + description="We believe in empowering the community by encouraging collaboration, innovation, and open dialogue around the development of Snigdha OS." /> } - title="Security" - description="We prioritize user privacy and system security through regular updates and careful system design." + icon={} + title="Security & Privacy" + description="Snigdha OS is built with the philosophy of safeguarding user data and ensuring that privacy remains a top priority." />
- {/* Testimonials Section */} -
-

What Our Users Say

-
- - - -
-
- - {/* History Section */} + {/* Roadmap Section */}
-

Our History

-
-
- - - - +

Roadmap

+
+ + + + +
+
+ + {/* Contribution Guidelines Section */} +
+

How You Can Contribute

+
+

+ Whether you are a developer, designer, or simply passionate about Snigdha OS, there are many ways you can help the project grow. Contribute code, submit bug reports, or help improve the documentation. +

+ + View Contribution Guidelines + +
+
+ + {/* Success Stories Section */} +
+

Success Stories

+
+ + +
+
+ + {/* Community & Resources Section */} +
+

Community & Resources

+
+

+ Join the Snigdha OS community to stay updated, contribute, and collaborate on new features. You can connect with us through our forums and GitHub. +

+
{/* Leadership Team Section */}
-

Leadership Team

+

+ Meet the Leadership Team +

{loading ? (

Loading team members...

) : ( @@ -162,8 +208,8 @@ export function About() { name={member.name || member.login} image={member.avatar_url} profileUrl={member.html_url} - bio={member.bio || "Go go, said the bird. Humankind cannot tolerate too much reality!"} - location={member.location || "INDIA"} + bio={member.bio || "Passionate about Linux and open-source software."} + location={member.location || "India"} company={member.company || "TONMOY INFRASTRUCTURE"} /> ))} @@ -185,10 +231,10 @@ function FeatureCard({ description: string; }) { return ( -
+
{icon}
-

{title}

-

{description}

+

{title}

+

{description}

); } @@ -203,49 +249,35 @@ function ValueCard({ description: string; }) { return ( -
+
{icon}
-

{title}

-

{description}

+

{title}

+

{description}

); } -function Testimonial({ - name, - role, - quote, - avatarUrl, - profileUrl, +function SuccessStory({ + title, + description, + link, }: { - name: string; - role: string; - quote: string; - avatarUrl: string; - profileUrl: string; + title: string; + description: string; + link: string; }) { return ( -
-

"{quote}"

-
- {name} -
-

{name}

-

{role}

- - View Profile - -
-
+
+

{title}

+

{description}

+ + Read More +
); } @@ -261,10 +293,10 @@ function TimelineItem({ }) { return (
-
{year}
+
{year}
-

{title}

-

{description}

+

{title}

+

{description}

); @@ -286,21 +318,21 @@ function TeamMemberCard({ company: string; }) { return ( -
+
{name} -

{name}

-

{bio}

-

{location}

-

{company}

+

{name}

+

{bio}

+

{location}

+

{company}

View Profile