v1.0
This commit is contained in:
parent
fdbe6c4fe7
commit
d2e2b24288
2
frmWrk
2
frmWrk
|
@ -1 +1 @@
|
||||||
Subproject commit 8917135a5513f22926ae079c375ae44dd398fd35
|
Subproject commit 72eff55c4c90d3c9d7a813cce26ee3ef3cca2f70
|
6
main.py
6
main.py
|
@ -1,9 +1,5 @@
|
||||||
import frmWrk.website
|
import frmWrk.website
|
||||||
import markdown
|
|
||||||
|
|
||||||
def router(method, path, headers):
|
webserver = frmWrk.website.WebServer("localhost", 3000, "./src/")
|
||||||
return "200 OK", "Hello".encode("utf-8"), {}
|
|
||||||
|
|
||||||
webserver = frmWrk.website.WebServer("localhost", 3000, "./src/", custom_router=router)
|
|
||||||
webserver.start()
|
webserver.start()
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,28 @@
|
||||||
h1 {
|
:root {
|
||||||
text-align: center;
|
--bg-color: #1e1e2e;
|
||||||
|
--text-color: #cdd6f4;
|
||||||
|
--link-color: #94e2d5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: Hack, monospace;
|
||||||
|
background-color: var(--bg-color);
|
||||||
|
color: var(--text-color);
|
||||||
|
padding: 5em;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: var(--link-color);
|
||||||
|
text-decoration: underline var(--bg-color) auto;
|
||||||
|
transition: all .5s;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
text-decoration: underline var(--link-color) auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
padding: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,15 +2,41 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8"/>
|
<meta charset="utf-8"/>
|
||||||
<title>Marked in the browser</title>
|
<title>Homepage</title>
|
||||||
<link rel="stylesheet" href="assets/main.css">
|
<link rel="stylesheet" href="assets/main.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/hack-font/3.3.0/web/hack.min.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="content"></div>
|
<h1>Vanten</h1>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
|
<p>Software dev, OSS enthusiast, server admin and 13 year old</p>
|
||||||
<script>
|
<h3>Socials</h1>
|
||||||
document.getElementById('content').innerHTML =
|
<ul>
|
||||||
marked.parse('# Marked in the browser\n\nRendered by **marked**.');
|
<li><a href="https://github.com/vanten-s" >Github</a></li>
|
||||||
</script>
|
<li><a href="mailto:vanten-s@vanten-s.com" >Mail</a></li>
|
||||||
|
<li><a rel="me" href="https://kolektiva.social/@vanten_s">Mastodon (kolektiva.social)</a></li>
|
||||||
|
<li>Matrix: @vanten-s:matrix.org</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h3>Weird computer thingys that I know</h3>
|
||||||
|
<ul>
|
||||||
|
<li>Rust</li>
|
||||||
|
<li>Python</li>
|
||||||
|
<li>C++</li>
|
||||||
|
<li>C</li>
|
||||||
|
<li>Java</li>
|
||||||
|
<li>Bash</li>
|
||||||
|
<li>Processor design</li>
|
||||||
|
<li>Server administration</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h3>Projects</h3>
|
||||||
|
<ul>
|
||||||
|
<li><a href="https://gitlab.vanten-s.com/vanten-s/vanten-s.com">This website</a></li>
|
||||||
|
<li><a href="https://github.com/vanten-s/frmWrk" >The webserver this is running on</a></li>
|
||||||
|
<li><a href="https://github.com/vanten-s/8bit-computer" >Pretty simple 8 bit processor</a></li>
|
||||||
|
</ul>
|
||||||
|
<img src="https://github-profile-summary-cards.vercel.app/api/cards/most-commit-language?username=vanten-s&theme=tokyonight">
|
||||||
|
<br>
|
||||||
|
<img src="https://github-profile-trophy.vercel.app/?username=vanten-s&theme=tokyonight"
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue