diff --git a/html/hot_people_who_eat_croissants_are_dangerous.tsx b/html/hot_people_who_eat_croissants_are_dangerous.tsx index 3c855a2..43e65bf 100644 --- a/html/hot_people_who_eat_croissants_are_dangerous.tsx +++ b/html/hot_people_who_eat_croissants_are_dangerous.tsx @@ -3,7 +3,8 @@ import { Html, debug_render, render } from "./html.ts"; import { Component } from "./jsx/jsx-runtime.ts"; const peopleify = (...people: string[]): string[] => - people.map(p => `${p} people`); + // non-breaking space v + people.map(p => `${p}\u202fpeople`); const animation_length = (num_items: number): number => /*num_items / 5*/ 3; @@ -52,12 +53,12 @@ function weird_slices(arr: T[]): T[][] { } const MultiWheel: Component = ({ items }, _) => ( -
+ {...weird_slices(items).map(items => ( - + ))} -
+ ); // i'll probably just hardcode the delays... lame but w/e @@ -65,8 +66,8 @@ const MultiWheel: Component = ({ items }, _) => ( // it would be possible to have it so the final text is actually properyly selectable maybe but eh const Take: Component = ({ subjects, objects, adjectives }, _) => (
-
who eat
{" "} -
are
{" "} + who eat{" "} + are{" "}
);