hs-mortality: much photopea work done
This commit is contained in:
parent
37e516f6fe
commit
221e65e2e8
5 changed files with 29 additions and 0 deletions
|
@ -137,3 +137,5 @@ export function shuffle<T>(array: T[]): T[] {
|
||||||
export function n_of<T>(n: number, x: T): T[] {
|
export function n_of<T>(n: number, x: T): T[] {
|
||||||
return new Array(n).fill(x);
|
return new Array(n).fill(x);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const static_url = (res: string) => `https://static.pyrope.net/${res}`;
|
||||||
|
|
27
html/hs-mortality.tsx
Normal file
27
html/hs-mortality.tsx
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
// https://mspaintadventures.fandom.com/wiki/Mortality
|
||||||
|
// bobbing would be great...
|
||||||
|
// ^ requires a bit too much artistry to fill in the gaps i fear
|
||||||
|
// ^ or just. clone stamp that could work
|
||||||
|
// ^ it did, yay! :D
|
||||||
|
// bit of code i used on this page that i felt proud of:
|
||||||
|
// https://homestuck.net/img/resources/assets/uncategorized-assets/
|
||||||
|
// document.querySelectorAll("a").forEach(a => {
|
||||||
|
// const img = document.createElement("img");
|
||||||
|
// img.src = a.href;
|
||||||
|
// a.insertAdjacentElement("afterend", img);
|
||||||
|
// })
|
||||||
|
|
||||||
|
import { render_and_copy, static_url } from "./common.tsx";
|
||||||
|
|
||||||
|
render_and_copy(
|
||||||
|
<img
|
||||||
|
src={static_url("homestuck-3853-transparent.png")}
|
||||||
|
alt="TODO TODO TODO TODO TODO TODO TODO TODO TODO TODO"
|
||||||
|
style={{
|
||||||
|
background:
|
||||||
|
// TODO: don't hotlink, actually find the right thing
|
||||||
|
// this might be good enough tm
|
||||||
|
"url(https://homestuck.net/img/resources/assets/incipisphere-assets/35%20-%20eCjrT.png) fixed;",
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
);
|
BIN
static/homestuck-3853-egbertful.png
Normal file
BIN
static/homestuck-3853-egbertful.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 92 KiB |
BIN
static/homestuck-3853-transparent-egbertless.png
Normal file
BIN
static/homestuck-3853-transparent-egbertless.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 77 KiB |
BIN
static/homestuck-3853-transparent.png
Normal file
BIN
static/homestuck-3853-transparent.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 84 KiB |
Loading…
Reference in a new issue