diff --git a/deno.lock b/deno.lock index 5674143..1da5418 100644 --- a/deno.lock +++ b/deno.lock @@ -117,6 +117,8 @@ "https://esm.sh/preact@10.16.0/jsx-runtime?dts": "9e67b64a5b48299c77d30bffc213735fdcf4b3b5d4ad8ff8d4136f246de5fa34", "https://esm.sh/stable/preact@10.16.0/denonext/jsx-runtime.js": "64770c709df77c4b64b79f84a4abf6189fd0c3ea461121870eca0cf2bcca87b0", "https://esm.sh/stable/preact@10.16.0/denonext/preact.mjs": "01dc8bdf124926c611c0711081b9c162cf2735cccad7c2bc9914766f633ddb1d", - "https://esm.sh/v128/preact-render-to-string@5.2.0/X-ZS9wcmVhY3Q/denonext/preact-render-to-string.mjs": "b2b771d82125460bd3e5cdf20ebd662a08c4c61e34b174cd11db929dd5883966" + "https://esm.sh/stable/preact@10.16.0/denonext/src.js": "a95281269ac2665427e647cde8628d5cd6eef13bb6bea381c3167a78fa922316", + "https://esm.sh/v128/preact-render-to-string@5.2.0/X-ZS9wcmVhY3Q/denonext/preact-render-to-string.mjs": "b2b771d82125460bd3e5cdf20ebd662a08c4c61e34b174cd11db929dd5883966", + "https://esm.sh/v128/preact@10.16.0/src/index.js": "3bafc9400950c38b80163dcbcd4538a54ef158a83f448517f34324c5685f1569" } } diff --git a/html/common.tsx b/html/common.tsx index 432d35c..69fb3e1 100644 --- a/html/common.tsx +++ b/html/common.tsx @@ -14,6 +14,7 @@ export function Main({ ...attributes }: { children?: ComponentChildren; + style?: JSX.CSSProperties; attributes?: JSX.HTMLAttributes; }) { return ( diff --git a/html/image-macro.tsx b/html/image-macro.tsx new file mode 100644 index 0000000..a20f6d5 --- /dev/null +++ b/html/image-macro.tsx @@ -0,0 +1,24 @@ +import { render_and_copy } from "./common.tsx"; +// this is a really bad and boring idea. pass. + +render_and_copy( +
+ +

+ ACCORDING TO MY UNDERSTANDING OF THE DEFINITION OF AN IMAGE MACRO + THIS +

+

+ THIS IS AN IMAGE MACRO +

+
+); diff --git a/html/random-tag-of-the-day.tsx b/html/random-tag-of-the-day.tsx index 6d86fa4..856b892 100644 --- a/html/random-tag-of-the-day.tsx +++ b/html/random-tag-of-the-day.tsx @@ -33,11 +33,29 @@ const tags = [ "journaling", "digital collage", "gamedev", + "manga recs", + "doll posting", + "comics on cohost", + "he is only carbon now", + "trickcircle", + "Cohost Mixtape Club", + "mashup", + "girlposting", + "jewhost", + "musicians on cohost", + "ooak", + "The Cohost Gimmick Feed", + "gardening", + "dogs of cohost", + "cheeseposting", + "love", + "little guy respect zone", + "gunpla", ]; -const default_repeat = 4; +const default_repeat = 2; -// repeating makes it seem more random +// repeating makes it seem more random, but adds a lot of weight to an increasingly heavy post export const PseudoRandom = ({ children, repeat = default_repeat, @@ -133,6 +151,9 @@ render_and_copy( generator for these (it would be easy to make one for tags, but one for other stuff would require a bit more work) +
  • + a lot of these tags are bad tags. not their content, but, like, the actual tag. this drives me up the wall but i know there's nothing i can do. i really wish everyone cared about good tagging as much as i do, but i know that will never happen. it's frustrating that only boorus seem to have good tags (sometimes) (implications and stuff help) +
  • this was generated on {new Date().toDateString()} at{" "} {new Date().toTimeString()} diff --git a/html/slice-circle-spinny-cursor.tsx b/html/slice-circle-spinny-cursor.tsx new file mode 100644 index 0000000..791f566 --- /dev/null +++ b/html/slice-circle-spinny-cursor.tsx @@ -0,0 +1,53 @@ +import { JSX } from "preact/jsx-runtime"; +import { Main, render_and_copy } from "./common.tsx"; +import { ComponentChild, ComponentChildren, toChildArray } from "preact"; + +const Circle = ({ + style, + children, +}: { + style?: JSX.CSSProperties; + children?: ComponentChildren; +}) => { + let children_: ComponentChild[] = toChildArray(children); + if (children_.length > 0) { + const turn_per_child = 1 / children_.length; + children_ = children_.map((c, i) => ( +
    + {c} +
    + )); + } + + return ( +
    + ); +}; + +render_and_copy( +
    + +
    hello
    +
    hello
    +
    hello
    +
    hello
    +
    hello
    +
    +
    +); diff --git a/html/sunshine-curved-text.tsx b/html/sunshine-curved-text.tsx new file mode 100644 index 0000000..e69de29 diff --git a/html/trollcall.tsx b/html/trollcall.tsx new file mode 100644 index 0000000..e69de29 diff --git a/times-new-bastard/index.html b/times-new-bastard/index.html new file mode 100644 index 0000000..0f4a3c9 --- /dev/null +++ b/times-new-bastard/index.html @@ -0,0 +1,197 @@ + + + + + + Times New Bastard + + + + + +
    + + + +
    + download this page + which was made by mehbark who has a + website and is on + cohost + and + fedi. here are some more + links: + patreon + example + discord server that i made so i could continue saying "man, + computers are incredible" every day +
    + +