forked from Heroic-Games-Launcher/heroic-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.tsx
370 lines (359 loc) · 11.1 KB
/
index.tsx
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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
/* eslint-disable @next/next/no-img-element */
import type { NextPage } from 'next'
import Head from 'next/head'
import Link from 'next/link'
import { motion } from 'framer-motion'
import styles from '../styles/Home.module.css'
const img1 = require('../assets/heroic_01.webp')
const img2 = require('../assets/heroic_game.webp')
const img3 = require('../assets/heroic_install.webp')
const img4 = require('../assets/heroic_stores.webp')
const img5 = require('../assets/heroic_wine.webp')
const img6 = require('../assets/heroic_wine_settings.webp')
const img7 = require('../assets/heroic_langs.png?webp')
const img8 = require('../assets/heroic_menu.webp')
const gif = require('../assets/themes.gif')
const initial = { y: '300px', opacity: 0 }
const final = { y: '0px', opacity: 1 }
const hover = { scale: 1.05 }
const transition = { duration: 0.5 }
const Home: NextPage = () => {
return (
<>
<Head>
<title>Heroic Games Launcher</title>
<meta
name="description"
content="An Open Source Epic, GOG and Amazon Prime Games Launcher"
/>
<link rel="icon" href="/favicon.ico" />
</Head>
<motion.header
initial={initial}
animate={final}
transition={transition}
className="hero center"
style={{
marginBottom: '210px',
marginTop: '120px'
}}
>
<div
className="container"
style={{
display: 'flex',
flexDirection: 'column',
alignItems: 'center'
}}
>
<h1>PLAY LIKE A HERO!</h1>
<div
style={{
width: '90%',
maxWidth: '500px',
textAlign: 'left'
}}
>
Heroic is a Free and Open Source <strong>Epic</strong>,{' '}
<strong>GOG</strong> and <strong>Amazon Prime Games</strong>{' '}
launcher for <strong>Linux</strong>, <strong>Windows</strong> and{' '}
<strong>macOS</strong>. Also available on the{' '}
<strong>SteamDeck</strong>!
<p className={styles.buttonContainer}>
<Link href="/downloads" passHref>
<span role="button" className="secondary">
Download
</span>
</Link>
<Link href="/faq" passHref>
<span role="button" className="contrast outline">
FAQ
</span>
</Link>
</p>
</div>
<img
src={img1}
alt="Heroic Games Launcher preview"
title="Heroic Games Launcher preview"
className="heroicPreview"
/>
</div>
</motion.header>
<h1
style={{
textAlign: 'center',
paddingInline: '25px'
}}
>
MAIN FEATURES AND MORE INFO
</h1>
<motion.section
initial={initial}
transition={transition}
whileInView={final}
viewport={{ once: true }}
whileHover={hover}
className="container feature"
>
<div className="hero">
<div className="grid center">
<div>
<a href={img2}>
<img
src={img2}
alt="Game Page"
title="Game Page"
aria-label="Game Page"
loading="lazy"
/>
</a>
</div>
<div className="description">
<h2>Game Page</h2>
<p>
Check game details like description, publisher, download and
install size, time played and more.
</p>
</div>
</div>
</div>
</motion.section>
<motion.section
initial={initial}
transition={transition}
whileInView={final}
viewport={{ once: true }}
whileHover={hover}
className="container feature"
>
<div className="hero">
<div className="grid center">
<div>
<a href={img3}>
<img
src={img3}
alt="Platform Selection"
title="Platform Selection"
aria-label="Platform Selection"
loading="lazy"
/>
</a>
</div>
<div className="description">
<h2>Platform Selection</h2>
<p>
On Linux and on MacOS you can select to install the Windows
version of a native game. This might be handy in case the native
version is not supported anymore. On Linux you can choose that
for GOG games only.
</p>
</div>
</div>
</div>
</motion.section>
<motion.section
transition={transition}
initial={initial}
whileInView={final}
viewport={{ once: true }}
whileHover={hover}
className="container feature"
>
<div className="hero">
<div className="grid center">
<div>
<a href={img4}>
<img
alt="Epic Store inside Heroic"
title="Epic Store inside Heroic"
aria-label="Epic Store inside Heroic"
src={img4}
loading="lazy"
/>
</a>
</div>
<div className="description">
<h2>Access to the Stores</h2>
<p>
Go to the Epic, Amazon Prime or GOG store without even leaving
Heroic. Get free games or buy new ones directly from Heroic's
interface!
</p>
</div>
</div>
</div>
</motion.section>
<motion.section
initial={initial}
transition={transition}
whileInView={final}
viewport={{ once: true }}
whileHover={hover}
className="container feature"
>
<div className="hero">
<div className="grid center">
<div>
<a href={img8}>
<img
alt="Context Menu"
title="Context Menu"
aria-label="Context Menu"
src={img8}
loading="lazy"
/>
</a>
</div>
<div className="description">
<h2>Organize your library</h2>
<p>
Add games to favorites or simply hide the games you already
played or will never play at all!
</p>
</div>
</div>
</div>
</motion.section>
<motion.section
initial={initial}
whileInView={final}
transition={transition}
viewport={{ once: true }}
whileHover={hover}
className="container feature"
>
<div className="hero">
<div className="grid center">
<div>
<a href={gif}>
<img
alt="Themes"
title="Themes"
aria-label="Themes"
src={gif}
loading="lazy"
/>
</a>
</div>
<div className="description">
<h2>Themes</h2>
<p>
If you don't like the default colors, you have the ability to
change them. It also includes the famous Dracula theme.{' '}
</p>
</div>
</div>
</div>
</motion.section>
<motion.section
initial={initial}
transition={transition}
whileInView={final}
viewport={{ once: true }}
whileHover={hover}
className="container feature"
>
<div className="hero">
<div className="grid center">
<div>
<a href={img5}>
<img
alt="Wine Manager"
aria-label="Wine Manager"
src={img5}
loading="lazy"
/>
</a>
</div>
<div className="description">
<h2>Wine Manager</h2>
<p>
On Linux, download the latest version of Wine-GE, Wine-Lutris or
even Proton-GE using the Wine Manager. These selection of Wine
version are focused on improving the gaming experience and
compatibility.
</p>
</div>
</div>
</div>
</motion.section>
<motion.section
initial={initial}
transition={transition}
whileInView={final}
viewport={{ once: true }}
whileHover={hover}
className="container feature"
>
<div className="hero">
<div className="grid center">
<div>
<a href={img6}>
<img
alt="Wine Settings"
title="Wine Settings"
aria-label="Wine Settings"
src={img6}
loading="lazy"
/>
</a>
</div>
<div className="description">
<h2>Wine Settings</h2>
<p>
Besides using the right Wine version, it is important to setup
everything to have the best gameplay experience on Linux and on
macOS. Under the Wine Settings it is possible to auto install
tools like DXVK, VKD3D, FSR and also to run WineCFG, Winetricks
and Run EXE on the prefix, so you can install games
pre-requisites in a easy way.
</p>
</div>
</div>
</div>
</motion.section>
<motion.section
initial={initial}
transition={transition}
whileInView={final}
viewport={{ once: true }}
whileHover={hover}
className="container feature"
>
<div className="hero">
<div className="grid center">
<div>
<a href={img7}>
<img
alt="Heroic is supported in several languages"
title="Heroic is supported in several languages"
aria-label="Heroic is supported in several languages"
src={img7}
loading="lazy"
/>
</a>
</div>
<div className="description">
<h2>Multi Language</h2>
<p>
Heroic was translated by the community in more than 40
languages, from Portuguese to Korean, from Farsi to French. You
can also help with translations by accessing{' '}
<a
href="https://hosted.weblate.org/projects/heroic-games-launcher/"
rel="norefferer"
target="_blank"
>
{' '}
our Weblate Page
</a>
</p>
</div>
</div>
</div>
</motion.section>
</>
)
}
export default Home