forked from electron/electronjs.org-old
-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.html
185 lines (161 loc) · 6.85 KB
/
home.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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<div class="jumbotron jumbotron-home text-center">
<div class="container">
{{> hero}}
<p class='jumbotron-lead'>
{{{localized.tagline}}}
</p>
</div>
</div>
<div class="container">
<h1 class="text-center"><a href="/releases">{{localized.releases}}</a></h1>
<div class="col-xs-12 col-md-6">
<figure id="electron-version-latest" class="highlight highlight-dark text-left my-3 px-2">
<pre class="overflow-hidden"><code>$ npm i -D electron@latest
<span class="c1"># Electron {{{stableRelease.version}}}
# Node {{stableRelease.deps.node}}
# Chromium {{stableRelease.deps.chrome}}</span></code></pre></figure>
</div>
<div class="col-xs-12 col-md-6">
<figure id="electron-version-beta" class="highlight highlight-dark text-left my-3 px-3">
<pre class="overflow-hidden"><code>$ npm i -D electron@beta
<span class="c1"># Electron {{{betaRelease.version}}}
# Node {{betaRelease.deps.node}}
# Chromium {{betaRelease.deps.chrome}}</span></code></pre></figure>
</div>
</div>
<section class="page-section page-section-spacious" id='electron'>
<div class="container-narrow">
<h1 class="text-center-sm">{{{localized.electron_is_easy.title}}}</h1>
<p class="lead text-center-sm">{{{localized.electron_is_easy.description}}}</p>
<p class="text-center-sm mt-4">
<a class="btn btn-lg btn-outline-themed" href="https://youtu.be/8YP_nOCO-4Q">
<span class="octicon octicon-eye mr-1"></span>
<span>{{{localized.electron_is_easy.video_link}}}</span>
</a>
</p>
<hr>
<div class="row text-center text-small mt-6">
<div class="col-xs-12 col-sm-4">
<img class="home-illu" role="presentation" src="/images/web-tech.svg" aria-hidden="true">
<h3 class="mb-2 mt-0">{{{localized.web_technologies.title}}}</h3>
<p>{{{localized.web_technologies.description}}}</p>
</div>
<div class="col-xs-12 col-sm-4">
<img class="home-illu" role="presentation" src="/images/open-source.svg" aria-hidden="true">
<h3 class="mb-2 mt-0">{{{localized.open_source.title}}}</h3>
<p>{{{localized.open_source.description}}}</p>
</div>
<div class="col-xs-12 col-sm-4">
<img class="home-illu" role="presentation" src="/images/cross-platform.svg" aria-hidden="true">
<h3 class="mb-2 mt-0">{{{localized.cross_platform.title}}}</h3>
<p>{{{localized.cross_platform.description}}}</p>
</div>
</div>
<div class="row text-center mt-6 mb-4">
<h2>{{{localized.benefits.hard_parts_made_easy}}}</h2>
</div>
<div class="row text-center text-small mt-3">
<div class='col-xs-12 col-sm-4 col-md-2 offset-md-1 mb-xs-4 mb-md-0 hero-feature'>
<a class="hero-link" href="/docs/api/auto-updater/">
<span class="octicon hero-octicon octicon-squirrel" aria-hidden="true"></span>
{{{localized.benefits.automatic_updates}}}
</a>
</div>
<div class='col-xs-12 col-sm-4 col-md-2 mb-xs-4 mb-md-0 hero-feature'>
<a class="hero-link" href="/docs/api/menu">
<span class="octicon hero-octicon octicon-device-desktop" aria-hidden="true"></span>
{{{localized.benefits.native_menus_and_notifications}}}
</a>
</div>
<div class='col-xs-12 col-sm-4 col-md-2 mb-xs-4 mb-md-0 hero-feature'>
<a class="hero-link" href="/docs/api/crash-reporter">
<span class="octicon hero-octicon octicon-bug" style="padding-left:2px" aria-hidden="true"></span>
{{{localized.benefits.crash_reporting}}}
</a>
</div>
<div class='col-xs-12 col-sm-4 offset-sm-2 col-md-2 offset-md-0 mb-xs-4 mb-md-0 hero-feature'>
<a class="hero-link" href="/docs/api/content-tracing">
<span class="octicon hero-octicon octicon-tools" aria-hidden="true"></span>
{{{localized.benefits.debugging_and_profiling}}}
</a>
</div>
<div class='col-xs-12 col-sm-4 col-md-2 mb-xs-4 mb-md-0 hero-feature'>
<a class="hero-link" href="/docs/api/auto-updater/#windows">
<span class="octicon hero-octicon octicon-gift" style="padding-right:2px" aria-hidden="true"></span>
{{{localized.benefits.windows_installers}}}
</a>
</div>
</div>
</div>
</section>
<section class='page-section page-section-spacious bg-shade' id='get-started'>
<div class='container-narrow text-center'>
<h1>{{{localized.get_started.title}}}</h1>
<p class="lead">
{{{localized.get_started.description}}}
</p>
<div class='row mt-8'>
<div class='col-xs-12 col-md-5'>
<a href="https://github.com/electron/electron-api-demos/releases">
<div class="app-frame py-4 px-6">
<img alt="Screenshot of Electron API Demos app" src='/images/electron-api-demos.png'>
</div>
</a>
</div>
<div class='col-xs-12 col-md-7 text-left'>
<h3 class="mt-1 mb-3">{{{localized.explore.title}}}</h3>
<p>{{{localized.explore.description}}}</p>
<p>
<a id="download-latest-release" class="btn btn-lg btn-outline-themed" href="https://github.com/electron/electron-api-demos/releases">
<span class="octicon octicon-desktop-download mr-1"></span>
<span>{{{localized.download_from_github}}}</span>
</a>
</p>
<p id="download-alternatives" class="text-sm" style="display:none;">
{{{localized.view_all_releases_on_github}}}
</p>
</div>
</div>
<hr>
<h3 class="mb-3">
{{{localized.quick_start.title}}}
</h3>
<p>{{{localized.quick_start.description}}}</p>
<figure class="highlight highlight-dark text-left my-4">
<pre><code><span class="c1"># {{{localized.quick_start.clone}}}</span>
$ git clone https://github.com/electron/electron-quick-start
<span class="c1"># {{{localized.quick_start.go_into_repo}}}</span>
$ cd electron-quick-start
<span class="c1"># {{{localized.quick_start.install_deps}}}</span>
$ npm install && npm start</code></pre>
</figure>
<h3>
{{{localized.quick_start.dive_deeper}}}
</h3>
<h3 class="pt-4">{{{localized.need_help.title}}}</h3>
<p>{{{localized.need_help.description}}}</p>
</div>
</section>
<section class='page-section page-section-spacious' id='apps'>
<div class="container-narrow text-center">
<h1> {{{localized.apps.title}}}</h1>
<p class="lead">
{{{localized.apps.description}}}
</p>
<hr>
<div>
<div class="mb-4">
{{#each apps}}
{{#if this.featured}}
{{> featured_app}}
{{/if}}
{{/each}}
</div>
<p class="mt-6">
<a href='/apps'>{{{localized.apps.view_more}}}</a>
{{{localized.or}}}
<a href="https://github.com/electron/electron-apps/blob/master/contributing.md#adding-your-app">{{{localized.apps.submit_your_own}}}</a>.
</p>
</div>
</div>
</section>