put stuff in main div for style
now for twitter imitation
This commit is contained in:
parent
3de300ffa5
commit
e071e48616
1 changed files with 52 additions and 49 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
import { Main } from "./common.tsx";
|
||||||
import { Html, debug_render, render } from "./html.ts";
|
import { Html, debug_render, render } from "./html.ts";
|
||||||
import { Component } from "./jsx/jsx-runtime.ts";
|
import { Component } from "./jsx/jsx-runtime.ts";
|
||||||
|
|
||||||
|
@ -43,6 +44,7 @@ const Take: Component = ({ subjects, objects, adjectives }, _) => (
|
||||||
// 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>
|
||||||
<Take
|
<Take
|
||||||
subjects={peopleify(
|
subjects={peopleify(
|
||||||
"poor",
|
"poor",
|
||||||
|
@ -92,4 +94,5 @@ debug_render(
|
||||||
"dangerous",
|
"dangerous",
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
|
</Main>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue