Przeglądaj źródła

New website

customisations
alemart 2 miesięcy temu
rodzic
commit
21cbef1bdf

+ 2
- 2
demos/basketball/NOTICE.html Wyświetl plik

@@ -17,13 +17,13 @@
17 17
         <p>This game contains free and open-source software and this page sets forth the corresponding attribution notices.</p>
18 18
         <ol>
19 19
             <li>
20
-                encantar.js: GPU-accelerated Augmented Reality for the web<br>
20
+                encantar.js: GPU-accelerated Augmented Reality framework for the web<br>
21 21
                 Copyright &copy; 2022-present Alexandre Martins<br>
22 22
                 License: <a href="#lgpl">GNU Lesser General Public License, version 3</a><br>
23 23
                 <a href="https://encantar.dev" target="_blank" rel="external">https://encantar.dev</a>
24 24
             </li>
25 25
             <li>
26
-                Speedy Vision: GPU-accelerated Computer Vision for JavaScript<br>
26
+                Speedy Vision: GPU-accelerated Computer Vision library for JavaScript<br>
27 27
                 Copyright &copy; 2020-present Alexandre Martins<br>
28 28
                 License: <a href="#apache">Apache License 2.0</a><br>
29 29
                 <a href="https://github.com/alemart/speedy-vision" target="_blank" rel="external">https://github.com/alemart/speedy-vision</a>

+ 2
- 2
demos/hello-aframe/NOTICE.html Wyświetl plik

@@ -17,13 +17,13 @@
17 17
         <p>This application contains free and open-source software and this page sets forth the corresponding attribution notices.</p>
18 18
         <ol>
19 19
             <li>
20
-                encantar.js: GPU-accelerated Augmented Reality for the web<br>
20
+                encantar.js: GPU-accelerated Augmented Reality framework for the web<br>
21 21
                 Copyright &copy; 2022-present Alexandre Martins<br>
22 22
                 License: <a href="#lgpl">GNU Lesser General Public License, version 3</a><br>
23 23
                 <a href="https://encantar.dev" target="_blank" rel="external">https://encantar.dev</a>
24 24
             </li>
25 25
             <li>
26
-                Speedy Vision: GPU-accelerated Computer Vision for JavaScript<br>
26
+                Speedy Vision: GPU-accelerated Computer Vision library for JavaScript<br>
27 27
                 Copyright &copy; 2020-present Alexandre Martins<br>
28 28
                 License: <a href="#apache">Apache License 2.0</a><br>
29 29
                 <a href="https://github.com/alemart/speedy-vision" target="_blank" rel="external">https://github.com/alemart/speedy-vision</a>

+ 2
- 2
demos/hello-babylon/NOTICE.html Wyświetl plik

@@ -17,13 +17,13 @@
17 17
         <p>This application contains free and open-source software and this page sets forth the corresponding attribution notices.</p>
18 18
         <ol>
19 19
             <li>
20
-                encantar.js: GPU-accelerated Augmented Reality for the web<br>
20
+                encantar.js: GPU-accelerated Augmented Reality framework for the web<br>
21 21
                 Copyright &copy; 2022-present Alexandre Martins<br>
22 22
                 License: <a href="#lgpl">GNU Lesser General Public License, version 3</a><br>
23 23
                 <a href="https://encantar.dev" target="_blank" rel="external">https://encantar.dev</a>
24 24
             </li>
25 25
             <li>
26
-                Speedy Vision: GPU-accelerated Computer Vision for JavaScript<br>
26
+                Speedy Vision: GPU-accelerated Computer Vision library for JavaScript<br>
27 27
                 Copyright &copy; 2020-present Alexandre Martins<br>
28 28
                 License: <a href="#apache">Apache License 2.0</a><br>
29 29
                 <a href="https://github.com/alemart/speedy-vision" target="_blank" rel="external">https://github.com/alemart/speedy-vision</a>

+ 2
- 2
demos/hello-three/NOTICE.html Wyświetl plik

@@ -17,13 +17,13 @@
17 17
         <p>This application contains free and open-source software and this page sets forth the corresponding attribution notices.</p>
18 18
         <ol>
19 19
             <li>
20
-                encantar.js: GPU-accelerated Augmented Reality for the web<br>
20
+                encantar.js: GPU-accelerated Augmented Reality framework for the web<br>
21 21
                 Copyright &copy; 2022-present Alexandre Martins<br>
22 22
                 License: <a href="#lgpl">GNU Lesser General Public License, version 3</a><br>
23 23
                 <a href="https://encantar.dev" target="_blank" rel="external">https://encantar.dev</a>
24 24
             </li>
25 25
             <li>
26
-                Speedy Vision: GPU-accelerated Computer Vision for JavaScript<br>
26
+                Speedy Vision: GPU-accelerated Computer Vision library for JavaScript<br>
27 27
                 Copyright &copy; 2020-present Alexandre Martins<br>
28 28
                 License: <a href="#apache">Apache License 2.0</a><br>
29 29
                 <a href="https://github.com/alemart/speedy-vision" target="_blank" rel="external">https://github.com/alemart/speedy-vision</a>

+ 2
- 2
demos/hello-webgl/NOTICE.html Wyświetl plik

@@ -17,13 +17,13 @@
17 17
         <p>This application contains free and open-source software and this page sets forth the corresponding attribution notices.</p>
18 18
         <ol>
19 19
             <li>
20
-                encantar.js: GPU-accelerated Augmented Reality for the web<br>
20
+                encantar.js: GPU-accelerated Augmented Reality framework for the web<br>
21 21
                 Copyright &copy; 2022-present Alexandre Martins<br>
22 22
                 License: <a href="#lgpl">GNU Lesser General Public License, version 3</a><br>
23 23
                 <a href="https://encantar.dev" target="_blank" rel="external">https://encantar.dev</a>
24 24
             </li>
25 25
             <li>
26
-                Speedy Vision: GPU-accelerated Computer Vision for JavaScript<br>
26
+                Speedy Vision: GPU-accelerated Computer Vision library for JavaScript<br>
27 27
                 Copyright &copy; 2020-present Alexandre Martins<br>
28 28
                 License: <a href="#apache">Apache License 2.0</a><br>
29 29
                 <a href="https://github.com/alemart/speedy-vision" target="_blank" rel="external">https://github.com/alemart/speedy-vision</a>

+ 2
- 2
demos/hello-world/NOTICE.html Wyświetl plik

@@ -17,13 +17,13 @@
17 17
         <p>This application contains free and open-source software and this page sets forth the corresponding attribution notices.</p>
18 18
         <ol>
19 19
             <li>
20
-                encantar.js: GPU-accelerated Augmented Reality for the web<br>
20
+                encantar.js: GPU-accelerated Augmented Reality framework for the web<br>
21 21
                 Copyright &copy; 2022-present Alexandre Martins<br>
22 22
                 License: <a href="#lgpl">GNU Lesser General Public License, version 3</a><br>
23 23
                 <a href="https://encantar.dev" target="_blank" rel="external">https://encantar.dev</a>
24 24
             </li>
25 25
             <li>
26
-                Speedy Vision: GPU-accelerated Computer Vision for JavaScript<br>
26
+                Speedy Vision: GPU-accelerated Computer Vision library for JavaScript<br>
27 27
                 Copyright &copy; 2020-present Alexandre Martins<br>
28 28
                 License: <a href="#apache">Apache License 2.0</a><br>
29 29
                 <a href="https://github.com/alemart/speedy-vision" target="_blank" rel="external">https://github.com/alemart/speedy-vision</a>

+ 2
- 2
demos/pointer-demo/NOTICE.html Wyświetl plik

@@ -17,13 +17,13 @@
17 17
         <p>This application contains free and open-source software and this page sets forth the corresponding attribution notices.</p>
18 18
         <ol>
19 19
             <li>
20
-                encantar.js: GPU-accelerated Augmented Reality for the web<br>
20
+                encantar.js: GPU-accelerated Augmented Reality framework for the web<br>
21 21
                 Copyright &copy; 2022-present Alexandre Martins<br>
22 22
                 License: <a href="#lgpl">GNU Lesser General Public License, version 3</a><br>
23 23
                 <a href="https://encantar.dev" target="_blank" rel="external">https://encantar.dev</a>
24 24
             </li>
25 25
             <li>
26
-                Speedy Vision: GPU-accelerated Computer Vision for JavaScript<br>
26
+                Speedy Vision: GPU-accelerated Computer Vision library for JavaScript<br>
27 27
                 Copyright &copy; 2020-present Alexandre Martins<br>
28 28
                 License: <a href="#apache">Apache License 2.0</a><br>
29 29
                 <a href="https://github.com/alemart/speedy-vision" target="_blank" rel="external">https://github.com/alemart/speedy-vision</a>

+ 1
- 1
docs/addons/index.md Wyświetl plik

@@ -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://ko-fi.com/s/3ee4182cb6" target="_blank" rel="external" class="md-button" id="addon-want-asset-manager" data-goatcounter-click>I want this!</a>
75
+<a href="https://encantar.dev" 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>

+ 4
- 0
docs/api/ar.md Wyświetl plik

@@ -2,6 +2,10 @@
2 2
 
3 3
 The `AR` namespace is the entry point of the features and components of encantar.js.
4 4
 
5
+!!! tip
6
+
7
+    If you're looking for a step-by-step introduction to encantar.js, take a look at the [tutorial](../tutorial/index.md).
8
+
5 9
 ## Properties
6 10
 
7 11
 ### Settings

+ 4
- 16
docs/contact.md Wyświetl plik

@@ -1,32 +1,20 @@
1 1
 # Contact
2 2
 
3
-!!! info "Summary"
4
-
5
-    Send your questions or project specs to <pre>:mailbox_with_mail: <a href="#" class="email"></a><noscript>support@[this domain]</noscript></pre>
6
-
7
-I'm Alexandre Martins, the developer of encantar.js. I can help you with this engine and with related technologies. Get in touch if you'd like me to:
3
+I'm Alexandre, the developer of encantar.js. I can help you with this engine and with related technologies. Get in touch if you'd like me to:
8 4
 
9 5
 * Work on projects that you want created or modified
10 6
 * Answer technical questions
11 7
 
12
-I help techies and non-techies get things done. My experience is vast and you may find it quite useful! :smiley: Besides AR, my experience includes: game development, computer vision, algorithms, mathematical modelling, 3D, full-stack web development, mobile app development, and more.
8
+I help techies and non-techies get things done. My experience is vast and you may find it quite useful! Besides AR, my experience includes: game development, computer vision, algorithms, mathematical modelling, 3D, full-stack web development, mobile app development, and more.
13 9
 
14 10
 If you're not a technical person and have a project in mind, simply describe the specification in a short text and tell me how much time you'd like to put into its development. If possible, include links to similar projects and to pages containing additional information.
15 11
 
16
-I usually work by myself, but I can also work with a team of like-minded people.
17
-
18
-Prototypes can often be built in a matter of days &ndash; as long as the spec is clear.
12
+I usually work by myself, but I can also work with a team of like-minded people. Prototypes can often be built in a matter of days &ndash; as long as the spec is clear.
19 13
 
20
-If you're a techie, then you can ask me technical questions. If you're a junior, I can guide you step by step. If you're advanced, I can give you pointers. Either way, you'll be supported.
14
+If you're a techie, then you can ask me technical questions. I can guide you step by step if you're a junior, or give you pointers if you're more experienced.
21 15
 
22 16
 Sounds good? Contact me via e-mail: <pre>:mailbox_with_mail: <a href="#" class="email"></a><noscript>support@[this domain]</noscript></pre>
23 17
 
24
-You can also find me on [GitHub](https://github.com/alemart){ ._blank } and on [LinkedIn](https://linkedin.com/in/alemart){ ._blank }.
25
-
26
-Looking forward to talking to you!
27
-
28
-&ndash; Alexandre
29
-
30 18
 <script>
31 19
 document.addEventListener('DOMContentLoaded', function() {
32 20
     var salad = 'nbjmup;tvqqpsuAfodboubs/efw';

+ 9
- 9
docs/demos.md Wyświetl plik

@@ -29,7 +29,7 @@
29 29
 
30 30
     ---
31 31
 
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>
32
+    <a href="../" 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
 
@@ -47,13 +47,13 @@
47 47
 
48 48
     ---
49 49
 
50
-    <figure style="background-image: url(../img/basketball.gif)"></figure>
50
+    <figure style="background-image: url(../img/demo-basketball.gif)"></figure>
51 51
 
52 52
     A Basketball game in Augmented Reality! Play with your phone!
53 53
 
54 54
     ---
55 55
 
56
-    <a href="/demos/basketball/poster.html" class="md-button" target="_blank" rel="external" id="launch-demo-basketball" data-goatcounter-click>Play now!</a>
56
+    <a href="basketball/poster.html" class="md-button" target="_blank" rel="external" id="launch-demo-basketball" data-goatcounter-click>Play now!</a>
57 57
 
58 58
 -   ### WebAR with A-Frame
59 59
 
@@ -65,7 +65,7 @@
65 65
 
66 66
     ---
67 67
 
68
-    <a href="/demos/hello-aframe/poster.html" class="md-button" target="_blank" rel="external" id="launch-demo-hello-aframe" data-goatcounter-click>Try it!</a>
68
+    <a href="hello-aframe/poster.html" class="md-button" target="_blank" rel="external" id="launch-demo-hello-aframe" data-goatcounter-click>Try it!</a>
69 69
 
70 70
 -   ### WebAR with babylon.js
71 71
 
@@ -77,7 +77,7 @@
77 77
 
78 78
     ---
79 79
 
80
-    <a href="/demos/hello-babylon/poster.html" class="md-button" target="_blank" rel="external" id="launch-demo-hello-babylon" data-goatcounter-click>Try it!</a>
80
+    <a href="hello-babylon/poster.html" class="md-button" target="_blank" rel="external" id="launch-demo-hello-babylon" data-goatcounter-click>Try it!</a>
81 81
 
82 82
 -   ### WebAR with three.js
83 83
 
@@ -89,7 +89,7 @@
89 89
 
90 90
     ---
91 91
 
92
-    <a href="/demos/hello-three/poster.html" class="md-button" target="_blank" rel="external" id="launch-demo-hello-three" data-goatcounter-click>Try it!</a>
92
+    <a href="hello-three/poster.html" class="md-button" target="_blank" rel="external" id="launch-demo-hello-three" data-goatcounter-click>Try it!</a>
93 93
 
94 94
 -   ### WebAR with any framework
95 95
 
@@ -101,7 +101,7 @@
101 101
 
102 102
     ---
103 103
 
104
-    <a href="/demos/hello-world/poster.html" class="md-button" target="_blank" rel="external" id="launch-demo-hello-world" data-goatcounter-click>Try it!</a>
104
+    <a href="hello-world/poster.html" class="md-button" target="_blank" rel="external" id="launch-demo-hello-world" data-goatcounter-click>Try it!</a>
105 105
 
106 106
 -   ### Pure WebGL madness
107 107
 
@@ -113,7 +113,7 @@
113 113
 
114 114
     ---
115 115
 
116
-    <a href="/demos/hello-webgl/poster.html" class="md-button" target="_blank" rel="external" id="launch-demo-hello-webgl" data-goatcounter-click>Try it!</a>
116
+    <a href="hello-webgl/poster.html" class="md-button" target="_blank" rel="external" id="launch-demo-hello-webgl" data-goatcounter-click>Try it!</a>
117 117
 
118 118
 -   ### Pointer tracking
119 119
 
@@ -125,5 +125,5 @@
125 125
 
126 126
     ---
127 127
 
128
-    <a href="/demos/pointer-demo/poster.html" class="md-button" target="_blank" rel="external" id="launch-demo-pointer-demo" data-goatcounter-click>Try it!</a>
128
+    <a href="pointer-demo/poster.html" class="md-button" target="_blank" rel="external" id="launch-demo-pointer-demo" data-goatcounter-click>Try it!</a>
129 129
 </div>

+ 2
- 50
docs/home.md Wyświetl plik

@@ -1,53 +1,5 @@
1 1
 ---
2
-template: "home.html"
2
+template: home.html
3
+title: "encantar.js"
3 4
 ---
4
-# Welcome to encantar.js!
5 5
 
6
-The Augmented Reality engine that will enchant you!
7
-
8
-<style>
9
-.md-button { padding-left: 1.5em !important; padding-right: 1.5em !important; }
10
-#gallery { display: flex; justify-content: center; }
11
-#gallery img { height: 128px; margin: 0 2px; }
12
-</style>
13
-
14
-:heart:{ .heart } encantar.js is an Augmented Reality technology which I develop independently. Support this work by [purchasing your copy](./download.md). You can also [become a sponsor](https://github.com/sponsors/alemart).
15
-
16
-[:star2: Try it!](../demos/hello-aframe/poster.html){ .md-button ._blank } [:video_game: Play a game!](../demos/basketball/poster.html){ .md-button ._blank } [:sparkles: Demos](./demos.md){ .md-button } [:heart_eyes: Add-Ons](./addons/index.md){ .md-button } [:books: Learn](./tutorial/index.md){ .md-button }
17
-
18
-<div id="gallery">
19
-  <a href="../demos/hello-aframe/poster.html" target="_blank"><img src="../img/mage.gif" alt="Demo"></a>
20
-  <a href="../demos/basketball/poster.html" target="_blank"><img src="../img/basketball.gif" alt="Game"></a>
21
-  <a href="../addons/"><img src="../img/video-player.gif" alt="Video Player"></a>
22
-</div>
23
-
24
-## Features
25
-
26
-* **Image tracking**: track detailed images such as book covers, cartoons and photos. No need of manual training!
27
-* **Pointer tracking**: create interactive experiences based on touch and mouse input with an easy-to-use API.
28
-* **Plugins**: use encantar.js with the 3D framework of your choice, including: A-Frame, Babylon.js, Three.js and more!
29
-* **Add-Ons**: create rich experiences with additional features that enhance the core of encantar.js!
30
-
31
-## Key points
32
-
33
-* **AR everywhere**: it runs on Android, on iOS, and even on Desktop computers! Only a modern web browser is required.
34
-* **Easy to use**: just load a static HTML page! No need of heavy app downloads, server-side components or subscriptions.
35
-* **Device-agnostic**: no need of AR-capable devices! encantar.js is AR built from scratch with computer vision!
36
-* **Fast & powerful**: encantar.js is GPU-accelerated. It uses WebGL2 and WebAssembly for turbocharged performance.
37
-* **Open source**: personal, professional and educational uses are allowed.
38
-
39
-## Browser compatibility
40
-
41
-encantar.js is compatible with all major web browsers:
42
-
43
-| Chrome | Edge | Firefox | Opera | Safari* |
44
-|:------:|:----:|:-------:|:-----:|:-------:|
45
-| :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
46
-
47
-\* use Safari 15.2 or later.
48
-
49
-encantar.js requires WebGL2 and WebAssembly, which are widely supported.
50
-
51
-## About
52
-
53
-encantar.js is developed by [Alexandre Martins](https://github.com/alemart) and released under the [LGPL](./license.md). It is based on [Speedy Vision](https://github.com/alemart/speedy-vision).

BIN
docs/img/demo-basketball.gif Wyświetl plik


BIN
docs/img/enchanted-sky.webp Wyświetl plik


+ 1
- 1
docs/index.md Wyświetl plik

@@ -1,5 +1,5 @@
1 1
 ---
2 2
 template: index.html
3
-title: "encantar.js WebAR Engine"
3
+title: ""
4 4
 ---
5 5
 

+ 2
- 2
docs_overrides/download.html Wyświetl plik

@@ -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://ko-fi.com/s/3ee4182cb6'">
5
+        <meta http-equiv="refresh" content="0; url='https://encantar.dev'">
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://ko-fi.com/s/3ee4182cb6">Redirecting</a>...</p>
10
+        <p><a href="https://encantar.dev">Redirecting</a>...</p>
11 11
     </body>
12 12
 </html>

+ 12
- 7
docs_overrides/home.html Wyświetl plik

@@ -1,7 +1,12 @@
1
-{% extends "main.html" %}
2
-
3
-{% block announce %}
4
-<section id="announcement">
5
-Follow the developer <a href="https://www.youtube.com/playlist?list=PLbPToEpHpU2eBOqAxL_Ehe92-_J41F7-8" target="_blank" rel="external">@alemart88</a>
6
-</section>
7
-{% endblock %}
1
+<!doctype html>
2
+<html>
3
+    <head>
4
+        <meta charset="utf-8">
5
+        <meta http-equiv="refresh" content="0; url='../'">
6
+        <title>encantar.js</title>
7
+        <script data-goatcounter="https://encantar-js.goatcounter.com/count" src="//gc.zgo.at/count.js"></script>
8
+    </head>
9
+    <body>
10
+        <p><a href="../">Redirecting</a>...</p>
11
+    </body>
12
+</html>

+ 514
- 138
docs_overrides/index.html Wyświetl plik

@@ -1,184 +1,560 @@
1 1
 {% extends "main.html" %}
2 2
 
3
-{% block tabs %}
4
-{{ super() }}
3
+{% block announce %}{% endblock %}
4
+{% block header %}{% endblock %}
5
+{% block tabs %}{% endblock %}
6
+{% block site_nav %}{% endblock %}
7
+{% block footer %}{% endblock %}
5 8
 
9
+{% block content %}
6 10
 <style>
7
-.md-main {
8
-    display: none;
11
+:root {
12
+  --max-width: 42rem;
13
+  --border-radius: 22px;
14
+  --hpad: 1rem;
15
+  --highlighted: #ffd500;
16
+}
17
+body {
18
+  color: var(--md-default-fg-color--light);
19
+  background-color: var(--md-default-bg-color);
20
+}
21
+.md-main__inner {
22
+  max-width: 100% !important;
23
+  margin-top: 0 !important;
24
+}
25
+.md-content__inner {
26
+  margin: 0 !important;
27
+  padding: 0 !important;
28
+}
29
+.md-content__inner::before {
30
+  height: 0 !important;
9 31
 }
32
+.md-footer {
33
+  color: var(--md-footer-fg-color);
34
+  text-align: center;
35
+  padding: 0 var(--hpad);
36
+}
37
+.md-footer .md-copyright {
38
+  max-width: var(--max-width);
39
+  margin-left: auto;
40
+  margin-right: auto;
41
+}
42
+.md-footer a {
43
+  color: var(--md-footer-fg-color--light);
44
+}
45
+
10 46
 
11
-.md-nav {
12
-    display: none;
47
+
48
+
49
+#title {
50
+  text-align: center;
51
+  padding: 1.5rem var(--hpad);
52
+  background-image: linear-gradient(180deg,rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 1) 100%), url('img/enchanted-sky.webp');
53
+  background-size: cover;
54
+  background-position: center;
55
+}
56
+#title h1 {
57
+  margin: 0;
58
+  font-size: 3.0rem;
59
+  font-weight: bold;
60
+  color: #ffd;
61
+  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
62
+}
63
+#title h2 {
64
+  margin: 0.5rem 0;
65
+  font-size: 1.35rem;
13 66
 }
14 67
 
15
-.md-header {
16
-    box-shadow: none !important;
68
+
69
+
70
+
71
+#pay {
72
+  display: flex;
73
+  flex-flow: row wrap;
74
+  justify-content: center;
75
+  align-items: center;
76
+  align-content: center;
77
+  text-align: center;
78
+  font-size: 1.2rem;
79
+  line-height: 2.5;
80
+  margin-left: auto;
81
+  margin-right: auto;
82
+  margin-top: 1rem;
83
+  padding: 3px;
84
+  max-width: var(--max-width);
85
+  background-color: rgba(255, 255, 255, 0.2);
86
+  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.2);
87
+  border-radius: var(--border-radius);
88
+}
89
+#pay > #amounts {
90
+  display: flex;
91
+  flex-wrap: wrap;
92
+  justify-content: center;
93
+  width: 45%;
94
+  min-width: 320px;
95
+  font-size: 0.85em;
96
+}
97
+#pay > *:last-child {
98
+  margin-top: 0.7rem;
99
+  margin-bottom: 0.7rem;
100
+}
101
+#pay input[type="submit"] {
102
+  font-size: 1.0rem;
103
+}
104
+#pay input[type="radio"] {
105
+  -webkit-appearance: none;
106
+  appearance: none;
107
+  background-color: white;
108
+  margin: 0;
109
+}
110
+#pay input[type="radio"] + label {
111
+  padding: 0.1rem 0.5rem;
112
+  margin: 0 2px;
113
+  cursor: pointer;
114
+  border: 1px solid #dcdcdc;
115
+  border-radius: calc(var(--border-radius) / 3);
116
+  background: linear-gradient(180deg, white 0%, whitesmoke 100%);
17 117
 }
118
+#pay input[type="radio"] + label:hover {
119
+  border-color: var(--highlighted);
120
+}
121
+#pay input[type="radio"]:checked + label {
122
+  background: linear-gradient(180deg, #fffd50 0%, var(--highlighted) 100%) !important;
123
+  border-color: var(--highlighted) !important;
124
+}
125
+input::-webkit-outer-spin-button,
126
+input::-webkit-inner-spin-button {
127
+  -webkit-appearance: none;
128
+  margin: 0;
129
+}
130
+#custom-amount {
131
+  appearance: none;
132
+  -webkit-appearance: none;
133
+  -moz-appearance: textfield;
18 134
 
19
-:root {
20
-    --md-secondary-fg-color: var(--md-accent-fg-color);
21
-}
22
-
23
-#splash {
24
-    display: flex;
25
-    align-items: center;
26
-    flex-grow: 1;
27
-    background-color: var(--md-primary-fg-color);
28
-    color: var(--md-primary-bg-color);
29
-    padding-left: 16px;
30
-    padding-right: 16px;
31
-}
32
-
33
-#splash::before {
34
-    content: ' ';
35
-    display: block;
36
-    position: absolute;
37
-    left: 0;
38
-    top: 0;
39
-    width: 100%;
40
-    height: 100%;
41
-    background-image: url(img/splash.webp);
42
-    background-position: 80% 25%;
43
-    background-repeat: no-repeat;
44
-    background-size: cover;
45
-    opacity: 0.25;
46
-}
47
-
48
-@media screen and (min-width: 1220px) {
49
-    #splash::before {
50
-        background-position: center;
51
-    }
135
+  font-size: 0.75em;
136
+  padding: 0.5rem 0.5rem 0.5rem 2.1em;
137
+  margin: 0;
138
+  width: 100%;
139
+
140
+  border: 1px solid #dcdcdc;
141
+  border-radius: calc(var(--border-radius) / 3);
142
+  background: linear-gradient(180deg, white 0%, whitesmoke 100%);
143
+  color: var(--md-default-fg-color--light);
144
+}
145
+#custom-amount:focus {
146
+  border-color: var(--highlighted) !important;
147
+}
148
+#custom-amount:invalid {
149
+  border-color: salmon !important;
52 150
 }
151
+#dollar-sign {
152
+  font-size: 0.85em;
153
+  position: absolute;
154
+  left: 0.83em;
155
+  top: 0.33em;
156
+}
157
+#custom-amount-wrapper {
158
+  flex-basis: 14.9rem; /* line break */
159
+  visibility: hidden;
160
+  max-height: 0;
161
+  transform: scaleY(0);
162
+  transform-origin: top;
163
+  transition: transform 0.2s ease-out, max-height 0.2s ease-out;
164
+}
165
+#custom-tier:checked ~ #custom-amount-wrapper {
166
+  visibility: visible;
167
+  max-height: 64px;
168
+  transform: scaleY(1);
169
+}
170
+
53 171
 
54
-.splash-container {
55
-    display: flex;
56
-    align-items: stretch;
57
-    flex-direction: column;
172
+
173
+
174
+
175
+#topics {
176
+  max-width: var(--max-width);
177
+  margin-left: auto;
178
+  margin-right: auto;
179
+  padding: 0 var(--hpad);
180
+  text-align: center;
181
+}
182
+#topics article {
183
+  margin: 2rem 0;
184
+  padding: 1.2rem;
185
+  border-radius: var(--border-radius);
186
+  background-image: linear-gradient(0deg, white 0%, lemonchiffon 100%);
58 187
 }
188
+#topics article:first-child {
189
+  margin-top: 0.5rem;
190
+}
191
+#topics article h1 {
192
+  margin-bottom: 1.0rem;
193
+}
194
+#topics article a.md-button {
195
+  margin-top: 1.0rem;
196
+}
197
+#topics article p {
198
+  margin: 0;
199
+}
200
+#topics article img {
201
+  width: 100%;
202
+  height: auto;
203
+  border-radius: 16px;
204
+  margin-top: 1.0rem;
205
+}
206
+#topics article ul {
207
+  list-style: none;
208
+  display: flex;
209
+  margin: 0;
210
+}
211
+#topics article ul li {
212
+  width: 33.33%;
213
+  display: flex;
214
+  align-items: center;
215
+  margin: 0;
216
+}
217
+
59 218
 
60
-.splash-text {
61
-    font-size: 16pt;
62
-    padding: 0 14px 0 14px; /* align to header */
63
-    text-align: center;
219
+
220
+
221
+#contact {
222
+  max-width: var(--max-width);
223
+  margin-left: auto;
224
+  margin-right: auto;
225
+  padding: 0 var(--hpad);
226
+  text-align: center;
227
+}
228
+#contact article {
229
+  margin: 2rem 0;
230
+  padding: 1.2rem;
231
+  border-radius: var(--border-radius);
232
+  background-image: linear-gradient(0deg, white 0%, lemonchiffon 100%);
233
+}
234
+#contact article h1 {
235
+  margin-bottom: 1.0rem;
64 236
 }
237
+#contact article > div {
238
+  display: flex;
239
+  justify-content: space-around;
240
+  flex-wrap: wrap;
241
+  font-size: 1.1em;
242
+}
243
+#contact article a::after {
244
+  content: ' \2192';
245
+}
246
+
247
+
65 248
 
66
-.splash-image {
67
-    text-align: center;
68
-    margin-top: 32px;
69
-    margin-bottom: 32px;
249
+
250
+#download {
251
+  background-image: linear-gradient(0deg,rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 1) 100%), url('img/enchanted-sky.webp');
252
+  background-size: cover;
253
+  background-position: right bottom;
254
+  /*min-height: 342px;*/
255
+}
256
+#download article {
257
+  max-width: var(--max-width);
258
+  margin-left: auto;
259
+  margin-right: auto;
260
+  padding: 2rem var(--hpad);
261
+  font-size: 1.1em;
262
+  text-align: center;
263
+  color: #555;
264
+}
265
+#download article h1 {
266
+  margin: 0;
267
+}
268
+#download article p {
269
+  margin: 1.5rem 0;
270
+  font-size: 1.1em;
70 271
 }
272
+#download article footer {
273
+  display: flex;
274
+  flex-wrap: wrap;
275
+  justify-content: space-evenly;
276
+}
277
+#download article footer > * {
278
+  margin: 0.5rem 0;
279
+}
280
+
281
+
71 282
 
72
-.splash-text em {
73
-    font-style: normal;
74
-    color: var(--md-accent-fg-color);
283
+
284
+#download-dialog {
285
+  background-color: whitesmoke;
286
+  color: var(--md-default-fg-color--light);
287
+  text-align: center;
288
+  padding: 1.5rem;
289
+  border: 0;
290
+  border-radius: 24px;
291
+  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.2);
292
+  transition: opacity 0.5s ease;
75 293
 }
76 294
 
77
-.splash-text h1 {
78
-    margin: 0.5em 0 0.5em 0;
79
-    color: var(--md-primary-bg-color);
80
-    font-size: 1.8em;
295
+#download-dialog[open] {
296
+  opacity: 1;
81 297
 }
82 298
 
83
-.splash-text h2 {
84
-    margin: 0.5em 0 0.5em 0;
85
-    color: var(--md-primary-bg-color);
86
-    font-size: 1.25em;
299
+#download-dialog:not([open]) {
300
+  opacity: 0;
301
+  pointer-events: none;
87 302
 }
88 303
 
89
-.splash-image > * {
90
-    width: 80%;
91
-    border-radius: 32px;
92
-    border: 4px solid var(--md-primary-fg-color--light);
304
+#download-dialog::backdrop {
305
+  backdrop-filter: blur(8px);
306
+  transition: backdrop-filter 0.5s ease;
93 307
 }
94 308
 
95
-#splash nav {
96
-    width: 90%;
97
-    display: flex;
98
-    justify-content: space-around;
99
-    flex-wrap: wrap;
100
-    text-align: center;
101
-    margin: 24px auto;
102
-    row-gap: 16px;
309
+#download-dialog h1 {
310
+  margin: 1.0rem 0;
311
+  font-size: 1.4rem;
103 312
 }
104 313
 
105
-@media screen and (min-width: 1220px) {
106
-/*
107
-    .splash-container {
108
-        align-items: center;
109
-        flex-direction: row;
110
-    }
314
+#download-dialog-close {
315
+  position: absolute;
316
+  top: 0.3rem;
317
+  right: 0.8rem;
318
+  font-size: 1.35rem;
319
+  color: var(--md-default-fg-color--light);
320
+  cursor: pointer;
321
+}
111 322
 
112
-    .splash-text {
113
-        flex: 14;
114
-        text-align: left;
115
-    }
323
+html:has(#download-dialog[open]) {
324
+  overflow: hidden;
325
+}
116 326
 
117
-    .splash-image {
118
-        flex: 9;
119
-        text-align: right;
120
-        margin-top: 0;
121
-        margin-bottom: 0;
122
-    }
123 327
 
124
-    .splash-image > * {
125
-        width: 100%;
126
-    }
127
-*/
128
-}
129 328
 
130
-.md-button:not(:hover,:focus) {
131
-    /*background-color: var(--md-primary-fg-color) !important;*/
132
-    background-color: none !important;
133
-    border-color: var(--md-primary-bg-color) !important;
134
-    color: var(--md-primary-bg-color) !important;
329
+
330
+.reveal {
331
+  opacity: 1;
332
+  transition: transform 0.5s ease-out, opacity 0.5s ease-out;
333
+}
334
+.reveal.unrevealed {
335
+  opacity: 0;
336
+  transform: translateY(5rem);
135 337
 }
136 338
 
137
-.md-button.md-button--primary:not(:hover,:focus) {
138
-    background-color: var(--md-primary-bg-color) !important;
139
-    border-color: var(--md-primary-bg-color) !important;
140
-    color: var(--md-primary-fg-color) !important;
339
+
340
+
341
+
342
+@media screen and (min-width: 768px) {
343
+  /*#pay { justify-content: space-around; }*/
344
+  #title h1 { font-size: 4.0rem; }
345
+  #title h2 { font-size: 1.55rem; }
346
+  #topics { text-align: justify; }
347
+  #topics > article img { margin-top: initial; }
348
+  #topics > article { display: flex; flex-direction: row; justify-content: space-between; align-items: center; }
349
+  #topics > article:nth-child(2n+1) > div:nth-child(2) { min-width: calc(var(--max-width) * 0.4); margin-left: 32px; }
350
+  #topics > article:nth-child(2n) > div:nth-child(2) { min-width: calc(var(--max-width) * 0.4); margin-right: 32px; order: -1; }
141 351
 }
142 352
 
143
-@keyframes appear {
144
-    from { transform: translateY(10%); opacity: 0.01; }
145
-    to { transform: translateX(0); opacity: 1; }
353
+@media screen and (min-width: 992px) {
354
+  #topics { padding: 0; }
355
+  #contact { padding: 0; }
356
+  #download article footer > * { margin: 0; }
146 357
 }
358
+</style>
359
+<script>
360
+(function() {
361
+
362
+window.addEventListener('load', function() {
363
+  setupDialog();
364
+  setupReveal();
365
+});
366
+
367
+function setupDialog()
368
+{
369
+  if(location.search.indexOf('checkout_session_id') < 0)
370
+    return;
147 371
 
148
-.appear {
149
-    animation: appear 0.5s ease-out 0.2s;
150
-    animation-fill-mode: both;
372
+  try {
373
+    const searchParams = new URLSearchParams(location.search);
374
+    const sessionId = searchParams.get('checkout_session_id') || '';
375
+    const next = searchParams.get('next') || location.href;
376
+
377
+    const url = new URL(next);
378
+    url.searchParams.append('checkout_session_id', sessionId);
379
+
380
+    const button = document.getElementById('download-dialog-download');
381
+    const redirect = function() { location.href = url.href; };
382
+    button.onclick = redirect;
383
+    setTimeout(redirect, 3000);
384
+
385
+    const dialog = document.getElementById('download-dialog');
386
+    dialog.showModal();
387
+  }
388
+  catch(e) {
389
+    console.error(e);
390
+    alert(e.message);
391
+  }
151 392
 }
152 393
 
153
-.text-center {
154
-    text-align: center;
394
+function setupReveal()
395
+{
396
+  if(typeof IntersectionObserver === 'undefined')
397
+    return;
398
+
399
+  const observer = new IntersectionObserver(function(entries) {
400
+    for(const entry of entries) {
401
+      if(entry.intersectionRatio >= 0.125)
402
+        entry.target.classList.remove('unrevealed');
403
+      /*else if(entry.intersectionRatio == 0.0)
404
+        entry.target.classList.add('unrevealed');*/
405
+    }
406
+  }, { threshold: [0, 0.125] });
407
+
408
+  document.querySelectorAll('.reveal').forEach(function(reveal) {
409
+    reveal.classList.add('unrevealed');
410
+    observer.observe(reveal);
411
+  });
155 412
 }
156
-</style>
157 413
 
158
-<section id="splash">
159
-    <div class="splash-container md-grid">
160
-        <div class="splash-text md-typeset appear text-center">
161
-            <h1>encant<em>ar</em>.js</h1>
162
-            <h2>The Augmented Reality engine that will enchant you!</h2>
163
-            <nav>
164
-                <a href="{{ './home' | url }}" class="md-button md-button--primary" id="splash-get-started" data-goatcounter-click>Get started</a>
165
-                <a href="{{ './demos/hello-aframe/poster.html' | url }}" class="md-button" target="_blank" id="splash-try-demo" data-goatcounter-click>Try a demo</a>
166
-            </nav>
167
-        </div>
168
-        <!--
169
-        <div class="splash-image appear">
170
-            <video poster="{{ './img/splash.gif' | url }}" muted loop playsinline autoplay>
171
-                <source src="{{ './img/demo-cool3.webm' | url }}" type="video/webm" />
172
-                <source src="{{ './img/demo-cool3.mp4' | url }}" type="video/mp4" />
173
-            </video>
174
-        </div>
175
-        -->
414
+})();
415
+</script>
416
+
417
+
418
+
419
+
420
+<header id="title">
421
+  <h1>encantar.js</h1>
422
+  <h2>High performance open source Web AR &mdash; no app required!</h2>
423
+  <form id="pay" method="post" action="https://api.encantar.dev/v1/pay" autocomplete="off" onsubmit="return this.tier.value != 'custom' || this['custom-amount'].value != ''">
424
+    <span>Pay What You Can:</span>
425
+    <span id="amounts">
426
+      <input type="radio" id="custom-tier" name="tier" value="custom" data-goatcounter-click onchange="this.checked && document.getElementById('custom-amount').focus()">
427
+      <label for="custom-tier">$X</label>
428
+      <input type="radio" id="first-tier" name="tier" value="first" data-goatcounter-click>
429
+      <label for="first-tier">$29</label>
430
+      <input type="radio" id="second-tier" name="tier" value="second" checked data-goatcounter-click>
431
+      <label for="second-tier">$49</label>
432
+      <input type="radio" id="third-tier" name="tier" value="third" data-goatcounter-click>
433
+      <label for="third-tier">$99</label>
434
+      <input type="radio" id="fourth-tier" name="tier" value="fourth" data-goatcounter-click>
435
+      <label for="fourth-tier">$199</label>
436
+      <label for="custom-amount" id="custom-amount-wrapper">
437
+        <span id="dollar-sign">$</span>
438
+        <input type="number" id="custom-amount" name="custom-amount" value="" placeholder="Enter a fair dollar amount" min="0" max="999999" step="1">
439
+      </label>
440
+    </span>
441
+    <input type="submit" value="Get encantar.js" class="md-button md-button--primary" id="get-encantar" data-goatcounter-click>
442
+  </form>
443
+</header>
444
+
445
+
446
+
447
+
448
+<section id="topics">
449
+  <article class="reveal">
450
+    <div>
451
+      <h1>AR for all devices</h1>
452
+      <p>Create Augmented Reality experiences for iOS, Android and even Desktops! All devices are supported, including those without native capabilities for AR / WebXR. That's because encantar.js is built from scratch with computer vision.</p>
453
+      <a href="demos/hello-aframe/poster.html" target="_blank" class="md-button" id="try-demo" data-goatcounter-click>Try a demo</a>
454
+    </div>
455
+    <div>
456
+      <img src="img/demo-cat.gif" alt="A cat in Augmented Reality" loading="lazy">
176 457
     </div>
458
+  </article>
459
+  <article class="reveal">
460
+    <div>
461
+      <h1>Turbocharged performance</h1>
462
+      <p>A modern web browser is all that is required for a high performance experience, thanks to a powerful combination of GPU acceleration, WebAssembly and mathemagical wizardry! The result? A smooth user experience!</p>
463
+      <a href="demos/basketball/poster.html" target="_blank" class="md-button" id="play-game" data-goatcounter-click>Play a game</a>
464
+    </div>
465
+    <div>
466
+      <img src="img/demo-basketball.gif" alt="Magic AR Basketball Game" loading="lazy">
467
+    </div>
468
+  </article>
469
+  <article class="reveal">
470
+    <div>
471
+      <h1>Enchanted Images</h1>
472
+      <p>Bring images to life! Create enchanted posters, ads, books, murals and more with Image Tracking, also known as Marker Tracking or Natural Feature Tracking. Scan your own images to start the WebAR experience &ndash; all in the browser!</p>
473
+      <a href="demos/" target="_blank" class="md-button" id="try-more-demos" data-goatcounter-click>Try more demos</a>
474
+    </div>
475
+    <div>
476
+      <img src="img/mage.gif" alt="A mage in Augmented Reality" loading="lazy">
477
+    </div>
478
+  </article>
479
+  <article class="reveal">
480
+    <div>
481
+      <h1>Easy to use and to deploy</h1>
482
+      <p>encantar.js may be combined with A-Frame, babylon.js, three.js, or any 3D engine &ndash; you choose! Also, processing is local, with no backend in the cloud &amp; no recurring fees &ndash; just a static web page.</p>
483
+      <a href="tutorial/" target="_blank" class="md-button" id="read-tutorial" data-goatcounter-click>Read the tutorial</a>
484
+    </div>
485
+    <div>
486
+      <ul>
487
+        <li><img src="img/logo-aframe.png" alt="A-Frame logo" loading="lazy"></li>
488
+        <li><img src="img/logo-babylon.png" alt="babylon.js logo" loading="lazy"></li>
489
+        <li><img src="img/logo-three.png" alt="three.js logo" loading="lazy"></li>
490
+      </ul>
491
+    </div>
492
+  </article>
493
+  <article class="reveal">
494
+    <div>
495
+      <h1>Add-Ons</h1>
496
+      <p>Add-Ons enrich the core of encantar.js with additional and magical features, such as an easy to use Video Player for enchanting posters, murals, business cards and more! User experience is frictionless, with no need to download apps!</p>
497
+      <a href="addons/" target="_blank" class="md-button" id="explore-addons" data-goatcounter-click>Explore the Add-Ons</a>
498
+    </div>
499
+    <div>
500
+      <img src="img/video-player.gif" alt="Video player for web-based Augmented Reality" loading="lazy">
501
+    </div>
502
+  </article>
177 503
 </section>
178 504
 
179
-{% endblock %}
180 505
 
181
-{% block announce %}{% endblock %}
182
-{% block site_nav %}{% endblock %}
183
-{% block content %}{% endblock %}
184
-{% block footer %}{% endblock %}
506
+
507
+
508
+<section id="contact">
509
+  <article class="reveal">
510
+    <h1>Got a question?</h1>
511
+    <div>
512
+      <div>
513
+        <p>Need help with a project?</p>
514
+        <p><a href="contact/" target="_blank" id="talk-to-wizard" data-goatcounter-click>Talk to a wizard</a></p>
515
+      </div>
516
+      <div>
517
+        <p>Wanna know more?</p>
518
+        <p><a href="api/" target="_blank" id="study-the-api" data-goatcounter-click>Study the API</a></p>
519
+      </div>
520
+    </div>
521
+  </article>
522
+</section>
523
+
524
+
525
+
526
+
527
+<section id="download">
528
+  <article>
529
+    <h1>Download encantar.js</h1>
530
+    <p>encantar.js is created independently by Alexandre Martins and released as open source. Creating an AR engine from scratch is a difficult and time-consuming endeavor. The funds collected help to sponsor the developer. Your support is greatly appreciated! &#x1F60A;</p>
531
+    <footer>
532
+      <a href="#" class="md-button md-button--primary" id="download-pay" data-goatcounter-click>Pay What You Can</a>
533
+      <a href="https://github.com/sponsors/alemart" target="_blank" class="md-button" id="download-sponsor" data-goatcounter-click>Sponsor on GitHub</a>
534
+    </footer>
535
+  </article>
536
+</section>
537
+
538
+
539
+
540
+
541
+<dialog id="download-dialog">
542
+  <form method="dialog">
543
+    <h1>Thank you for your interest in encantar.js</h1>
544
+    <p>Your download will start shortly...</p>
545
+    <p><button id="download-dialog-download" class="md-button md-button--primary" type="button" data-goatcounter-click>Download now</button></p>
546
+    <p hidden><a href="contact/" target="_blank" id="download-dialog-contact" data-goatcounter-click>Need help?</a></p>
547
+    <button id="download-dialog-close" type="submit">&times;</button>
548
+  </form>
549
+</dialog>
550
+
551
+
552
+
553
+
554
+<footer class="md-footer">
555
+  <div class="md-copyright">
556
+    <a href="https://github.com/alemart/encantar-js" target="_blank" rel="external" id="github-repository" data-goatcounter-click>encantar.js</a>: GPU-accelerated Augmented Reality framework for the web. Copyright &copy; 2022 &ndash; present <a href="https://github.com/alemart" target="_blank" rel="external" id="github-profile" data-goatcounter-click>Alexandre Martins</a>
557
+  </div>
558
+</footer>
559
+
560
+{% endblock %}

+ 2
- 2
docs_overrides/support-my-work.html Wyświetl plik

@@ -2,7 +2,7 @@
2 2
 <html>
3 3
 <head>
4 4
   <meta charset="utf-8">
5
-  <meta name="description" content="encantar.js: GPU-accelerated Augmented Reality for the web">
5
+  <meta name="description" content="encantar.js: GPU-accelerated Augmented Reality framework for the web">
6 6
   <meta name="author" content="Alexandre Martins">
7 7
   <meta name="viewport" content="width=device-width,initial-scale=1">
8 8
   <title>Thank you for trying encantar.js!</title>
@@ -64,7 +64,7 @@
64 64
 
65 65
 <p>encantar.js is developed independently by Alexandre Martins. Your support is important for the work to continue. Support it by purchasing your copy!</p>
66 66
 
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>
67
+<a href="https://encantar.dev" 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
 

+ 2
- 2
docs_overrides/supporter.html Wyświetl plik

@@ -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://ko-fi.com/s/3ee4182cb6'">
5
+        <meta http-equiv="refresh" content="0; url='https://encantar.dev'">
6 6
         <title>Support 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://ko-fi.com/s/3ee4182cb6">Redirecting</a>...</p>
10
+        <p><a href="https://encantar.dev">Redirecting</a>...</p>
11 11
     </body>
12 12
 </html>

+ 5
- 13
mkdocs.yml Wyświetl plik

@@ -1,7 +1,7 @@
1
-site_name: "encantar.js: GPU-accelerated Augmented Reality for the web"
1
+site_name: "encantar.js: GPU-accelerated Augmented Reality framework for the web"
2 2
 site_url: https://encantar.dev
3 3
 site_author: Alexandre Martins
4
-site_description: The Augmented Reality engine that will enchant you!
4
+site_description: The home of encantar.js, a high performance and open source Augmented Reality framework for JavaScript. No app is required for Web AR.
5 5
 copyright: Copyright &copy; 2022 - present Alexandre Martins
6 6
 
7 7
 repo_name: alemart/encantar-js
@@ -54,16 +54,7 @@ markdown_extensions:
54 54
 dev_addr: 127.0.0.1:8008
55 55
 
56 56
 nav:
57
-  - 'Home':
58
-    - 'Home': 'home.md'
59
-    - 'Download': 'download.md'
60
-    - 'Demos': 'demos.md'
61
-    - 'Add-Ons': 'addons/index.md'
62
-    - 'Learn': 'tutorial/index.md'
63
-    - 'API Reference': 'api/index.md'
64
-    - 'Support my work': 'support-my-work.md'
65
-    - 'License': 'license.md'
66
-  - 'Download': 'download.md'
57
+  - 'Home': 'index.md'
67 58
   - 'Demos':
68 59
     - 'Demos': 'demos.md'
69 60
   - 'Add-Ons':
@@ -85,6 +76,7 @@ nav:
85 76
     - 'Recommendations': 'recommendations.md'
86 77
     - 'Guidelines for Images': 'guidelines-for-images.md'
87 78
     - 'Questions & Answers': 'faq.md'
79
+    - 'License': 'license.md'
88 80
     - 'API Reference': 'api/index.md'
89 81
   - 'API':
90 82
     - 'General':
@@ -143,4 +135,4 @@ nav:
143 135
       - 'SpeedySize': 'api/speedy-size.md'
144 136
       - 'SpeedyMatrix': 'api/speedy-matrix.md'
145 137
       - 'SpeedyPromise': 'api/speedy-promise.md'
146
-  - 'Contact': 'contact.md'
138
+  - 'Contact': 'contact.md'

+ 1
- 1
package.json Wyświetl plik

@@ -1,7 +1,7 @@
1 1
 {
2 2
   "name": "encantar",
3 3
   "version": "0.4.4-dev",
4
-  "description": "GPU-accelerated Augmented Reality for the web",
4
+  "description": "GPU-accelerated Augmented Reality framework for the web",
5 5
   "author": "Alexandre Martins <alemartf@gmail.com> (https://github.com/alemart)",
6 6
   "homepage": "https://encantar.dev",
7 7
   "license": "LGPL-3.0-or-later",

Ładowanie…
Anuluj
Zapisz