|
|
|
@ -11,8 +11,6 @@ export class Layout extends HTMLElement {
|
|
|
|
const style = document.createElement('style')
|
|
|
|
const style = document.createElement('style')
|
|
|
|
style.textContent = `
|
|
|
|
style.textContent = `
|
|
|
|
:host {
|
|
|
|
:host {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
height: 100dvh;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -47,10 +45,7 @@ export class Layout extends HTMLElement {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
get path() {
|
|
|
|
get path() {
|
|
|
|
return new URL(
|
|
|
|
return '/hello'
|
|
|
|
window.location.hash.slice(1) || '/',
|
|
|
|
|
|
|
|
window.location
|
|
|
|
|
|
|
|
).pathname
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
set editing(value) {
|
|
|
|
set editing(value) {
|
|
|
|
|