-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
152 lines (144 loc) · 7.7 KB
/
index.html
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<!DOCTYPE html>
<html data-bs-theme="dark">
<head>
<title>Focus Editor</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/x-icon" href="images/favicon.ico">
<link rel="stylesheet" href="lib/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="css/style.css">
<style>
body {
background-color: #18262FFF;
}
a {
color: #33CCCCAA;
text-decoration: none;
}
::selection {
background: #1C4449FF;
}
</style>
</head>
<body>
<header class="d-flex justify-content-center py-2">
<ul class="nav nav-pills">
<li class="nav-item"><a href="" class="nav-link">Home</a></li>
<li class="nav-item"><a href="docs.html" class="nav-link">Documentation</a></li>
</ul>
</header>
<div class="container-lg px-4 py-5">
<div class="row flex-lg align-items-center g-5 py-5">
<div class="col-lg-6">
<h1 class="display-1">Focus Editor<sup style="font-size: 18px; position: relative; top: -40px; color: #79919d;"> beta</sup></h1>
<br />
<p class="lead">A simple editor whose goal is to stand out of your way and let you do work.</p>
<p class="lead">It's designed for people who value simplicity, are sensitive to input latency, and do not require heavy language support in their editor.</p>
<br />
<br />
<div class="d-grid gap-2 d-md-flex justify-content-md-start">
<a href="https://github.com/focus-editor/focus/releases" target="_blank" type="button"
class="btn btn-primary px-4 me-md-2">Download Latest Release</a>
<a href="https://github.com/focus-editor/focus" target="_blank" type="button"
class="btn btn-outline-secondary px-4">View on GitHub</a>
</div>
<br />
<p>Available for Windows, MacOS, and Linux</p>
<p><a href="https://discord.gg/eSXquAzTmW">Official Discord server</a></p>
<hr />
<a href="https://ileonte.dev/focus-builds/">Nightly Builds</a> <span style="color: #79919d;">- built every 4 hours from the main branch</span>
</div>
<div class="col-10 col-sm-8 col-lg-6">
<img src="images/focus.png" class="d-block mx-lg-auto img-fluid shadow-lg" alt="Focus Editor Screenshot"
width="700" height="500" loading="lazy">
</div>
</div>
</div>
<div class="b-divider"></div>
<div id="about" class="container-lg px-4 py-5">
<div class="row flex-lg align-items-center g-5 py-5">
<div class="col-10 col-sm-8 col-lg-6">
<a href="images/focus1.gif">
<img src="images/focus1.gif" class="d-block mx-lg-auto img-fluid shadow-lg"
alt="Focus Editor Screenshot" width="700" height="500" loading="lazy">
</a>
</div>
<div class="col-lg-6">
<h1 class="display-6">Simple and fast</h1>
<br />
<p class="lead">
Focus deliberately doesn't include a lot of features, and its source code should be
simple enough for people to easily add features to it if they want to.
</p>
<p class="lead">We try to minimize input latency and maximize responsiveness. We also include relatively
fast project search, which should work well for reasonably sized projects.
</p>
</div>
</div>
</div>
<div class="b-divider"></div>
<div class="container col-xl-10 col-xxl-8 px-4 py-5">
<div class="row align-items-center g-lg-5 py-5">
<div class="col-lg-7 text-lg-start">
<h1 class="display-6">Easy to configure</h1>
<br>
<p class="lead">
Focus is configured via simple text files.<br>
Settings can be configured globally, or per-project.
</p>
<p class="lead">
A project in this editor is just another config file that lives in the editor's projects directory
and which you can switch to quickly, immediately applying all the settings from that file.
</p>
<p class="lead">Custom build commands can be created for your specific project needs.</p>
</div>
<div class="col-md-10 mx-auto col-lg-5 rounded" style="background-color: #1a2831">
<code>
<pre style="color: #d7d7d7;">
<span style="color: #e67d74;">[[workspace]]</span>
/path/to/dir1
/path/to/dir2
<span style="color: #e67d74;">[[settings]]</span>
maximize_on_start: <span style="color: #d699b5;">false</span>
open_on_the_biggest_monitor: <span style="color: #d699b5;">true</span>
<span style="color: #79919d;">...</span>
<span style="color: #e67d74;">[[build commands]]</span>
build_working_dir: <span style="color: #79919d;">build working dir for all commands</span>
open_panel_on_build: <span style="color: #d699b5;">true</span>
error_regex: [compiler-specific error regex]
auto_jump_to_error: <span style="color: #d699b5;">false</span>
<span style="color: #e0ad70;">[Debug Build And Run]</span> <span style="color: #79919d;"># command name. Can be arbitrary</span>
build_command: jai main.jai
build_working_dir: <span style="color: #79919d;">working dir for this command only</span>
timeout_in_seconds: <span style="color: #d699b5;">5</span>
run_command: test.exe
</pre>
</code>
</div>
</div>
</div>
<div class="b-divider"></div>
<div id="development" class="container-lg px-4 py-5">
<div class="row flex-lg align-items-center g-5 py-5">
<div class="col-10 col-sm-8 col-lg-6">
<img src="images/github.png" class="d-block mx-lg-auto img-fluid shadow-lg"
alt="Focus Editor Screenshot" width="700" height="500" loading="lazy">
</div>
<div class="col-lg-6">
<h1 class="display-6">Development and Community</h1>
<br />
<p class="lead">
Focus is written in the Jai programming language developed by <a href="https://en.wikipedia.org/wiki/Jonathan_Blow">Jonathan Blow</a>.
The editor is open-source and is currently in active development.
</p>
<p class="lead">
We gratefully welcome contributions, however you have to have access to Jai, which is currently in closed beta. Please read the <a href="https://github.com/focus-editor/focus/blob/main/CONTRIBUTING.md">contributing guidelines</a> before starting any significant piece of work.
</p>
</div>
</div>
</div>
<div class="b-divider"></div>
<div class="container-lg px-4 py-5 text-center" style="color: #79919d;">
Website design by <a href="https://github.com/maxamundsen">Max Amundsen</a>
</div>
</body>
</html>