Skip to content

Commit b52d7a3

Browse files
committed
update globe
1 parent 1662097 commit b52d7a3

2 files changed

Lines changed: 16 additions & 8 deletions

File tree

index.html

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
<div id="about-bg"></div>
4343

4444
<div class="container about-wrap hover-sheen">
45-
<!-- <div class="about-media">
46-
<img src="./images/profile.jpg" alt="Danny Wang" class="avatar" />
47-
</div> -->
45+
<div class="about-media">
46+
<!-- <img src="./images/profile.jpg" alt="Danny Wang" class="avatar" /> -->
47+
</div>
4848
<div class="about-text">
4949
<h1>Danny Wang</h1>
5050
<h2><span id="typed-text"></span></h2>
@@ -234,12 +234,10 @@ <h3 id="modal-title"></h3>
234234
<!-- ClustrMaps compact badge -->
235235
<div id="clustrmaps-widget">
236236
<script
237+
type="text/javascript"
237238
id="clstr_globe"
238-
src="//clustrmaps.com/globe.js?d=Z_eDdxmRmKJNB-6CkD-fuNodpz-v23QtWbpWgEUEaiE"
239-
async defer></script>
240-
<noscript>
241-
<a href="https://clustrmaps.com/site/your-site" rel="noopener" target="_blank">Visitor Map</a>
242-
</noscript>
239+
src="https://clustrmaps.com/globe.js?d=Z_eDdxmRmKJNB-6CkD-fuNodpz-v23QtWbpWgEUEaiE">
240+
</script>
243241
</div>
244242
</div>
245243
</footer>

styles.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,3 +291,13 @@ a:hover{opacity:.9}
291291
/* Footer layout with globe at right */
292292
.footer-flex{display:flex;align-items:center;justify-content:space-between;gap:16px}
293293
#clustrmaps-widget{display:flex;align-items:center;justify-content:center}
294+
#clustrmaps-widget { width: 260px; height: 160px; }
295+
#clustrmaps-widget canvas { width: 100% !important; height: 100% !important; display: block; }
296+
297+
#clstr_globe {
298+
width: 250px; /* or whatever fits your footer */
299+
height: 150px;
300+
display: block;
301+
margin: 0 auto;
302+
}
303+

0 commit comments

Comments
 (0)