Compare commits

...

2 Commits

Author SHA1 Message Date
e5a16b20d4 add 3rs-orbit 2024-11-24 02:03:06 +01:00
c3f4363091 make footer a shared component 2024-11-24 01:53:55 +01:00
10 changed files with 48 additions and 12 deletions

11
components/footer.html Normal file
View File

@@ -0,0 +1,11 @@
<footer class="flex row space-between">
<div></div>
<div>
<p>
I hate web-dev, but ig it's cool to have a website
<br />
and no, no <i>light</i> mode, I have enough with this
</p>
</div>
<div><a href="https://git.javalsai.dynv6.net/javalsai/website">source</a></div>
</footer>

View File

@@ -1,4 +1,5 @@
</main>
</body>
<!--# include virtual="/components/footer.html" -->
</html>

View File

@@ -15,5 +15,6 @@
</head>
<body class="flex column">
<!--TODO: add a file nav on the left, likely just iframe upper dir, should be autoinex-->
<!--# include virtual="/components/header.html" -->
<main>

View File

@@ -104,17 +104,7 @@
</div>
</div>
</main>
<footer class="flex row space-between">
<div></div>
<div>
<p>
I hate web-dev, but ig it's cool to have a website
<br />
and no, no <i>light</i> mode, I have enough with this
</p>
</div>
<div><a href="https://git.javalsai.dynv6.net/javalsai/website">source</a></div>
</footer>
</body>
<!--# include virtual="/components/footer.html" -->
</body>
</html>

View File

@@ -23,6 +23,7 @@
<code>U&lt;unit&gt;_&lt;name&gt;.&lt;md/html&gt;</code></p>
<p>Also, example of the markdown to html thing right now, from <a href="example.md">this</a> to <a href="example.html">this</a></p>
</main>
<!--# include virtual="/components/footer.html" -->
</body>
</html>

1
tools/3rs-orbit/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
/pkg

View File

@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type"/>
<script type="module" src="index.js"></script>
<style>
html, body {
height: 100%;
}
</style>
</head>
<body>
<button id="open-computer">Open From Computer</button>
<canvas style="position: absolute;top:0;bottom: 0;left: 0;right: 0;margin:auto;"></canvas>
<canvas style="position: absolute;top:0;bottom: 0;left: 600;right: 0;margin:auto;"></canvas>
</body>
</html>

11
tools/3rs-orbit/index.js Normal file
View File

@@ -0,0 +1,11 @@
import init from './pkg/web.js';
async function run() {
try {
await init();
} catch(e) {
console.error(e);
}
}
run();

View File

@@ -15,8 +15,10 @@
<p>This is just a collection of tools or stuff I've made, out there for any to use.</p>
<ul>
<li><a href="qalc">qalc</a> - Popular libqalculate tool compiled for the web</li>
<li><a href="3rs-orbit">3rs-orbit</a> - Just <a href="https://github.com/javalsai/3rs-orbit/">a wasm project</a> built and hosted on my website to test it. Prob not the at the latest commit.</li>
</ul>
</main>
<!--# include virtual="/components/footer.html" -->
</body>
</html>

View File

@@ -19,6 +19,7 @@
<a href="flaviut">live example</a>
</p>
</main>
<!--# include virtual="/components/footer.html" -->
</body>
</html>