diff --git a/www/components/icons/cartouche.tsx b/www/components/icons/cartouche.tsx new file mode 100644 index 00000000..1f2931bd --- /dev/null +++ b/www/components/icons/cartouche.tsx @@ -0,0 +1,17 @@ +export const IconCartouche = () => ( + + + + + + + + + +); diff --git a/www/routes/index-route.tsx b/www/routes/index-route.tsx index 91933e7c..3494a4bc 100644 --- a/www/routes/index-route.tsx +++ b/www/routes/index-route.tsx @@ -3,6 +3,7 @@ import type { JSXChild, JSXHandler } from "revolution"; import { useAppHtml } from "./app.html.tsx"; import { Footer } from "../components/footer.tsx"; import { IconTSLogo } from "../components/icons/typescript.tsx"; +import { IconCartouche } from "../components/icons/cartouche.tsx"; export function indexRoute(): JSXHandler { return function* () { @@ -49,14 +50,14 @@ export function indexRoute(): JSXHandler {

Effection gives you control over asyncronous operations with{" "} - + Structured Concurrency guarantees . We ensure that all asyncronous operations are well behaved so you can focus on using async instead of managing it.

-
+
Effection code cleans up after itself, and that means never having to remember to manually close a resource or detach a @@ -98,7 +99,7 @@ export function indexRoute(): JSXHandler { {/* No build steps. No esoteric APIs, and no new odd-ball paradigms to learn; Effection leans into JavaScript's natural constructs at every turn, so code always feels intuitive. */} -
+
<> Use let, const, for,{" "} @@ -120,15 +121,25 @@ export function indexRoute(): JSXHandler { <> Small API focused excusively on what you need to gain - Structured Concurrency guarantees in - JavaScript and nothing else. + Structured Concurrency guarantees in JavaScript and nothing + else. - + } + summary="Async/Await/Promise alternatives" + iconSize="h-14 w-14" + > <> - Use in TypeScript or JavaScript projects without modifying - your build setup. Effection operations can be used and - distributed in pure ESM code. + For every Async/Await/Promise API we provide Structured + Concurrency compliant Effection alternative. Checkout our{" "} + + Async Rosetta Stone + {" "} + for translations. @@ -138,6 +149,13 @@ export function indexRoute(): JSXHandler { into any project. + + <> + Use in TypeScript or JavaScript projects without modifying + your build setup. Effection operations can be used and + distributed in pure ESM code. + +