Skip to content

Commit b55854f

Browse files
authored
Merge pull request #9 from Bernardo-Ribeiro/site
Feature/Refactor: Implement better performance, security, and fix pathing issues
2 parents f5a9b0a + 4e17203 commit b55854f

File tree

91 files changed

+6627
-305
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+6627
-305
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/

404.html

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,16 @@
99
<meta property="og:title" content="Range Engine - 404"/>
1010
<meta property="og:description" content="Range Engine Is a Light And Powerful Game Engine And 3D Software"/>
1111
<meta property="og:site_name" content="404"/>
12-
<meta property="og:image" content="https://rangeengine.tech//img/RanGEs.png"/>
13-
<link rel="shortcut icon" href="/img/favicon.png" type="x-png"/>
12+
<meta property="og:image" content="https://rangeengine.tech/img/webp/RanGEs.webp"/>
13+
<link rel="shortcut icon" href="img/webp/favicon.webp"/>
1414
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
1515
<link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed&display=swap" rel="stylesheet">
16-
<link rel="stylesheet" href="/css/header_footer.css"/>
17-
<link rel="stylesheet" href="/css/rangecss.css"/>
18-
<script src="https://code.jquery.com/jquery-1.9.1.js"></script>
19-
<script>
20-
$(function(){
21-
$("#header").load("../../header.html");
22-
$("#footer").load("../../footer.html");
23-
});
24-
</script>
16+
<link rel="stylesheet" href="css/style.min.css"/>
17+
<script src="js/main.js"></script>
2518
</head>
2619
<body style="padding:0;margin:0;text-align:center;background-size:cover;background:#171717;">
2720
<div id="header"></div>
28-
<div style="cursor:default;color:white;font-family:Roboto,sans-serif;background-image:url('/img/store/back12store.jpg');background-size:cover;background-repeat:no-repeat;display:block;padding:12% 0px 15% 0px;">
21+
<div style="cursor:default;color:white;font-family:Roboto,sans-serif;background-image:url('img/store/back12store.jpg');background-size:cover;background-repeat:no-repeat;display:block;padding:12% 0px 15% 0px;">
2922
<h1 style="text-decoration-color:#fdfdfd3d;font-size:300px;margin:0;padding:0;">404</h1>
3023
<p style="color:white;text-decoration-color:#fdfdfd62;font-family:Roboto Condensed,sans-serif;font-weight:bold;">We can't find the page you're looking for :(</p>
3124
</div>

css/style.min.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

download.html

Lines changed: 24 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -10,33 +10,24 @@
1010
<meta property="og:title" content="Download - Range Engine"/>
1111
<meta property="og:description" content="Download Range Engine now and use your creativity to make your own history"/>
1212
<meta property="og:site_name" content="Range Engine"/>
13-
<meta property="og:image" content="https://rangeengine.tech//img/ogp_splash.jpg"/>
13+
<meta property="og:image" content="https://rangeengine.tech/img/webp/ogp_splash.webp"/>
1414
<meta name="twitter:card" content="summary_large_image">
1515
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
16-
<link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed&display=swap" rel="stylesheet">
17-
<link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@700&display=swap" rel="stylesheet">
18-
<link href="https://fonts.googleapis.com/css2?family=Titillium+Web&display=swap" rel="stylesheet">
19-
<link rel="stylesheet" href="/css/header_footer.css"/>
20-
<link rel="stylesheet" href="/css/rangecss.css"/>
21-
<link rel="shortcut icon" href="/img/favicon.png" type="x-png"/>
22-
<script src="https://code.jquery.com/jquery-1.9.1.js"></script>
23-
<script>
24-
$(function(){
25-
$("#header").load("../../header.html");
26-
$("#footer").load("../../footer.html");
27-
});
28-
</script>
16+
<link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&family=Titillium+Web&display=swap" rel="stylesheet">
17+
<link rel="stylesheet" href="css/style.min.css"/>
18+
<link rel="shortcut icon" href="img/webp/favicon.webp" />
19+
<script src="js/main.js" defer></script>
2920
</head>
3021
<body>
3122
<div id="loading">
3223
<div></div>
3324
</div>
3425
<div id="header"></div>
3526
<section class="downsec" style="margin-bottom:-15px;">
36-
<video class="backvideo" poster="/img/posterback.jpg" preload="" autoplay="" muted="" playsinline="" loop="">
37-
<source src="/img/Background_RangeWebsite.mp4" type="video/mp4">
27+
<video class="backvideo" poster="img/webp/posterback.webp" autoplay muted playsinline loop preload="none">
28+
<source src="img/Background_RangeWebsite.mp4" type="video/mp4">
3829
</video>
39-
<script src="/js/parallax.js"></script>
30+
<script src="/js/parallax.js" defer></script>
4031
<div class="apresentacao" style="font-family:Roboto Condensed;background-color:transparent;align-items:center;">
4132
<div class="sobreoprojeto">
4233
<h2 class="titsec" style="font-size:240%;letter-spacing:-3px;text-align:center;text-shadow:0px 0px 40px #00000063;">RANGE ENGINE 1.6 REV 2 IS AVAILABLE ON PATREON</h2><!--RANGE ENGINE 2.0 IS UNDER DEVELOPMENT!-->
@@ -49,25 +40,25 @@ <h2 class="titsec" style="font-size:240%;letter-spacing:-3px;text-align:center;t
4940
<div class="spl-link-ico" id="spl-link-button-small">
5041
<i class="material-symbols-outlined">health_and_safety</i>
5142
</div>
52-
<a id="spl-link-button-small" target="_blank" href="https://www.patreon.com/rangeengine">Patreon</a>
43+
<a id="spl-link-button-small" target="_blank" rel="noopener noreferrer" href="https://www.patreon.com/rangeengine">Patreon</a>
5344
</div>
5445
<div class="spl-link-button" id="link-button-blue">
5546
<div class="spl-link-ico" style="background-color:rgb(52, 70, 170);" id="spl-link-button-small">
5647
<i class="material-symbols-outlined">Celebration</i>
5748
</div>
58-
<a style="background-color:rgba(36, 95, 188, 0.21);" id="spl-link-button-small" target="_blank" href="whatsnew">What's New</a>
49+
<a style="background-color:rgba(36, 95, 188, 0.21);" id="spl-link-button-small" href="whatsnew">What's New</a>
5950
</div>
6051
<div class="spl-link-button" id="link-button-grey">
6152
<div class="spl-link-ico" style="background-color:rgb(100, 100, 100);" id="spl-link-button-small">
6253
<i class="material-symbols-outlined">live_help</i>
6354
</div>
64-
<a style="background-color:rgba(145, 145, 145, 0.21);" id="spl-link-button-small" target="_blank" href="faq">FAQ</a>
55+
<a style="background-color:rgba(145, 145, 145, 0.21);" id="spl-link-button-small" href="faq">FAQ</a>
6556
</div>
6657
</div>
6758
</ul>
6859
</div>
6960
</div>
70-
<img class="dprelpatr" style="margin-left:25px;" src="https://github.com/rangeengine/Range-Engine-Wiki/raw/main/releasenotes/1.6rev1/RangeEngine1.6Rev1.png" alt="Range Engine 1.6 Splash"><!--src="/img/RangeEngine20Showcase.png" alt="Range Engine 2.0 Showcase">-->
61+
<img class="dprelpatr" style="margin-left:25px;" src="https://github.com/rangeengine/Range-Engine-Wiki/raw/main/releasenotes/1.6rev1/RangeEngine1.6Rev1.png" alt="Range Engine 1.6 Splash"><!--src="img/RangeEngine20Showcase.png" alt="Range Engine 2.0 Showcase">-->
7162
</div>
7263
</section>
7364
<article class="artcdown">
@@ -87,7 +78,7 @@ <h3 style="display:inline-flex;align-items:center;"><img class="rangver" src="/i
8778
<a id="spl-link-button-small">Windows</a>
8879
<ul class="down-dropdown">
8980
<!--li><a id="spl-link-button-small" target="_blank" href="https://github.com/rangeengine/rangeengine.github.io/releases/download/RangeEngine1.6/RangeEngine1.6_Windows_x64.exe">.exe - x64</a></li-->
90-
<li style="margin:20px 0px;"><a style="padding:10px 12px;" id="spl-link-button-small" target="_blank" href="https://github.com/rangeengine/rangeengine.github.io/releases/download/RangeEngine1.6Rev1/RangeEngine1.6rev1_release_windows_x64.zip">.zip - x64</a></li>
81+
<li style="margin:50px 4px 20px 0px;"><a style="padding:10px 12px;" id="spl-link-button-small" target="_blank" rel="noopener noreferrer" href="https://github.com/rangeengine/rangeengine.github.io/releases/download/RangeEngine1.6Rev1/RangeEngine1.6rev1_release_windows_x64.zip">.zip - x64</a></li>
9182
</ul>
9283
</div>
9384
<div class="spl-link-button" id="down-dpd-bt">
@@ -96,23 +87,23 @@ <h3 style="display:inline-flex;align-items:center;"><img class="rangver" src="/i
9687
</div>
9788
<a id="spl-link-button-small">Linux</a>
9889
<ul class="down-dropdown">
99-
<li style="margin:50px 4px 20px -15.5px;"><a id="spl-link-button-small" target="_blank" href="https://github.com/rangeengine/rangeengine.github.io/releases/download/RangeEngine1.6Rev1/RangeEngine1.6rev1_release_linux_x64.zip">.zip - x64</a></li>
90+
<li style="margin:50px 4px 20px -15.5px;"><a id="spl-link-button-small" target="_blank" rel="noopener noreferrer" href="https://github.com/rangeengine/rangeengine.github.io/releases/download/RangeEngine1.6Rev1/RangeEngine1.6rev1_release_linux_x64.zip">.zip - x64</a></li>
10091
</ul>
10192
</div>
10293
</div>
10394
</ul>
10495
<!---->
10596
<li class="downabout" id="extbts" translate="no">
106-
<p class="smalllink"><a target="_blank" style="color:#ff2727;text-decoration-color:#ff27279a;font-size:12px;padding:25px 0 0 0;" href="https://github.com/rangeengine/Range-Engine-Wiki/wiki/Release-notes-version-1.6">Release Notes</a></p>
107-
<a class="smalllink" target="_blank" href="https://github.com/rangeengine/rangeengine.github.io/releases/download/RangeEngine1.6/RangeEngine1.6_SourceCode.zip">Source Code</a>
97+
<p class="smalllink"><a target="_blank" rel="noopener noreferrer" style="color:#ff2727;text-decoration-color:#ff27279a;font-size:12px;padding:25px 0 0 0;" href="https://github.com/rangeengine/Range-Engine-Wiki/wiki/Release-notes-version-1.6">Release Notes</a></p>
98+
<a class="smalllink" target="_blank" rel="noopener noreferrer" href="https://github.com/rangeengine/rangeengine.github.io/releases/download/RangeEngine1.6/RangeEngine1.6_SourceCode.zip">Source Code</a>
10899
</li>
109100
</div>
110101
<img class="funcschc" src="https://github.com/rangeengine/Range-Engine-Wiki/blob/main/releasenotes/1.6rev1/RangeEngine1.6Rev1.png?raw=true" alt="Range Engine 1.6 Splash">
111102
</div>
112103
</div>
113104
<div>
114105
<div class="titlesbox">
115-
<h3 style="display:inline-flex;align-items:center;"><img class="rangver" style="filter:invert();" src="/img/gpu.png" alt="RanGE Logo"/>Range Engine Requirements</h3>
106+
<h3 style="display:inline-flex;align-items:center;"><img class="rangver" style="filter:invert();" src="img/webp/gpu.webp" alt="RanGE Logo"/>Range Engine Requirements</h3>
116107
</div>
117108
<div class="artigoscontrib" id="artc-cont-req">
118109
<div class="requirements-div">
@@ -140,11 +131,11 @@ <h3 style="display:inline-flex;align-items:center;"><img class="rangver" style="
140131
</div>
141132
<div class="artigoscontrib" style="font-family:Roboto Condensed, sans-serif;margin-top:0;padding-bottom:5px;border-radius:10px;">
142133
<p style="display:inline-flex;align-items:center;">For previous releases visit our GitHub download repository</p>
143-
<div class="spl-link-button" id="link-button-blue">
134+
<div class="spl-link-button" id="link-button-blue">
144135
<div class="spl-link-ico" style="background-color:rgb(52, 70, 170);" id="spl-link-button-small">
145136
<i class="material-symbols-outlined">cloud_upload</i>
146137
</div>
147-
<a style="background-color:rgba(36, 95, 188, 0.21);" id="spl-link-button-small" target="_blank" href="https://github.com/rangeengine/rangeengine.github.io/releases/">GitHub Releases</a>
138+
<a style="background-color:rgba(36, 95, 188, 0.21);" id="spl-link-button-small" target="_blank" rel="noopener noreferrer" href="https://github.com/rangeengine/rangeengine.github.io/releases/">GitHub Releases</a>
148139
</div>
149140
</div>
150141
</div>
@@ -215,7 +206,7 @@ <h4 style="font-size:18px;"><i class="material-symbols-outlined" style="top:2px;
215206
<div class="articledescwn" id="articledescwnd">
216207
<h3>Early Access Releases</h3>
217208
</div>
218-
<img class="funcswn" src="/img/whatsnew/newdebug.jpg" alt="New Debug Mode"/>
209+
<img class="funcswn" src="img/whatsnew/newdebug.jpg" alt="New Debug Mode"/>
219210
<div class="articledescwn">
220211
<p class="whatsxbge">Get early access to Preview and Stable releases, you will be always updated with exclusive screenshots, gifs, videos about the new features development and announcements about the roadmap of Range Engine</p>
221212
</div>
@@ -226,7 +217,7 @@ <h3>Early Access Releases</h3>
226217
<div class="articledescwn" id="articledescwnd">
227218
<h3>Exclusive Patreon Products</h3>
228219
</div>
229-
<img class="funcswn" src="/img/benefits/patreonproducts.png" alt="Patreon Products"/>
220+
<img class="funcswn" src="img/webp/benefits/patreonproducts.webp" alt="Patreon Products"/>
230221
<div class="articledescwn">
231222
<p class="whatsxbge">Subscribing the Range Engine Patreon you also earn some exclusive gifts, that's a way we find to retribute even more the support that really makes the diference on the engine development</p>
232223
</div>
@@ -239,7 +230,7 @@ <h3>Exclusive Patreon Products</h3>
239230
<div class="articledescwn" id="articledescwnd">
240231
<h3>Support on Discord</h3>
241232
</div>
242-
<img class="funcswn" src="/img/benefits/discordsupport.png" alt="Discord Support"/>
233+
<img class="funcswn" src="img/webp/benefits/discordsupport.webp" alt="Discord Support"/>
243234
<div class="articledescwn">
244235
<p class="whatsxbge">Clear all your doubts with the community and Range Engine devs, report bugs, make suggestions, and showcase your projects in our official <a class="linksites" target=”_blank” href="https://discord.gg/PV6bAvUFq3">Discord Server</a></p>
245236
</div>
@@ -250,14 +241,14 @@ <h3>Support on Discord</h3>
250241
<div class="articledescwn" id="articledescwnd">
251242
<h3>The Engine Is Under Constant Updates</h3>
252243
</div>
253-
<img class="funcswn" src="/img/benefits/constantupdates.png" alt="Constant Updates"/>
244+
<img class="funcswn" src="img/webp/benefits/constantupdates.webp" alt="Constant Updates"/>
254245
<div class="articledescwn">
255246
<p class="whatsxbge">The devs are working hard to improve the engine and make it more advanced, trying new features everyday to bring more quality to the engine</p>
256247
</div>
257248
</div>
258249
</div>
259250
</article>
260-
<div class="learnmorearticle" style="background-image:url('img/backdivs.png');background-repeat: no-repeat;background-size: cover;text-shadow: 0px 0px 10px black;">
251+
<div class="learnmorearticle" style="background-image:url('img/webp/backdivs.webp');background-repeat: no-repeat;background-size: cover;text-shadow: 0px 0px 10px black;">
261252
<div class="lmrarticle">
262253
<p><strong>Did you like Range Engine?</strong></p>
263254
<p class="whatsxbge">Become a patron! You earn early access to releases, gifts and help the project keep on</p>

downloadpage.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
<meta property="og:title" content="Download - Range Engine"/>
1111
<meta property="og:description" content="Download Range Engine now and use your creativity to make your own history"/>
1212
<meta property="og:site_name" content="Range Engine"/>
13-
<meta property="og:image" content="https://rangeengine.tech//img/ogp_splash.jpg"/>
13+
<meta property="og:image" content="https://rangeengine.tech/img/webp/ogp_splash.webp"/>
1414
<meta name="twitter:card" content="summary_large_image">
15-
<link rel="stylesheet" href="/css/rangecss.css"/>
16-
<link rel="shortcut icon" href="/img/favicon.png" type="x-png"/>
15+
<link rel="stylesheet" href="css/rangecss.css"/>
16+
<link rel="shortcut icon" href="img/webp/favicon.webp" />
1717
<meta http-equiv="Refresh" content="0; url='https://rangeengine.tech/download'"/>
1818
</head>
1919
</html>

faq.html

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,33 +10,24 @@
1010
<meta property="og:title" content="FAQ [Frequently Asked Questions] - Range Engine"/>
1111
<meta property="og:description" content="Clear you doubts about Range Engine licensing, development and goals"/>
1212
<meta property="og:site_name" content="Range Engine"/>
13-
<meta property="og:image" content="https://rangeengine.tech//img/ogp_splash.jpg"/>
13+
<meta property="og:image" content="https://rangeengine.tech/img/webp/ogp_splash.webp"/>
1414
<meta name="twitter:card" content="summary_large_image">
1515
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
16-
<link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed&display=swap" rel="stylesheet">
17-
<link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@700&display=swap" rel="stylesheet">
18-
<link rel="stylesheet" href="/css/header_footer.css"/>
19-
<link rel="stylesheet" href="/css/rangecss.css"/>
20-
<link rel="shortcut icon" href="/img/favicon.png" type="x-png"/>
21-
<script src="https://code.jquery.com/jquery-1.9.1.js"></script>
22-
<script>
23-
$(function(){
24-
$("#header").load("../../header.html");
25-
$("#faq").load("../../faqdiv.html");
26-
$("#footer").load("../../footer.html");
27-
});
28-
</script>
16+
<link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap" rel="stylesheet">
17+
<link rel="stylesheet" href="css/style.min.css"/>
18+
<link rel="shortcut icon" href="img/webp/favicon.webp"/>
19+
<script src="js/main.js" defer></script>
2920
</head>
3021
<body>
3122
<div id="loading">
3223
<div></div>
3324
</div>
3425
<div id="header"></div>
3526
<section class="indexsec" style="padding-top:150px;padding-bottom:100px;">
36-
<video class="backvideo" poster="/img/posterback.jpg" preload="" autoplay="" muted="" playsinline="" loop="">
37-
<source src="/img/Background_RangeWebsite.mp4" type="video/mp4">
27+
<video class="backvideo" poster="img/webp/posterback.webp" preload="metadata" autoplay muted playsinline loop>
28+
<source src="img/Background_RangeWebsite.mp4" type="video/mp4">
3829
</video>
39-
<script src="/js/parallax.js"></script>
30+
<script src="js/parallax.js" defer></script>
4031
<div class="splashhome">
4132
<div class="sobreoprojeto">
4233
<p class="splashtitsec" style="font-size:25px;letter-spacing:-1px;">Frequently Asked Questions</p>

0 commit comments

Comments
 (0)