Compare commits

...

4 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
2d0ec47679 fix markdown css 2024-11-23 22:58:11 +01:00
fd4463683d no more flashbang 😔 2024-11-23 22:58:05 +01:00
11 changed files with 50 additions and 13 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>
<!--# include virtual="/components/footer.html" -->
</body>
</html>

View File

@@ -14,7 +14,6 @@
<h1><a class="reference" id="notes" href="#notes">Notes</a></h1>
<p>This will just contain markdown notes about academic stuff. Will try to use nice web stuff as much as
possible, like idk, integrate qalc graphs and that into formulas or smth.</p>
<p>FLASHBANG ALERT!</p>
<ul class="row-ul">
<li><a href="math">math</a></li>
<li><a href="physics">physics</a></li>
@@ -24,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>

View File

@@ -1,4 +1,6 @@
@import url('/styles/common.css');
@import url('/styles/variables.css');
@import url('/styles/scrollbar.css');
@import url('/styles/classes/breaks.css');
@import url('/styles/classes/flex.css');
@import url('/styles/classes/ul-directions.css');

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>