Skip to content

Commit 8f71f9b

Browse files
committed
Info on GS
1 parent e44f13f commit 8f71f9b

File tree

4 files changed

+99
-2
lines changed

4 files changed

+99
-2
lines changed

src/App.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
import { GSAbout } from "@components/GSAbout"
12
import { Hero } from "@components/Hero"
23

34
export function App() {
45
return (<>
56
<Hero />
7+
<GSAbout />
68
</>)
79
}
810

src/components/GSAbout/index.jsx

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
import "./style.css";
2+
3+
export function GSAbout() {
4+
return (<>
5+
<div className="gs-section">
6+
<h1 className="gs-section-title">
7+
What is GraphScript?
8+
</h1>
9+
10+
<div className="gs-section-content">
11+
<p>
12+
GraphScript is a scripting language designed to simplify the development
13+
of applications by focusing on logic rather than syntax. It provides a
14+
powerful and intuitive visual programming environment that allows
15+
developers to create applications with ease.
16+
</p>
17+
18+
<p>
19+
Instead of writing code line by line, users define scripts by visually
20+
linking components like conditions, actions, loops, and I/O elements. Each
21+
node represents a component, and connections between them define the
22+
execution flow.
23+
</p>
24+
</div>
25+
</div>
26+
27+
<div className="gs-section">
28+
<h1 className="gs-section-title">
29+
The Ecosystem
30+
</h1>
31+
32+
<div className="gs-section-content">
33+
<p>
34+
The GraphScript ecosystem includes a variety of tools and libraries that
35+
enhance the development experience. These tools are designed to work
36+
seamlessly with each other, providing a cohesive environment for building
37+
applications.
38+
</p>
39+
40+
<p>
41+
The tools include a visual editor for creating scripts, a console for
42+
testing each project, a launcher for managing projects, and a runtime
43+
environment that includes the GraphScript compiler and capable of
44+
updating the entire ecosystem.
45+
</p>
46+
</div>
47+
</div>
48+
49+
<div className="gs-section">
50+
<h1 className="gs-section-title">
51+
Open Source
52+
</h1>
53+
54+
<div className="gs-section-content">
55+
<p>
56+
GraphScript is an open-source project, which means that anyone can
57+
contribute to its development. The source code is available on GitHub,
58+
and contributions are welcome from developers of all skill levels.
59+
</p>
60+
</div>
61+
</div>
62+
</>);
63+
}

src/components/GSAbout/style.css

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
.gs-section {
2+
display: flex;
3+
flex-direction: column;
4+
gap: 2rem;
5+
padding: 4rem;
6+
}
7+
8+
.gs-section-title {
9+
align-self: center;
10+
width: 40rem;
11+
font-size: 2.5rem;
12+
font-weight: bold;
13+
background: var(--color-primary);
14+
color: white;
15+
padding: 1rem;
16+
border-radius: 1rem;
17+
border: 0.5rem solid var(--color-secondary);
18+
text-align: center;
19+
}
20+
21+
.gs-section-content {
22+
padding: 1rem;
23+
font-size: 1.6rem;
24+
line-height: 1.6;
25+
color: var(--color-text);
26+
text-wrap-style: pretty;
27+
display: flex;
28+
flex-direction: column;
29+
gap: 1rem;
30+
}
31+

src/styles/index.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ html, body, #root {
3737
cursor: default;
3838
background-color: var(--color-background);
3939
color: var(--color-white);
40+
overflow-y: auto;
4041
font-family:
4142
"Lexend",
4243
"JetBrains Mono",
@@ -54,8 +55,8 @@ html, body, #root {
5455
}
5556

5657
::-webkit-scrollbar {
57-
width: 0rem;
58-
height: 0rem;
58+
width: 0.5rem;
59+
height: 0.5rem;
5960
background-color: #ffffff33;
6061
}
6162

0 commit comments

Comments
 (0)