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 ( -
- 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.
+ 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 + ++ Join the Snigdha OS community to stay updated, contribute, and collaborate on new features. You can connect with us through our forums and GitHub. +
+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 ( -{description}
+{description}
{description}
+{description}
"{quote}"
-{description}
+{description}