Move hotspots to separate service

This commit is contained in:
2024-04-14 11:16:04 -05:00
parent 6dbb44f5c0
commit 7ae923d58f
11 changed files with 38 additions and 2421 deletions

View File

@@ -39,10 +39,6 @@
gtag("config", "G-E2V93W9CNV");
</script>
<link
rel="stylesheet"
href="{{ url_for('static', filename='css/hotspots.css') }}"
/>
<link
rel="stylesheet"
href="{{ url_for('static', filename='css/App.css') }}"
@@ -57,29 +53,15 @@
/>
<link rel="canonical" href="https://asimonson.com{{ var['canonical'] }}" />
<link defer
rel="stylesheet"
href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css"
integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY="
crossorigin=""
/>
<script defer
src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"
integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo="
crossorigin=""
></script>
<script defer src="{{ url_for('static', filename='js/lib/leaflet-providers.js') }}"></script>
<script defer src="{{ url_for('static', filename='js/lib/CUSTOM.leaflet.curve.js') }}"></script>
<script src="{{ url_for('static', filename='js/checkbox.js') }}"></script>
<script src="{{ url_for('static', filename='js/responsive.js') }}"></script>
<script src="{{ url_for('static', filename='js/chessbed.js') }}"></script>
<title>{{ var['title'] }}</title>
</head>
{% block header %}
<body onpopstate="backButton()">
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="map"></div>
<script defer src="{{ url_for('static', filename='js/hotspots.js') }}"></script>
<iframe src="/hotspots" title="HotspotsRIT" id="map"></iframe>
<div class="App">
<div class="header">
<div id="name-container" onclick="goto('home', {toggle:false})">
@@ -115,7 +97,12 @@
</div>
</div>
</div>
{% endblock %}
{% block content%}
<div id="root">{% include var['template'] %}</div>
{% endblock %}
{% block footer %}
<div class="footer">{% include 'partials/socials.html' %}</div>
{% endblock %}
</body>
</html>

View File

@@ -0,0 +1,4 @@
{% extends "header.html" %}
{% block header %}{% endblock %}
{% block footer %}{% endblock %}
{% block content %}<iframe id="fullIframe" src="{{ url }}" title="HotspotsRIT"></iframe>{% endblock %}