Astro audit
Some checks failed
Deploy Astro / Build and Deploy (push) Has been cancelled

This commit is contained in:
Daniel Kluge 2024-03-03 16:06:35 +01:00
parent e339b21f66
commit c2d70f0988
No known key found for this signature in database
3 changed files with 17 additions and 4 deletions

View File

@ -7,7 +7,7 @@ import logo from "./logo.png";
<nav class="navigation">
<a href="/" class="nostyle imgContainer">
<Image src={logo} alt="Logo" class="logoImg" />
<Image src={logo} alt="Logo" class="logoImg" loading="eager" />
</a>
<div class="navLink">
<a href="/" class="nostyle">

View File

@ -15,7 +15,7 @@ const age = new Date().getFullYear() - 1998 - (new Date().getMonth() <= 10 ? 1 :
<Layout title="About me">
<h1>This is me.</h1>
<div class="photo">
<Image src={pic} alt="Me" />
<Image src={pic} alt="Me" loading="eager" />
</div>
<div class="personal">
<p class="preText">
@ -67,6 +67,7 @@ const age = new Date().getFullYear() - 1998 - (new Date().getMonth() <= 10 ? 1 :
target="_blank"
rel="noreferrer"
class="nocolor"
aria-label={`Link to my ${social.name} profile`}
>
<Icon name={social.icon} class="icon-2em" />
</a>

View File

@ -7,7 +7,7 @@ const screenVersion = `${date.getFullYear()}${date.getMonth()+1}${date.getDate()
const wasmVersion = wasmData.version;
---
<Layout title="Terminal">
<Layout title="Terminal" showAfterMain>
<div class="screen" data-terminal-screen>
<div data-terminal-output>
<noscript><pre>You need to enable JavaScript to use this terminal.</pre></noscript>
@ -29,12 +29,16 @@ const wasmVersion = wasmData.version;
@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@</pre>
</div>
<div class="input"><pre class="user">user@cer0</pre><pre>:</pre><pre class="pwd">/</pre><pre class="dollar">$&nbsp;</pre><input type="text" data-terminal-input autofocus /></div>
<div class="input"><pre class="user">user@cer0</pre><pre>:</pre><pre class="pwd">/</pre><pre class="dollar">$&nbsp;</pre><input type="text" data-terminal-input /></div>
</div>
<template data-terminal-user-cmd>
<pre><pre class="user">user@cer0</pre><pre>:</pre><pre class="pwd"></pre><pre class="dollar">$&nbsp;</pre><pre class="user-cmd"></pre></pre>
</template>
<div slot="after-main" class="more">
Read more about the development of this terminal&nbsp;<a href="/blog/wasm-terminal" class="nocolor">here</a>.
</div>
</Layout>
<script>
@ -184,4 +188,12 @@ const wasmVersion = wasmData.version;
}
}
.more {
display: flex;
justify-content: center;
align-items: center;
font-style: italic;
padding: 5px;
}
</style>