Skip to content

Commit

Permalink
i pee freely
Browse files Browse the repository at this point in the history
  • Loading branch information
AshSimmonds authored Jun 25, 2024
1 parent ac44cb0 commit 66720c1
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ const rightMeowTimeDateFriendly = rightMeow.toLocaleString(undefined, {
hour12: false,
minute: "2-digit",
});
const detectedIp = Astro.clientAddress;
---

<script type="text/javascript">
Expand Down Expand Up @@ -56,9 +59,17 @@ const rightMeowTimeDateFriendly = rightMeow.toLocaleString(undefined, {
<DefaultLayout>
<a
href="https://github.com/AshSimmonds/homey/edit/main/src/pages/index.astro"
style="float:right; font-size: xx-small;"
>Updated: {rightMeowTimeDateFriendly} GMT</a
style=""
>
Updated: {rightMeowTimeDateFriendly} GMT
</a>

<a
href="https://www.whatismyip.com/ip/{detectedIp}"
style=""
>
IP: {detectedIp}
</a>

<div class="container mx-auto text-center">
<h2 class="align">TODO</h2>
Expand Down

0 comments on commit 66720c1

Please sign in to comment.