@a2f0/skyline 0.2.44 → 0.2.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/docs/package.md
CHANGED
|
@@ -56,7 +56,8 @@ bun add /tmp/a2f0-skyline-<version>.tgz
|
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
The tarball includes `lib/` (ESM and declarations), `site/` (the complete static
|
|
59
|
-
viewer), package documentation, and third-party notices.
|
|
59
|
+
viewer), package documentation, and third-party notices. The standalone site's favicons are
|
|
60
|
+
not part of `site/` ([why](#copy-the-viewer-assets)). Sources, test fixtures,
|
|
60
61
|
credentials, deployment configuration, and the unused source photograph are
|
|
61
62
|
excluded. No viewer assets load from a CDN.
|
|
62
63
|
|
|
@@ -109,6 +110,13 @@ await copySkylineAssets('./public/skyline');
|
|
|
109
110
|
```
|
|
110
111
|
|
|
111
112
|
Serve that directory over HTTP at `/skyline/`, preserving all its relative paths.
|
|
113
|
+
The copy holds no favicons. Its pages link `/favicon.ico`, `/favicon.svg` and
|
|
114
|
+
`/apple-touch-icon.png` at the origin's root, so a page opened from the copy shows the
|
|
115
|
+
host's own icons, as long as the host serves those three files; the mounted viewer never
|
|
116
|
+
requests them. The standalone site renders its own icons at deploy time.
|
|
117
|
+
Every page in the copy carries `<meta name="robots" content="noindex">`, as on the standalone
|
|
118
|
+
site, so search engines leave the copied pages out wherever they are served. The copy holds no
|
|
119
|
+
`_headers` file either; the response headers it is served with are the host's.
|
|
112
120
|
The helper copies files into the supplied directory; it does not clear unrelated
|
|
113
121
|
files already there. Use a dedicated directory for these assets, and clear it before
|
|
114
122
|
copying an upgrade, so files a new version dropped do not linger. All the viewer's
|
package/package.json
CHANGED
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
6
|
<meta name="robots" content="noindex" />
|
|
7
7
|
<meta name="theme-color" content="#080808" />
|
|
8
|
-
<link rel="icon" href="
|
|
8
|
+
<link rel="icon" href="/favicon.ico" sizes="any" />
|
|
9
|
+
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
|
|
10
|
+
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
|
9
11
|
<title>Building Detail — Chicago Skyline</title>
|
|
10
12
|
<link rel="stylesheet" href="study.css" />
|
|
11
13
|
<!-- Framed by another page, the page leaves its links to the frame's own controls. -->
|
package/site/building-study.html
CHANGED
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
6
|
<meta name="robots" content="noindex" />
|
|
7
7
|
<meta name="theme-color" content="#080808" />
|
|
8
|
-
<link rel="icon" href="
|
|
8
|
+
<link rel="icon" href="/favicon.ico" sizes="any" />
|
|
9
|
+
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
|
|
10
|
+
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
|
9
11
|
<title>Crain Communications Building — 3D Study</title>
|
|
10
12
|
<link rel="stylesheet" href="study.css" />
|
|
11
13
|
<script type="module" src="click-tracking-page.js"></script>
|
package/site/index.html
CHANGED
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
6
|
<meta name="robots" content="noindex" />
|
|
7
7
|
<meta name="theme-color" content="#000000" />
|
|
8
|
-
<link rel="icon" href="
|
|
8
|
+
<link rel="icon" href="/favicon.ico" sizes="any" />
|
|
9
|
+
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
|
|
10
|
+
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
|
9
11
|
<title>Chicago Skyline — Living Night</title>
|
|
10
12
|
<!-- viewer-page.js mounts the viewer from skyline-viewer.js, its styles and skyline-3d.html,
|
|
11
13
|
and starts the scene's code; fetch them alongside it. -->
|
package/site/skyline-3d.html
CHANGED
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
6
|
<meta name="robots" content="noindex" />
|
|
7
7
|
<meta name="theme-color" content="#000000" />
|
|
8
|
-
<link rel="icon" href="
|
|
8
|
+
<link rel="icon" href="/favicon.ico" sizes="any" />
|
|
9
|
+
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
|
|
10
|
+
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
|
9
11
|
<link rel="stylesheet" href="study.css" />
|
|
10
12
|
<title>3D Chicago Skyline</title>
|
|
11
13
|
<script type="module" src="click-tracking-page.js"></script>
|
package/site/skyline-study.html
CHANGED
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
6
|
<meta name="robots" content="noindex" />
|
|
7
7
|
<meta name="theme-color" content="#080808" />
|
|
8
|
-
<link rel="icon" href="
|
|
8
|
+
<link rel="icon" href="/favicon.ico" sizes="any" />
|
|
9
|
+
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
|
|
10
|
+
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
|
9
11
|
<link rel="stylesheet" href="study.css" />
|
|
10
12
|
<title>Thirty-four on the skyline — Skyline Study</title>
|
|
11
13
|
<script type="module" src="click-tracking-page.js"></script>
|
package/site/skyline-webgl.html
CHANGED
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
6
|
<meta name="robots" content="noindex" />
|
|
7
|
+
<link rel="icon" href="/favicon.ico" sizes="any" />
|
|
8
|
+
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
|
|
9
|
+
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
|
7
10
|
<title>WebGL Chicago Skyline Prototype</title>
|
|
8
11
|
<style>
|
|
9
12
|
:root {
|