Browse Source

Update website

customisations
alemart 5 months ago
parent
commit
037258f7af

+ 4
- 4
docs/addons/index.md View File

@@ -23,7 +23,7 @@ Add-Ons provide an enriched experience with additional features that enhance the
23 23
 
24 24
 Enchant your audience using this [easy-to-use & customizable](./ar-video-player.md) Video Player! Videos in AR are suitable for: product marketing, AR business cards, educational materials, interactive art, and more!
25 25
 
26
-<a href="https://encantar.gumroad.com/l/video-player" target="_blank" rel="external" class="md-button" id="addon-want-video-player" data-goatcounter-click>I want this!</a>
26
+<a href="https://ko-fi.com/s/697a184728" target="_blank" rel="external" class="md-button" id="addon-want-video-player" data-goatcounter-click>I want this!</a>
27 27
 
28 28
   </div>
29 29
   <div>
@@ -38,7 +38,7 @@ Enchant your audience using this [easy-to-use &amp; customizable](./ar-video-pla
38 38
 
39 39
 Add interactivity to your scenes with easy-to-use buttons for AR! You can [customize their images and colors](./ar-button.md). They're bundled with the Video Player.
40 40
 
41
-<a href="https://encantar.gumroad.com/l/video-player" target="_blank" rel="external" class="md-button" id="addon-want-buttons" data-goatcounter-click>I want this!</a>
41
+<a href="https://ko-fi.com/s/697a184728" target="_blank" rel="external" class="md-button" id="addon-want-buttons" data-goatcounter-click>I want this!</a>
42 42
 
43 43
   </div>
44 44
   <div markdown>
@@ -55,7 +55,7 @@ Add interactivity to your scenes with easy-to-use buttons for AR! You can [custo
55 55
 
56 56
 Turn 3D and 2D objects into "clickables" that respond to touch or mouse input. AR Clickables are based on the [Pointer Tracker](../api/pointer-tracker.md). They are the building blocks of AR Buttons and are included with them.
57 57
 
58
-<a href="https://encantar.gumroad.com/l/video-player" target="_blank" rel="external" class="md-button" id="addon-want-clickables" data-goatcounter-click>I want this!</a>
58
+<a href="https://ko-fi.com/s/697a184728" target="_blank" rel="external" class="md-button" id="addon-want-clickables" data-goatcounter-click>I want this!</a>
59 59
 
60 60
   </div>
61 61
   <div markdown>
@@ -72,7 +72,7 @@ Turn 3D and 2D objects into "clickables" that respond to touch or mouse input. A
72 72
 
73 73
 Framework-agnostic solution for preloading assets such as: 3D models, video clips, audio files and more. This Add-On is bundled with the core.
74 74
 
75
-<a href="https://encantar.gumroad.com/l/encantar" target="_blank" rel="external" class="md-button" id="addon-want-asset-manager" data-goatcounter-click>I want this!</a>
75
+<a href="https://ko-fi.com/s/3ee4182cb6" target="_blank" rel="external" class="md-button" id="addon-want-asset-manager" data-goatcounter-click>I want this!</a>
76 76
 
77 77
   </div>
78 78
   <div markdown>

+ 2
- 2
docs/demos.md View File

@@ -29,7 +29,7 @@
29 29
 
30 30
     ---
31 31
 
32
-    <a href="https://encantar.gumroad.com/l/encantar" class="md-button md-button--primary" target="_blank" rel="external" id="launch-demo-encantar" data-goatcounter-click>Download</a>
32
+    <a href="https://ko-fi.com/s/3ee4182cb6" class="md-button md-button--primary" target="_blank" rel="external" id="launch-demo-encantar" data-goatcounter-click>Download</a>
33 33
 
34 34
 -   ### Video Player with Buttons
35 35
 
@@ -41,7 +41,7 @@
41 41
 
42 42
     ---
43 43
 
44
-    <a href="https://encantar.gumroad.com/l/video-player" class="md-button md-button--primary" target="_blank" rel="external" id="launch-demo-video-player" data-goatcounter-click>Download</a>
44
+    <a href="https://ko-fi.com/s/697a184728" class="md-button md-button--primary" target="_blank" rel="external" id="launch-demo-video-player" data-goatcounter-click>Download</a>
45 45
 
46 46
 -   ### Magic AR Basketball
47 47
 

+ 3
- 0
docs/home.md View File

@@ -1,3 +1,6 @@
1
+---
2
+template: "home.html"
3
+---
1 4
 # Welcome to encantar.js!
2 5
 
3 6
 The Augmented Reality engine that will enchant you!

BIN
docs/img/splash.webp View File


+ 2
- 2
docs_overrides/download.html View File

@@ -2,11 +2,11 @@
2 2
 <html>
3 3
     <head>
4 4
         <meta charset="utf-8">
5
-        <meta http-equiv="refresh" content="0; url='https://encantar.gumroad.com/l/encantar'">
5
+        <meta http-equiv="refresh" content="0; url='https://ko-fi.com/s/3ee4182cb6'">
6 6
         <title>Download encantar.js</title>
7 7
         <script data-goatcounter="https://encantar-js.goatcounter.com/count" src="//gc.zgo.at/count.js"></script>
8 8
     </head>
9 9
     <body>
10
-        <p><a href="https://encantar.gumroad.com/l/encantar">Redirecting</a>...</p>
10
+        <p><a href="https://ko-fi.com/s/3ee4182cb6">Redirecting</a>...</p>
11 11
     </body>
12 12
 </html>

+ 7
- 0
docs_overrides/home.html View File

@@ -0,0 +1,7 @@
1
+{% extends "main.html" %}
2
+
3
+{% block announce %}
4
+<section id="announcement">
5
+Follow the developer <a href="https://www.youtube.com/alemart88" target="_blank" rel="external">@alemart88</a>
6
+</section>
7
+{% endblock %}

+ 9
- 2
docs_overrides/index.html View File

@@ -38,10 +38,17 @@
38 38
     top: 0;
39 39
     width: 100%;
40 40
     height: 100%;
41
-    background-image: url(img/splash.gif);
41
+    background-image: url(img/splash.webp);
42
+    background-position: 80% 25%;
42 43
     background-repeat: no-repeat;
43 44
     background-size: cover;
44
-    opacity: 0.1;
45
+    opacity: 0.25;
46
+}
47
+
48
+@media screen and (min-width: 1220px) {
49
+    #splash::before {
50
+        background-position: center;
51
+    }
45 52
 }
46 53
 
47 54
 .splash-container {

+ 0
- 6
docs_overrides/main.html View File

@@ -14,12 +14,6 @@
14 14
 <script data-goatcounter="https://encantar-js.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
15 15
 {% endblock %}
16 16
 
17
-{% block announce %}
18
-<section id="announcement">
19
-Follow the developer <a href="https://www.youtube.com/alemart88" target="_blank" rel="external">@alemart88</a>
20
-</section>
21
-{% endblock %}
22
-
23 17
 {% block content %}
24 18
 {{ super() }}
25 19
 {% endblock %}

+ 1
- 1
docs_overrides/support-my-work.html View File

@@ -64,7 +64,7 @@
64 64
 
65 65
 <p>encantar.js is developed independently. Your support is important for the work to continue. Support it by purchasing your copy!</p>
66 66
 
67
-<a href="https://encantar.gumroad.com/l/encantar" rel="external" target="_blank" class="button" id="support-purchase-button" data-goatcounter-click>Support this work</a>
67
+<a href="https://ko-fi.com/s/3ee4182cb6" rel="external" target="_blank" class="button" id="support-purchase-button" data-goatcounter-click>Support this work</a>
68 68
 
69 69
 <h2>Spread the word!</h2>
70 70
 

Loading…
Cancel
Save