lostplaces-frontend/components/_preview.hbs

23 lines
688 B
Handlebars
Raw Normal View History

2020-07-17 17:55:46 +02:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
2020-08-07 11:24:00 +02:00
<link rel="stylesheet" href="{{ path '/main.css' }}">
2020-07-17 17:55:46 +02:00
<title>Preview</title>
<script>
document.addEventListener("DOMContentLoaded", function(){
Array.from(document.getElementsByClassName('LP-Main__Sidebar')).forEach(function(element){
element.classList.add('LP-Main__Sidebar--hidden')
})
setTimeout(function(){
Array.from(document.getElementsByClassName('LP-Main__Sidebar')).forEach(function(element){
element.classList.remove('LP-Main__Sidebar--hidden')
})
}, 500)
})
</script>
2020-07-17 17:55:46 +02:00
</head>
<body>
2020-08-01 00:27:55 +02:00
{{{ yield }}}
2020-07-17 17:55:46 +02:00
</body>
</html>