Skip to content

Commit 54f1dec

Browse files
committed
Ecosystem
1 parent a4b30d8 commit 54f1dec

File tree

3 files changed

+37
-5
lines changed

3 files changed

+37
-5
lines changed

src/App.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
import { Navbar } from "@components/Navbar"
22
import { Hero } from "@components/Hero"
33
import { Future } from "@components/Future"
4+
import { Ecosystem } from "@components/Ecosystem"
45
import { GSAbout } from "@components/GSAbout"
56

67
export function App() {
78
return (<>
89
<Navbar />
910
<Hero />
1011
<Future />
12+
<Ecosystem />
1113
<GSAbout />
1214
</>)
1315
}

src/components/Ecosystem/index.jsx

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
import { Trees } from "lucide-react";
2+
import { Section } from "@components/Section";
3+
4+
export function Ecosystem() {
5+
const contents = [
6+
[
7+
"The GraphScript ecosystem includes a variety of tools and libraries that",
8+
"enhance the development experience. These tools are designed to work",
9+
"seamlessly with each other, providing a cohesive environment for building",
10+
"applications.",
11+
].join(" "),
12+
[
13+
"The tools include a visual editor for creating scripts, a console for",
14+
"testing each project, a launcher for managing projects, and a runtime",
15+
"environment that includes the GraphScript compiler and capable of",
16+
"updating the entire ecosystem.",
17+
].join(" "),
18+
];
19+
20+
return (<>
21+
<Section
22+
icon={<Trees />}
23+
name="The Ecosystem"
24+
>
25+
{contents.map(text => <p key={text}>{text}</p>)}
26+
</Section>
27+
</>);
28+
}
29+

src/components/Section/style.css

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
display: flex;
33
padding: 2rem;
44
align-items: start;
5+
margin-bottom: 15rem;
6+
}
7+
8+
.section:nth-child(even) {
9+
flex-direction: row-reverse;
510
}
611

712
.section-icon {
@@ -57,7 +62,7 @@
5762

5863
@media (max-width: 1000px) {
5964
.section {
60-
flex-direction: column;
65+
flex-direction: column !important;
6166
align-items: center;
6267
}
6368

@@ -70,9 +75,5 @@
7075
padding: 2rem;
7176
width: 100%;
7277
}
73-
74-
.section-description {
75-
text-wrap-style: balance;
76-
}
7778
}
7879

0 commit comments

Comments
 (0)