From 0e8aec2ee02d08aee2ce25e2d61a00b66cebec4c Mon Sep 17 00:00:00 2001 From: m1kadev <67912368+m1kadev@users.noreply.github.com> Date: Tue, 9 Dec 2025 11:03:54 +0100 Subject: [PATCH] yayy --- .gitignore | 25 +------------------------ build.exs | 6 +++--- src/index.css | 24 +++++++++++++++++++++--- src/index.html | 31 +++++++++++++++++++++++++------ src/index.js | 10 ++++++++-- 5 files changed, 58 insertions(+), 38 deletions(-) diff --git a/.gitignore b/.gitignore index 80c76c0b8b9d99f0fc815e94398381cf87287ef4..42afabfd2abebf31384ca7797186a27a4b7dbee8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,24 +1 @@ -# The directory Mix will write compiled artifacts to. -/_build/ - -# If you run "mix test --cover", coverage assets end up here. -/cover/ - -# The directory Mix downloads your dependencies sources to. -/deps/ - -# Where third-party dependencies like ExDoc output generated docs. -/doc/ - -# Temporary files, for example, from tests. -/tmp/ - -# If the VM crashes, it generates a dump, let's ignore it too. -erl_crash.dump - -# Also ignore archive artifacts (built via "mix archive.build"). -*.ez - -# Ignore package tarball (built via "mix hex.build"). -www-*.tar - +/build \ No newline at end of file diff --git a/build.exs b/build.exs index 79f2d087f41201634004923239c6adde46204a6f..13c46e689d68fddd9de400e8c2d454f3b96d728c 100644 --- a/build.exs +++ b/build.exs @@ -1,6 +1,6 @@ -defmodule Builders do - require EEx +require EEx +defmodule Builders do binfo_template = """ commit=<%= commit %> lightningcss=<%= lightningcss %> @@ -14,7 +14,7 @@ defmodule Builders do System.cmd("html-minifier-next", [ "--preset", - "comprehensive", + "conservative", "-o", output_path, input_path diff --git a/src/index.css b/src/index.css index 6e3581ea3895aa405f7814143e308830991f0289..57da470d706bd14200c791e1888f684420d0135e 100644 --- a/src/index.css +++ b/src/index.css @@ -45,15 +45,15 @@ h1 { width: 100vw; } -#main-focus>h2 { +main>h2 { font-weight: normal; } -#main-focus>p { +main>p { font-weight: lighter; } -#main-focus { +main { background-color: #00000080; width: 50vw; margin: auto; @@ -67,4 +67,22 @@ footer { #lynx { justify-content: right; +} + +a { + color: var(--txt-colour); +} + +h1, +h2, +h3, +h4, +h5, +h6 { + text-decoration: underline #ffffff80; +} + +#mark>h1, +#mark>h3 { + text-decoration: none; } \ No newline at end of file diff --git a/src/index.html b/src/index.html index a5cfedac5af9c2ee2f290d306ed588741ff97bca..4f8d9978c283bf348c28e2d3477b92995b3d441e 100644 --- a/src/index.html +++ b/src/index.html @@ -6,7 +6,9 @@ home - m1kadev.nl - + + @@ -15,12 +17,29 @@

m1kadev

-
+

Haii :3 i'm mika

- i'm mika (stylised as m1ka, also m1kadev). i'm your favourite dutch persons favourite dutch person. big - fan of rust too. you can reach out to me per e-mail as linked in my github profile. i also respond to - discord dms over at m1kadev there. + haiii!!! i'm mika (also m1ka, m1kadev). i'm a (mostly backend) developer from The Netherlands. i'm also a big fan of making + drinks & cooking. +

+

about me

+

+ i do vwo (dutch A-levels) phyiscs in the greater rotterdam area. i've been working on fxg, a markup language in rust. also, i've been playing around with functional programming + (mostly in elixir). +

+

+ Together with 3 other friends, we run {du}punkto +

+

contact

+

+ you can reach me at m1kadev on discord, or on my email address at +


+                    format!("{2}@{0}.{1}", "dupunkto", "org", "mika")
+            


-
+ diff --git a/src/index.js b/src/index.js index 831ff71bf979b51ffadbaa4a4af3371b7d255a82..cdcc8c8cdc25f5a84064e7295416a013b596f896 100644 --- a/src/index.js +++ b/src/index.js @@ -1,10 +1,16 @@ const fromCommit = document.getElementById("from-commit"); const buildDate = document.getElementById("build-date"); +import hljs from 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/es/highlight.min.js'; +import rust from 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/es/languages/rust.min.js'; + +hljs.registerLanguage('rust', rust); +hljs.highlightAll(); + fetch("/info.txt").then(async data => { const res = await data.text(); let map = new Map(); res.split("\n").map(x => x.split("=", 2)).map(([k, v]) => map[k] = v); - fromCommit.innerHTML = " " + map["commit"].substr(0, 8); - buildDate.innerHTML = " " + map["build_time"]; + fromCommit.innerHTML = map["commit"].substr(0, 8); + buildDate.innerHTML = map["build_time"]; });