{name}
++ + {github.replace("https://github.com/", "@")} + +
+diff --git a/frontend/src/App.css b/frontend/src/App.css
index 15ad6c1..9c92749 100644
--- a/frontend/src/App.css
+++ b/frontend/src/App.css
@@ -9,7 +9,8 @@
display: flex;
flex-direction: column;
align-items: center;
-
+ background: linear-gradient(to bottom right, #f5f5dc, #e6e0c3);
+ height: 130vh;
margin: 0;
text-align: center;
}
diff --git a/frontend/src/components/AboutUs.css b/frontend/src/components/AboutUs.css
new file mode 100644
index 0000000..d4fa94d
--- /dev/null
+++ b/frontend/src/components/AboutUs.css
@@ -0,0 +1,95 @@
+/* AboutUs.css - Styling to match plant cards */
+.about-us-container {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
+ gap: 2rem;
+ padding: 2rem;
+ max-width: 1200px;
+ margin: 0 auto;
+}
+
+/* Style the team cards to match plant cards */
+.team-card {
+ position: relative;
+ border-radius: 10px;
+ box-shadow: 0 4px 8px var(--shadow-color, rgba(0, 0, 0, 0.2));
+ background-color: var(--card-bg, #faf3d3);
+ padding: 1rem;
+ display: grid;
+ grid-template-rows: auto auto 1fr auto auto auto auto auto;
+ transition: transform 0.3s ease;
+ border: 2px solid var(--border-color, #67733e);
+ overflow: hidden;
+}
+
+.team-card:hover {
+ transform: translateY(-5px);
+ box-shadow: 0 6px 12px var(--shadow-color, rgba(0, 0, 0, 0.3));
+}
+
+/* Common name styling */
+.team-card p[data-testid="common-name"] {
+ font-family: "WonderLight", sans-serif;
+ font-size: 1.2rem;
+ font-weight: bold;
+ text-align: center;
+ margin: 0.5rem 0;
+ color: var(--text-color, #333);
+}
+
+/* Scientific name/GitHub styling */
+.team-card p[data-testid="scientific-name"] {
+ font-style: italic;
+ font-size: 0.9rem;
+ text-align: center;
+ margin-top: 0;
+ margin-bottom: 0.75rem;
+ color: var(--text-color, #555);
+}
+
+.team-card p[data-testid="scientific-name"] a {
+ color: inherit;
+ text-decoration: none;
+}
+
+.team-card p[data-testid="scientific-name"] a:hover {
+ color: var(--accent-color, #67733e);
+ text-decoration: underline;
+}
+
+/* Image styling */
+.team-card img {
+ width: 100%;
+ height: 180px;
+ object-fit: cover;
+ border-radius: 6px;
+ margin-bottom: 1rem;
+ border: 1px solid var(--border-color, #67733e);
+}
+
+/* Responsive adjustments */
+@media (max-width: 768px) {
+ .about-us-container {
+ grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
+ gap: 1.5rem;
+ }
+
+ .team-card img {
+ height: 150px;
+ }
+}
+
+@media (max-width: 480px) {
+ .about-us-container {
+ grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
+ gap: 1rem;
+ }
+
+ .team-card {
+ padding: 0.75rem;
+ }
+
+ .team-card img {
+ height: 120px;
+ }
+}
diff --git a/frontend/src/components/AboutUs.jsx b/frontend/src/components/AboutUs.jsx
new file mode 100644
index 0000000..e02f451
--- /dev/null
+++ b/frontend/src/components/AboutUs.jsx
@@ -0,0 +1,26 @@
+// AboutUs.jsx
+import "./AboutUs.css";
+
+const AboutUs = ({ name, github, picture }) => {
+ return (
+ {name}
+
+ {github.replace("https://github.com/", "@")}
+
+ {
+ e.target.src = "/path/to/fallback-image.png";
+ e.target.onerror = null;
+ }}
+ />
+