Parcourir la source

Revert download links

customisations
alemart il y a 2 mois
Parent
révision
5bc0977f18

+ 1
- 1
demos/basketball/poster.html Voir le fichier

@@ -12,7 +12,7 @@
12 12
     </head>
13 13
     <body data-ar-images="../basketball/assets/poster.webp">
14 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 16
             <a id="film" href="video.html"><i></i></a>
17 17
             <a id="prev" href="#"></a>
18 18
             <a id="next" href="#"></a>

+ 1
- 1
demos/hello-aframe/poster.html Voir le fichier

@@ -12,7 +12,7 @@
12 12
     </head>
13 13
     <body data-ar-images="mage.webp;cat.webp">
14 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 16
             <a id="film" href="video.html"><i></i></a>
17 17
             <a id="prev" href="#"></a>
18 18
             <a id="next" href="#"></a>

+ 1
- 1
demos/hello-babylon/poster.html Voir le fichier

@@ -12,7 +12,7 @@
12 12
     </head>
13 13
     <body data-ar-images="mage.webp;cat.webp">
14 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 16
             <a id="film" href="video.html"><i></i></a>
17 17
             <a id="prev" href="#"></a>
18 18
             <a id="next" href="#"></a>

+ 1
- 1
demos/hello-three/poster.html Voir le fichier

@@ -12,7 +12,7 @@
12 12
     </head>
13 13
     <body data-ar-images="mage.webp;cat.webp">
14 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 16
             <a id="film" href="video.html"><i></i></a>
17 17
             <a id="prev" href="#"></a>
18 18
             <a id="next" href="#"></a>

+ 1
- 1
demos/hello-webgl/poster.html Voir le fichier

@@ -12,7 +12,7 @@
12 12
     </head>
13 13
     <body data-ar-images="my-reference-image.webp">
14 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 16
             <a id="film" href="video.html"><i></i></a>
17 17
             <a id="prev" href="#"></a>
18 18
             <a id="next" href="#"></a>

+ 1
- 1
demos/hello-world/poster.html Voir le fichier

@@ -12,7 +12,7 @@
12 12
     </head>
13 13
     <body data-ar-images="mage.webp;cat.webp">
14 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 16
             <a id="film" href="video.html"><i></i></a>
17 17
             <a id="prev" href="#"></a>
18 18
             <a id="next" href="#"></a>

+ 1
- 1
demos/pointer-demo/poster.html Voir le fichier

@@ -12,7 +12,7 @@
12 12
     </head>
13 13
     <body data-ar-images="mage.webp">
14 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 16
             <a id="prev" href="#"></a>
17 17
             <a id="next" href="#"></a>
18 18
         </nav>

+ 5
- 0
docs/download.md Voir le fichier

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

+ 1
- 1
docs/tutorial/set-up-a-web-server.md Voir le fichier

@@ -7,7 +7,7 @@ Let's prepare our local environment in order to create our first WebAR experienc
7 7
 Let's create a file structure for our AR experience:
8 8
 
9 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 11
 3. Create a new empty file called `index.html` and store it in `ar-demo/`
12 12
 
13 13
 You will have the following file structure:

+ 12
- 0
docs_overrides/download.html Voir le fichier

@@ -0,0 +1,12 @@
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>

Chargement…
Annuler
Enregistrer