Skip to content

Commit

Permalink
Move script
Browse files Browse the repository at this point in the history
  • Loading branch information
xezno committed Jun 20, 2024
1 parent eb290b2 commit f0a2a5a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@
</head>

<body>
<script>
if (navigator.userAgent.indexOf('Mac OS') !== -1) {
document.body.classList.add('mac');
} else {
document.body.classList.add('non-mac');
}
</script>

<nav>
<i class="serif">Alex Guthrie</i>
</nav>
Expand Down Expand Up @@ -48,14 +56,6 @@ <h1 class="serif">
</section>

</main>

<script>
if (navigator.userAgent.indexOf('Mac OS') !== -1) {
document.body.classList.add('mac');
} else {
document.body.classList.add('non-mac');
}
</script>
</body>

</html>

0 comments on commit f0a2a5a

Please sign in to comment.