mortality: peek behind the curtain
This commit is contained in:
parent
ea770df10d
commit
7b60773c97
2 changed files with 50 additions and 4 deletions
|
@ -430,3 +430,25 @@ export const string_split_once = (
|
||||||
if (idx < 0) return;
|
if (idx < 0) return;
|
||||||
return [str.slice(0, idx), str.slice(idx + on.length)];
|
return [str.slice(0, idx), str.slice(idx + on.length)];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// TODO: not stringly-typed style
|
||||||
|
export const HomestuckSpan = ({
|
||||||
|
children,
|
||||||
|
color,
|
||||||
|
style,
|
||||||
|
}: {
|
||||||
|
children: ComponentChildren;
|
||||||
|
color?: string;
|
||||||
|
style?: JSX.CSSProperties;
|
||||||
|
attributes?: JSX.HTMLAttributes;
|
||||||
|
}) => (
|
||||||
|
<span
|
||||||
|
style={{
|
||||||
|
fontFamily: "'courier-std', courier, monospace",
|
||||||
|
fontWeight: "bold",
|
||||||
|
...{ color },
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
{...toChildArray(children)}
|
||||||
|
</span>
|
||||||
|
);
|
||||||
|
|
|
@ -12,10 +12,18 @@
|
||||||
// })
|
// })
|
||||||
// didn't find anything there btw
|
// didn't find anything there btw
|
||||||
// pretty hopeless to try to recreate the pulsing light
|
// pretty hopeless to try to recreate the pulsing light
|
||||||
|
// ^ a gif would have worked lel
|
||||||
|
// ^ but, again, artistry
|
||||||
|
|
||||||
import { Main, render_and_copy, static_url } from "./common.tsx";
|
import {
|
||||||
|
DragResizableImage,
|
||||||
|
HomestuckSpan,
|
||||||
|
Main,
|
||||||
|
render_and_copy,
|
||||||
|
static_url,
|
||||||
|
} from "./common.tsx";
|
||||||
|
|
||||||
// TODO: rip a hole in the panel (for blood on back)
|
// DONE: rip a hole in the panel (for blood on back)
|
||||||
render_and_copy(
|
render_and_copy(
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
|
@ -26,6 +34,14 @@ render_and_copy(
|
||||||
gridTemplateRows: "1fr",
|
gridTemplateRows: "1fr",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
<DragResizableImage
|
||||||
|
url={static_url("homestuck-3853-egbertful.png")}
|
||||||
|
width={650}
|
||||||
|
height={650}
|
||||||
|
top={0}
|
||||||
|
left={0}
|
||||||
|
indicator_opacity={0.6}
|
||||||
|
/>
|
||||||
<img
|
<img
|
||||||
id="panel"
|
id="panel"
|
||||||
src={static_url("homestuck-3853-transparent-egbertless.png")}
|
src={static_url("homestuck-3853-transparent-egbertless.png")}
|
||||||
|
@ -36,7 +52,7 @@ render_and_copy(
|
||||||
aspectRatio: 1,
|
aspectRatio: 1,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<img
|
{/* <img
|
||||||
id="egbert"
|
id="egbert"
|
||||||
src={static_url("homestuck-3853-egbertful.png")}
|
src={static_url("homestuck-3853-egbertful.png")}
|
||||||
alt="part of page 3853 of homestuck. egbert's silhouette with colorful tendrils all around it and a patch of blood that also shows the incipisphereish thingie."
|
alt="part of page 3853 of homestuck. egbert's silhouette with colorful tendrils all around it and a patch of blood that also shows the incipisphereish thingie."
|
||||||
|
@ -47,6 +63,14 @@ render_and_copy(
|
||||||
transform: "translateY(-0.15rem)",
|
transform: "translateY(-0.15rem)",
|
||||||
animation: "0.15s infinite alternate-reverse linear spin",
|
animation: "0.15s infinite alternate-reverse linear spin",
|
||||||
}}
|
}}
|
||||||
/>
|
/> */}
|
||||||
|
<div style={{ backgroundColor: "white" }}>
|
||||||
|
basically,{" "}
|
||||||
|
<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/background-attachment">
|
||||||
|
background-attachment: fixed
|
||||||
|
</a>{" "}
|
||||||
|
+ some <a href="https://photopea.com">photopea</a> fun{" "}
|
||||||
|
<HomestuckSpan color="#008282">:]</HomestuckSpan>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue