update site
This commit is contained in:
parent
e8c2808cc0
commit
3f250d4ed3
@ -6,11 +6,11 @@
|
|||||||
"parts": "parts"
|
"parts": "parts"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1680758443,
|
"lastModified": 1689376761,
|
||||||
"narHash": "sha256-MDokBU3VJbCHRDkgU2OzyuVlJcsaeIjVo7UTlFIBfHw=",
|
"narHash": "sha256-T3UBWQAqmMmsIpgNySzxlbel9UjREGQJPJDyGY8BUWQ=",
|
||||||
"ref": "refs/heads/master",
|
"ref": "refs/heads/master",
|
||||||
"rev": "3df7d11df595477a496df07086da693714cd7ffc",
|
"rev": "1f8450f6e4c42e2fd6204df95e513531001733b3",
|
||||||
"revCount": 70,
|
"revCount": 71,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.gaze.systems/dusk/html.nix.git"
|
"url": "https://git.gaze.systems/dusk/html.nix.git"
|
||||||
},
|
},
|
||||||
|
76
flake.nix
76
flake.nix
@ -31,6 +31,10 @@
|
|||||||
"posts" = "A listing of posts published on the website.";
|
"posts" = "A listing of posts published on the website.";
|
||||||
"_exporting_ssh_key_from_gpg" = "Instructions explaining how to export SSH keys from GPG.";
|
"_exporting_ssh_key_from_gpg" = "Instructions explaining how to export SSH keys from GPG.";
|
||||||
};
|
};
|
||||||
|
footerContent = ''
|
||||||
|
<div class="bg-svg"></div>
|
||||||
|
<div class="bg-svg-fg"></div>
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
templater = ctx:
|
templater = ctx:
|
||||||
l.pipe ctx [
|
l.pipe ctx [
|
||||||
@ -38,7 +42,77 @@
|
|||||||
(ctx:
|
(ctx:
|
||||||
l.recursiveUpdate ctx {
|
l.recursiveUpdate ctx {
|
||||||
site."resources"."icon.png" = ./src/resources/icon.png;
|
site."resources"."icon.png" = ./src/resources/icon.png;
|
||||||
})
|
site."resources"."wave.svg" = ./src/resources/wave.svg;
|
||||||
|
site."resources"."wavealt.svg" = ./src/resources/wave-alt.svg;
|
||||||
|
site."site.css" = ''
|
||||||
|
${ctx.site."site.css"}
|
||||||
|
|
||||||
|
.bg-svg, .bg-svg-fg {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100vw;
|
||||||
|
|
||||||
|
background-size: cover;
|
||||||
|
background-repeat: repeat-x;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bg-svg {
|
||||||
|
z-index: -2;
|
||||||
|
height: 50vh;
|
||||||
|
|
||||||
|
background-image: url(resources/wave.svg);
|
||||||
|
|
||||||
|
animation: move-svg 200s linear infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bg-svg-fg {
|
||||||
|
z-index: -1;
|
||||||
|
height: 40vh;
|
||||||
|
|
||||||
|
background-image: url(resources/wavealt.svg);
|
||||||
|
|
||||||
|
animation: move-svg 100s linear infinite reverse;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes move-svg {
|
||||||
|
0% {
|
||||||
|
background-position: 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
50% {
|
||||||
|
background-position: 100vw 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
100% {
|
||||||
|
background-position: 200vw 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background: #3d1f7a;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #007fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.novisited:visited {
|
||||||
|
color: #007fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:visited {
|
||||||
|
color: #bf40bf;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre,code {
|
||||||
|
background: #333;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
)
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
dev = html-nix.mkServeFromSite (site true);
|
dev = html-nix.mkServeFromSite (site true);
|
||||||
|
22
src/index.md
22
src/index.md
@ -1,20 +1,24 @@
|
|||||||
|
<style>
|
||||||
|
h6:before {
|
||||||
|
all: unset;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
# About
|
# About
|
||||||
|
|
||||||
Hi, I'm dusk (aka yusdacra)! This is where I post about stuff.
|
Hi, I'm dusk, a software engineer and aspiring game developer.
|
||||||
Feel free to send an e-mail or DM me on Matrix if you have anything to ask.
|
Feel free to send an e-mail or DM me on Matrix / Discord if you have anything to ask.
|
||||||
|
|
||||||
+ Contact:
|
+ Contact:
|
||||||
- Matrix: [@dusk:gaze.systems](https://matrix.to/#/@dusk:gaze.systems)
|
- Matrix: [@dusk:gaze.systems](https://matrix.to/#/@dusk:gaze.systems)
|
||||||
|
- Discord: yusdacra
|
||||||
- E-Mail: y.bera003.06@pm.me
|
- E-Mail: y.bera003.06@pm.me
|
||||||
- GitHub: <https://github.com/yusdacra>
|
|
||||||
- Gitea: <https://git.gaze.systems/dusk>
|
|
||||||
|
|
||||||
## Bio
|
## Bio
|
||||||
|
|
||||||
I love using Nix / NixOS for any kind of purpose, but mainly for DevOps.
|
I love using Nix / NixOS for anything.
|
||||||
I also use Rust and Zig for my hobby or other more serious projects.
|
I like developing with Rust and Zig for my hobby or work projects.
|
||||||
|
|
||||||
I work at [Platonic Systems](https://platonic.systems).
|
I love playing (and making) video games. Also a massive Splatoon nerd.
|
||||||
|
|
||||||
+ I use a NixOS system, you can [find my configuration here](https://git.gaze.systems/dusk/ark).
|
###### [This site's source is available here](https://git.gaze.systems/dusk/website).
|
||||||
+ [This site's source is available here](https://git.gaze.systems/dusk/website).
|
|
||||||
|
11
src/resources/wave-alt.svg
Normal file
11
src/resources/wave-alt.svg
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<svg id="wave" style="transform:rotate(0deg); transition: 0.3s" viewBox="0 0 1440 300" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:bx="https://boxy-svg.com">
|
||||||
|
<defs>
|
||||||
|
<linearGradient id="sw-gradient-0" x1="0" x2="0" y1="1" y2="0">
|
||||||
|
<stop stop-color="rgba(107, 213, 44, 1)" offset="0"/>
|
||||||
|
<stop stop-color="rgba(107, 213, 44, 1)" offset="1"/>
|
||||||
|
</linearGradient>
|
||||||
|
<bx:guide x="1441.0930872017134" y="165.14410770893244" angle="-90"/>
|
||||||
|
</defs>
|
||||||
|
<path style="transform:translate(0, 0px); opacity:1" fill="url(#sw-gradient-0)" d="M 0 165 L 26.7 150 C 72.192 120.938 119.554 60.623 160 60 C 213.294 59.179 267 120 320 155 C 373.3 190 427 200 480 215 C 533.3 230 587 250 640 225 C 693.3 200 747 130 800 130 C 853.3 130 907 200 960 190 C 1013.3 180 1067 90 1120 85 C 1173.3 80 1227.415 158.934 1280 180 C 1333.487 201.428 1389.415 178.414 1440 165 C 1491.746 151.279 1547 220 1600 200 C 1653.3 180 1707 90 1760 80 C 1813.3 70 1867 140 1920 180 C 1973.3 220 2027 230 2080 220 C 2133.3 210 2187 180 2240 170 C 2293.3 160 2347 170 2400 190 C 2453.3 210 2507 240 2560 245 C 2613.3 250 2667 230 2720 210 C 2773.3 190 2827 170 2880 155 C 2933.3 140 2987 130 3040 145 C 3093.3 160 3147 200 3200 195 C 3253.3 190 3307 140 3360 120 C 3413.3 100 3467 110 3520 115 C 3573.3 120 3627 120 3680 135 C 3733.3 150 3787 180 3813 195 L 3840 210 L 3840 300 L 3813.3 300 C 3786.7 300 3733 300 3680 300 C 3626.7 300 3573 300 3520 300 C 3466.7 300 3413 300 3360 300 C 3306.7 300 3253 300 3200 300 C 3146.7 300 3093 300 3040 300 C 2986.7 300 2933 300 2880 300 C 2826.7 300 2773 300 2720 300 C 2666.7 300 2613 300 2560 300 C 2506.7 300 2453 300 2400 300 C 2346.7 300 2293 300 2240 300 C 2186.7 300 2133 300 2080 300 C 2026.7 300 1973 300 1920 300 C 1866.7 300 1813 300 1760 300 C 1706.7 300 1653 300 1600 300 C 1546.7 300 1493 300 1440 300 C 1386.7 300 1333 300 1280 300 C 1226.7 300 1173 300 1120 300 C 1066.7 300 1013 300 960 300 C 906.7 300 853 300 800 300 C 746.7 300 693 300 640 300 C 586.7 300 533 300 480 300 C 426.7 300 373 300 320 300 C 266.7 300 213 300 160 300 C 106.7 300 53 300 27 300 L 0 300 L 0 165 Z"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 2.1 KiB |
10
src/resources/wave.svg
Normal file
10
src/resources/wave.svg
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<svg id="wave" style="transform:rotate(0deg); transition: 0.3s" viewBox="0 0 1440 430" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<defs>
|
||||||
|
<linearGradient id="sw-gradient-0" x1="0" x2="0" y1="1" y2="0">
|
||||||
|
<stop stop-color="rgba(107, 213, 44, 1)" offset="0"/>
|
||||||
|
<stop stop-color="rgba(80.792, 162.008, 32.523, 1)" offset="1"/>
|
||||||
|
</linearGradient>
|
||||||
|
</defs>
|
||||||
|
<path style="transform:translate(0, 0px); opacity:1" fill="url(#sw-gradient-0)" d="M 0 86 L 46.251 67.859 C 175.531 14.217 238.887 227.328 288 293.8 C 345.208 371.228 480 215 576 186.3 C 672 158 768 186 864 215 C 960 244 1055.968 271.887 1152 236.5 C 1248.032 201.113 1351.412 125.867 1440 86 C 1528.588 46.133 1632 143 1728 150.5 C 1824 158 1920 100 2016 71.7 C 2112 43 2208 43 2304 50.2 C 2400 57 2496 72 2592 129 C 2688 186 2784 287 2880 315.3 C 2976 344 3072 301 3168 243.7 C 3264 186 3360 115 3456 71.7 C 3552 29 3648 14 3744 50.2 C 3840 86 3936 172 4032 200.7 C 4128 229 4224 201 4320 179.2 C 4416 158 4512 143 4608 164.8 C 4704 186 4800 244 4896 229.3 C 4992 215 5088 129 5184 143.3 C 5280 158 5376 272 5472 329.7 C 5568 387 5664 387 5760 329.7 C 5856 272 5952 158 6048 143.3 C 6144 129 6240 215 6336 229.3 C 6432 244 6528 186 6624 143.3 C 6720 100 6816 72 6864 57.3 L 6912 43 L 6912 430 L 6864 430 C 6816 430 6720 430 6624 430 C 6528 430 6432 430 6336 430 C 6240 430 6144 430 6048 430 C 5952 430 5856 430 5760 430 C 5664 430 5568 430 5472 430 C 5376 430 5280 430 5184 430 C 5088 430 4992 430 4896 430 C 4800 430 4704 430 4608 430 C 4512 430 4416 430 4320 430 C 4224 430 4128 430 4032 430 C 3936 430 3840 430 3744 430 C 3648 430 3552 430 3456 430 C 3360 430 3264 430 3168 430 C 3072 430 2976 430 2880 430 C 2784 430 2688 430 2592 430 C 2496 430 2400 430 2304 430 C 2208 430 2112 430 2016 430 C 1920 430 1824 430 1728 430 C 1632 430 1536 430 1440 430 C 1344 430 1248 430 1152 430 C 1056 430 960 430 864 430 C 768 430 672 430 576 430 C 480 430 384 430 288 430 C 192 430 96 430 48 430 L 0 430 L 0 86 Z"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 2.0 KiB |
Loading…
Reference in New Issue
Block a user