From c606857f4d6b52400324d41f9402938729d2f869 Mon Sep 17 00:00:00 2001 From: Ayo Date: Sat, 16 Dec 2023 10:26:25 +0100 Subject: [PATCH] feat(site): initial feature-set component --- site/src/components/awesome-header.html | 1 - site/src/components/feature-set.js | 85 +++++++++++++++++++++++++ site/src/components/my-head.html | 2 +- site/src/pages/index.html | 70 ++++---------------- 4 files changed, 100 insertions(+), 58 deletions(-) create mode 100644 site/src/components/feature-set.js diff --git a/site/src/components/awesome-header.html b/site/src/components/awesome-header.html index a9edb6a..d0f82b4 100644 --- a/site/src/components/awesome-header.html +++ b/site/src/components/awesome-header.html @@ -1,6 +1,5 @@

-
{{ project.name }} - {{ project.description }}
-
-

- Get the easy authoring experience you have come to love and build - standard custom elements with zero bundlers, transpilers or polyfills. +

+

+ The simple reactivity system for web components

-
    -
  • - A robust props API that synchronizes - your components' property values and HTML attributes -
  • -
  • Sensible life-cycle hooks that you understand and remember
  • -
  • - Use a custom templating syntax you are already familiar with, like - lit-html (example) -
  • -
  • - Built-in minimal html function for - tagged templates powered by Preact's tiny (450 Bytes) - htm/mini -
  • -
  • - Attach "side effects" that gets triggered on property value changes - with attachEffect (example) -
  • -
+ +
+ +
-
-

Why use this base class?

+

Why use this base class?

Writing Web Components directly from HTMLElement can seem confusing and