good enough author section
This commit is contained in:
parent
e071e48616
commit
b91bd7e0cd
2 changed files with 35 additions and 1 deletions
|
@ -27,12 +27,20 @@ const Wheel: Component = ({ items }, _) => (
|
||||||
</summary>
|
</summary>
|
||||||
<div class="wheel-inner" style={wheel_style(items.length)}>
|
<div class="wheel-inner" style={wheel_style(items.length)}>
|
||||||
{/* <div class="wheel-item empty"></div> */}
|
{/* <div class="wheel-item empty"></div> */}
|
||||||
{...items.map((i: string) => <div class="wheel-item">{i}</div>)}
|
{...items.map((item: string, i: number) => (
|
||||||
|
<div
|
||||||
|
class={`wheel-item ${i + 1 == items.length ? "last" : ""}`}
|
||||||
|
>
|
||||||
|
{item}
|
||||||
|
</div>
|
||||||
|
))}
|
||||||
</div>
|
</div>
|
||||||
</details>
|
</details>
|
||||||
);
|
);
|
||||||
|
|
||||||
// i'll probably just hardcode the delays... lame but w/e
|
// i'll probably just hardcode the delays... lame but w/e
|
||||||
|
// nope
|
||||||
|
// it would be possible to have it so the final text is actually properyly selectable maybe but eh
|
||||||
const Take: Component = ({ subjects, objects, adjectives }, _) => (
|
const Take: Component = ({ subjects, objects, adjectives }, _) => (
|
||||||
<div class="take">
|
<div class="take">
|
||||||
<Wheel items={subjects} /> <div class="bridge">who eat</div>{" "}
|
<Wheel items={subjects} /> <div class="bridge">who eat</div>{" "}
|
||||||
|
@ -41,10 +49,35 @@ const Take: Component = ({ subjects, objects, adjectives }, _) => (
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
const Checkmark: Component = () => (
|
||||||
|
<img
|
||||||
|
class="checkmark"
|
||||||
|
src="https://static.pyrope.net/white-twitter-checkmark.png"
|
||||||
|
alt="the old, white twitter verified checkmark"
|
||||||
|
/>
|
||||||
|
);
|
||||||
|
|
||||||
|
const Author: Component = () => (
|
||||||
|
<div class="author">
|
||||||
|
<img
|
||||||
|
class="pfp"
|
||||||
|
src="https://static.pyrope.net/phoebe_bridgers-pfp.jpg"
|
||||||
|
alt="a picture of a blonde, white woman wearing a black coat and looking at her phone. presumably phoebe bridgers"
|
||||||
|
/>
|
||||||
|
<div class="names">
|
||||||
|
<div class="display-name">
|
||||||
|
traitor joe <Checkmark />
|
||||||
|
</div>
|
||||||
|
<div class="username">@phoebe_bridgers</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
|
||||||
// might want to have the final item be seperate
|
// might want to have the final item be seperate
|
||||||
// turned out to be unnecessary
|
// turned out to be unnecessary
|
||||||
debug_render(
|
debug_render(
|
||||||
<Main>
|
<Main>
|
||||||
|
<Author />
|
||||||
<Take
|
<Take
|
||||||
subjects={peopleify(
|
subjects={peopleify(
|
||||||
"poor",
|
"poor",
|
||||||
|
|
1
html/hotline-miami.tsx
Normal file
1
html/hotline-miami.tsx
Normal file
|
@ -0,0 +1 @@
|
||||||
|
//TODO
|
Loading…
Reference in a new issue