Browse Source

Revert download links

customisations
alemart 2 months ago
parent
commit
5bc0977f18

+ 1
- 1
demos/basketball/poster.html View File

12
     </head>
12
     </head>
13
     <body data-ar-images="../basketball/assets/poster.webp">
13
     <body data-ar-images="../basketball/assets/poster.webp">
14
         <nav>
14
         <nav>
15
-            <a id="get" href="https://encantar.dev">Get encantar.js</a>
15
+            <a id="get" href="../../download">Get encantar.js</a>
16
             <a id="film" href="video.html"><i></i></a>
16
             <a id="film" href="video.html"><i></i></a>
17
             <a id="prev" href="#"></a>
17
             <a id="prev" href="#"></a>
18
             <a id="next" href="#"></a>
18
             <a id="next" href="#"></a>

+ 1
- 1
demos/hello-aframe/poster.html View File

12
     </head>
12
     </head>
13
     <body data-ar-images="mage.webp;cat.webp">
13
     <body data-ar-images="mage.webp;cat.webp">
14
         <nav>
14
         <nav>
15
-            <a id="get" href="https://encantar.dev">Get encantar.js</a>
15
+            <a id="get" href="../../download">Get encantar.js</a>
16
             <a id="film" href="video.html"><i></i></a>
16
             <a id="film" href="video.html"><i></i></a>
17
             <a id="prev" href="#"></a>
17
             <a id="prev" href="#"></a>
18
             <a id="next" href="#"></a>
18
             <a id="next" href="#"></a>

+ 1
- 1
demos/hello-babylon/poster.html View File

12
     </head>
12
     </head>
13
     <body data-ar-images="mage.webp;cat.webp">
13
     <body data-ar-images="mage.webp;cat.webp">
14
         <nav>
14
         <nav>
15
-            <a id="get" href="https://encantar.dev">Get encantar.js</a>
15
+            <a id="get" href="../../download">Get encantar.js</a>
16
             <a id="film" href="video.html"><i></i></a>
16
             <a id="film" href="video.html"><i></i></a>
17
             <a id="prev" href="#"></a>
17
             <a id="prev" href="#"></a>
18
             <a id="next" href="#"></a>
18
             <a id="next" href="#"></a>

+ 1
- 1
demos/hello-three/poster.html View File

12
     </head>
12
     </head>
13
     <body data-ar-images="mage.webp;cat.webp">
13
     <body data-ar-images="mage.webp;cat.webp">
14
         <nav>
14
         <nav>
15
-            <a id="get" href="https://encantar.dev">Get encantar.js</a>
15
+            <a id="get" href="../../download">Get encantar.js</a>
16
             <a id="film" href="video.html"><i></i></a>
16
             <a id="film" href="video.html"><i></i></a>
17
             <a id="prev" href="#"></a>
17
             <a id="prev" href="#"></a>
18
             <a id="next" href="#"></a>
18
             <a id="next" href="#"></a>

+ 1
- 1
demos/hello-webgl/poster.html View File

12
     </head>
12
     </head>
13
     <body data-ar-images="my-reference-image.webp">
13
     <body data-ar-images="my-reference-image.webp">
14
         <nav>
14
         <nav>
15
-            <a id="get" href="https://encantar.dev">Get encantar.js</a>
15
+            <a id="get" href="../../download">Get encantar.js</a>
16
             <a id="film" href="video.html"><i></i></a>
16
             <a id="film" href="video.html"><i></i></a>
17
             <a id="prev" href="#"></a>
17
             <a id="prev" href="#"></a>
18
             <a id="next" href="#"></a>
18
             <a id="next" href="#"></a>

+ 1
- 1
demos/hello-world/poster.html View File

12
     </head>
12
     </head>
13
     <body data-ar-images="mage.webp;cat.webp">
13
     <body data-ar-images="mage.webp;cat.webp">
14
         <nav>
14
         <nav>
15
-            <a id="get" href="https://encantar.dev">Get encantar.js</a>
15
+            <a id="get" href="../../download">Get encantar.js</a>
16
             <a id="film" href="video.html"><i></i></a>
16
             <a id="film" href="video.html"><i></i></a>
17
             <a id="prev" href="#"></a>
17
             <a id="prev" href="#"></a>
18
             <a id="next" href="#"></a>
18
             <a id="next" href="#"></a>

+ 1
- 1
demos/pointer-demo/poster.html View File

12
     </head>
12
     </head>
13
     <body data-ar-images="mage.webp">
13
     <body data-ar-images="mage.webp">
14
         <nav>
14
         <nav>
15
-            <a id="get" href="https://encantar.dev">Get encantar.js</a>
15
+            <a id="get" href="../../download">Get encantar.js</a>
16
             <a id="prev" href="#"></a>
16
             <a id="prev" href="#"></a>
17
             <a id="next" href="#"></a>
17
             <a id="next" href="#"></a>
18
         </nav>
18
         </nav>

+ 5
- 0
docs/download.md View File

1
+---
2
+template: download.html
3
+title: "Download"
4
+---
5
+

+ 1
- 1
docs/tutorial/set-up-a-web-server.md View File

7
 Let's create a file structure for our AR experience:
7
 Let's create a file structure for our AR experience:
8
 
8
 
9
 1. Create a new folder called `ar-demo` in your filesystem
9
 1. Create a new folder called `ar-demo` in your filesystem
10
-2. Download the [latest release of encantar.js](../index.md){ ._blank } and extract `dist/encantar.js` to `ar-demo/`
10
+2. Download the [latest release of encantar.js](../download.md){ ._blank } and extract `dist/encantar.js` to `ar-demo/`
11
 3. Create a new empty file called `index.html` and store it in `ar-demo/`
11
 3. Create a new empty file called `index.html` and store it in `ar-demo/`
12
 
12
 
13
 You will have the following file structure:
13
 You will have the following file structure:

+ 12
- 0
docs_overrides/download.html View File

1
+<!doctype html>
2
+<html>
3
+    <head>
4
+        <meta charset="utf-8">
5
+        <meta http-equiv="refresh" content="0; url='/#download'">
6
+        <title>Download 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="/#download">Redirecting</a>...</p>
11
+    </body>
12
+</html>

Loading…
Cancel
Save