Spaces:
Running

MakWork commited on
Commit
09a68ed
·
verified ·
1 Parent(s): f56410f

поменяй это <!-- Panorama Section -->

Browse files

<section class="py-20 bg-white">
<div class="container mx-auto px-4">
<h2 class="text-4xl font-bold text-center mb-16 text-gray-800">Панорама мемориального комплекса</h2>
<div class="flex justify-center">
<div style="position:relative;overflow:hidden;width:100%;max-width:800px;height:500px;border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,0.2);">
<a href="https://yandex.ru/maps/org/memorialny_kompleks_voinam_osvoboditelyam/164494995337/?utm_medium=mapframe&utm_source=maps" style="color:#eee;font-size:12px;position:absolute;top:0px;">Мемориальный комплекс Воинам-освободителям</a>
<a href="https://yandex.ru/maps/39/rostov-na-donu/category/monument_memorial/137236877779/?utm_medium=mapframe&utm_source=maps" style="color:#eee;font-size:12px;position:absolute;top:14px;">Памятник, мемориал в Ростове‑на‑Дону</a>
<a href="https://yandex.ru/maps/39/rostov-na-donu/category/genre_sculpture/89667445721/?utm_medium=mapframe&utm_source=maps" style="color:#eee;font-size:12px;position:absolute;top:28px;">Жанровая скульптура в Ростове‑на‑Дону</a>
<iframe src="https://yandex.ru/map-widget/v1/?ll=39.747019%2C47.226704&mode=search&panorama%5Bdirection%5D=346.171151%2C10.839125&panorama%5Bfull%5D=true&panorama%5Bpoint%5D=39.746204%2C47.225458&panorama%5Bspan%5D=114.501405%2C60.000000&poi%5Bpoint%5D=39.745842%2C47.225952&poi%5Buri%5D=ymapsbm1%3A%2F%2Forg%3Foid%3D164494995337&sctx=ZAAAAAgBEAAaKAoSCUZ4exAC3ENAEdqSVRFunEdAEhIJj3IwmwDD3j8RVd6OcFrwyD8iBgABAgMEBSgKOABAiM0GSAFqAnJ1nQHNzMw9oAEAqAEAvQG%2FEJilwgEFuJSJ62OCAgzRgdGC0LXQu9C70LCKAgCSAgCaAgxkZXNrdG9wLW1hcHM%3D&sll=39.745757%2C47.226704&source=serp_navig&sspn=0.002873%2C0.003717&text=%D1%81%D1%82%D0%B5%D0%BB%D0%BB%D0%B0&z=17.71" width="100%" height="100%" frameborder="1" allowfullscreen="true" style="position:relative;"></iframe>
</div>
</div>
</div>
</section> на это <!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hot spots</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/pannellum@2.5.6/build/pannellum.css"/>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/pannellum@2.5.6/build/pannellum.js"></script>
<style>
html {
height: 100%
}
body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
position: fixed;
cursor: default;
}
#panorama {
width: 100%;
height: 100%;
}
</style>
</head>
<body>

<div id="panorama"></div>
<script>
pannellum.viewer('panorama', {
"autoLoad": true,
"type": "equirectangular",
"panorama": "https://raw.githubusercontent.com//NceSova/Questions/3ed8bb1dd81d486db4eb3412bb5fccba54099ba0/PXL_20240314_103139315.PHOTOSPHERE.jpg",
"hotSpotDebug": true,
"hotSpots": [
{
"pitch": 3.05,
"yaw": 4.6,
"type": "info",
"text": "Магическая ортонда",
}
]
});
</script>

</body>
</html>

1 file changed +30 -16
index.html+30-16