-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #91 from zevisert/staging
Release v1.5.1
- Loading branch information
Showing
8 changed files
with
5,621 additions
and
4,373 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
/** | ||
* @license | ||
* Copyright (c) Zev Isert, All rights reserved | ||
* This code is used under the licence available at https://github.com/zevisert/zuzi-site/LICENCE.txt | ||
*/ | ||
|
||
import { html } from '@polymer/lit-element'; | ||
import { PageViewElement } from '../page-view-element.js'; | ||
|
||
// These are the shared styles needed by this element. | ||
import { SharedStyles } from '../shared-styles.js'; | ||
|
||
class Virtual extends PageViewElement { | ||
|
||
static get is() { return 'virtual-tour-page'; } | ||
|
||
render() { | ||
return html` | ||
${SharedStyles} | ||
<style> | ||
article { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
height: auto; | ||
max-width: 1200px; | ||
margin: 0 auto; | ||
padding: 0; | ||
overflow: hidden; | ||
text-align: center; | ||
} | ||
iframe { | ||
overflow: hidden; | ||
height: 80vh; | ||
width: 100%; | ||
} | ||
</style> | ||
<section> | ||
<article> | ||
<span>November 2020 Art Show</span> | ||
<iframe | ||
width="100%" | ||
height="100%" | ||
src="https://my.matterport.com/show/?m=A8HFnGeF8Vz" | ||
frameborder="0" | ||
allowfullscreen | ||
allow="xr-spatial-tracking"> | ||
</iframe> | ||
</article> | ||
</section> | ||
`; | ||
} | ||
} | ||
|
||
window.customElements.define(Virtual.is, Virtual); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,6 @@ export const pages = { | |
cart: "cart", | ||
login: "login", | ||
admin: "admin", | ||
tour: "tour", | ||
none: "no-view" | ||
}; |