feat(site): update content

This commit is contained in:
Ayo 2023-11-22 11:09:35 +01:00
parent a96047d680
commit d0e458ff87

View file

@ -27,9 +27,9 @@
<main> <main>
<p> <p>
Our Our
<a href="https://www.npmjs.com/package/web-component-base" <a href="https://www.npmjs.com/package/web-component-base">
>base class</a tiny package
> </a>
provides zero-dependency, ~600 Bytes (minified & gzipped), JS base class provides zero-dependency, ~600 Bytes (minified & gzipped), JS base class
for creating reactive custom elements easily for creating reactive custom elements easily
</p> </p>
@ -52,14 +52,13 @@ export class Counter extends WebComponent {
get template() { get template() {
return `&lt;button&gt;${this.props.count}&lt;/button&gt;`; return `&lt;button&gt;${this.props.count}&lt;/button&gt;`;
} }
}</pre }</pre>
>
</code-block> </code-block>
</main> </main>
<my-footer> <my-footer>
<small <small>
>A project by <a href="{{ author.url }}">{{ author.name }}</a></small A project by <a href="{{ author.url }}">{{ author.name }}</a>
> </small>
</my-footer> </my-footer>
</body> </body>
</html> </html>