feat(site): update content with features list
This commit is contained in:
parent
bda00b51b3
commit
f4e74474c8
2 changed files with 9 additions and 4 deletions
|
@ -31,7 +31,7 @@ class CodeBlockComponent extends HTMLElement {
|
|||
|
||||
if (inline) {
|
||||
style.display = 'inline';
|
||||
style.padding = '0.3em';
|
||||
style.padding = '0.25em 0.3em';
|
||||
}
|
||||
|
||||
Object.keys(style).forEach((rule) => {
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<script server:setup>
|
||||
const project = {
|
||||
name: "WebComponent.io",
|
||||
description: "Write web components in <em>Easy Mode</em>.",
|
||||
description: "A simple reactivity system for web components",
|
||||
};
|
||||
const author = {
|
||||
name: "Ayo Ayco",
|
||||
|
@ -27,8 +27,13 @@
|
|||
<main>
|
||||
<section style="font-size: larger;">
|
||||
<p>
|
||||
Our <a href="https://www.npmjs.com/package/web-component-base">tiny package</a> provides a zero-dependency, ~600 Bytes (minified & gzipped), JS base class for creating reactive custom elements easily.
|
||||
</p>
|
||||
By extending our <code-block inline>WebComponent</code-block> base class, you get an easy authoring experience as you would expect in writing your components</p>
|
||||
<ul>
|
||||
<li>a signals-like <code-block inline>props</code-block> API that keeps your property changes and UI in sync</li>
|
||||
<li>sensible life-cycle hooks that you understand and remember</li>
|
||||
<li>extensible templates & renderer (examples in-progress)</li>
|
||||
<li>Bonus: provided out-of-the-box with <a href="https://ayco.io/gh/McFly">McFly</a>, a powerful no-framework framework</li>
|
||||
</ul>
|
||||
<call-to-action />
|
||||
</section>
|
||||
<hr style="margin: 2em 0;" />
|
||||
|
|
Loading…
Reference in a new issue