Repository navigation
Expand file tree
/
Copy pathindex.ejs
More file actions
79 lines (66 loc) · 2.91 KB
/
Copy pathindex.ejs
File metadata and controls
79 lines (66 loc) · 2.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE html>
<html lang="en">
<!-- Include the head partial and pass the title -->
<%- include('partials/head', { title: title }) %>
<body>
<!-- Include the navbar partial -->
<%- include('partials/navbar') %>
<main class="main">
<div id="title">ScriptBlocks</div>
<div id="subtitle">The next-gen IDE</div>
</main>
<p id="desc">ScriptBlocks is an IDE designed for both beginners and professionals, helping to bridge the gap for beginners to improve their skills.</p>
<div class="code-block">
<div class="code-header">
<span class="code-language">Bash</span>
<span class="code-copy">Copy</span>
</div>
<pre><code class="bash"><span class="bash-prompt">$</span> <span class="bash-command">scriptblocks create</span></code></pre>
</div>
<div class="code-block-split">
<div class="code-block">
<div class="code-header">
<span class="code-language">Bash</span>
<span class="code-copy">Copy</span>
</div>
<pre><code class="bash"># Windows
$ winget install Python.Python.3.11
# MacOS
$ brew install python
# Linux
$ sudo apt install python
# Get Started
$ pip install poetry
$ poetry install</code></pre>
</div>
<div class="code-block">
<div class="code-header">
<span class="code-language">Python</span>
<span class="code-copy">Copy</span>
</div>
<pre><code class="python">import scriptblocks
app = scriptblocks.App()
app.name = "Welcome to ScriptBlocks!"
app.render()</code></pre>
</div>
</div>
<split>
<div class="downloads-section">
<h2>Downloads</h2>
<div class="btn-container">
<a class="btn btn-primary" href="https://github.com/ScriptBlocks/ScriptBlocks/releases/latest"><i class="fa-brands fa-windows"></i> Windows (latest)</a>
<a class="btn btn-primary" href="https://github.com/ScriptBlocks/ScriptBlocks/releases/latest"><i class="fa-brands fa-apple"></i> MacOS (latest)</a>
<a class="btn btn-primary" href="https://github.com/ScriptBlocks/ScriptBlocks/releases/latest"><i class="fa-brands fa-linux"></i> Linux (latest)</a>
</div>
<a href="https://github.com/ScriptBlocks/ScriptBlocks/releases"><i class="fa-solid fa-chevron-left"></i> Older versions</a>
</div>
<div class="documentation-section">
<h2>Documentation</h2>
<p>We highly recommend that you read our documentation for a set of instructions on how to use the IDE, our package, and how to code Python.</p>
<a class="btn btn-primary" href="/docs"><i class="fa-solid fa-book"></i> Read now!</a>
</div>
</split>
<!-- Include the JavaScript for copy functionality -->
<script src="/js/script.js"></script>
</body>
</html>