Add some snow ❄️i

Also get to play with some web components
This commit is contained in:
Jonny Barnes 2023-12-17 14:15:45 +00:00
parent d56a656d0a
commit 65a70a5440
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8
9 changed files with 496 additions and 2 deletions

View file

@ -30,6 +30,11 @@
<link rel="pgpkey" href="/assets/jonnybarnes-public-key-ecc.asc">
</head>
<body class="grid">
<is-land on:media="(prefers-reduced-motion: no-preference)">
<snow-fall
style="--snow-fall-color: oklch(36.14% 0.224 277.28)"
></snow-fall>
</is-land>
<header id="site-header">
<h1>
<a rel="author" href="/">{{ config('user.display_name') }}</a>
@ -73,6 +78,8 @@
<!--scripts go here when needed-->
@section('scripts')
<script type="module" src="/assets/frontent/is-land.js"></script>
<script type="module" src="/assets/frontend/snow-fall.js"></script>
<script src="/assets/app.js"></script>
@show
</body>