Skip to content

Commit 9e9499b

Browse files
committed
Optimize Clustrmaps globe display: reduce size and reposition to avoid overlapping copyright info
1 parent 47ece5b commit 9e9499b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/layouts/Layout.astro

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,15 @@ const { title = 'Chen Yang — Academic Homepage', description = 'Research, publ
5252
<slot />
5353
</main>
5454

55+
<!-- Clustrmaps Globe -->
56+
<div class="border-t border-slate-200/60 dark:border-slate-800/60 py-10">
57+
<div class="mx-auto max-w-6xl px-5">
58+
<div class="flex justify-center">
59+
<script type="text/javascript" id="clstr_globe" src="//clustrmaps.com/globe.js?d=pV71LnC71IrfEBQZBzoLe3YrtnJhQ5qtWT6to28Cu4o&w=300&h=300"></script>
60+
</div>
61+
</div>
62+
</div>
63+
5564
<footer class="border-t border-slate-200/60 dark:border-slate-800/60 py-10">
5665
<div class="mx-auto max-w-6xl px-5 text-sm text-slate-500 dark:text-slate-400">
5766
© {new Date().getFullYear()} Chen Yang. All rights reserved.
@@ -80,6 +89,5 @@ const { title = 'Chen Yang — Academic Homepage', description = 'Research, publ
8089
});
8190
});
8291
</script>
83-
<script type="text/javascript" id="clstr_globe" src="//clustrmaps.com/globe.js?d=pV71LnC71IrfEBQZBzoLe3YrtnJhQ5qtWT6to28Cu4o"></script>
8492
</body>
8593
</html>

0 commit comments

Comments
 (0)