feat(templates): update footer example
This commit is contained in:
parent
85b15303c8
commit
c007c7f43c
3 changed files with 5 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
import { ELEMENT_NODE, parse, render, renderSync, walkSync } from "ultrahtml";
|
||||
import { parseScript } from "esprima";
|
||||
import config from "../../../app/mcfly.config";
|
||||
import config from "../mcfly.config";
|
||||
|
||||
const { components: componentType } = config();
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<footer style="text-align: right; font-style: italic; padding: 0.5em 1em">
|
||||
<p>
|
||||
<small>A project by vanilla web tech lovers.</small>
|
||||
<small>See on <a href="https://ayco.io/gh/McFly">GitHub</a></small>
|
||||
<small
|
||||
>Star on <a href="https://ayco.io/gh/McFly">GitHub</a> to support!
|
||||
✨</small
|
||||
>
|
||||
</p>
|
||||
</footer>
|
||||
|
|
|
@ -10,7 +10,6 @@ class HelloWorld extends WebComponent {
|
|||
this.onclick = () => {
|
||||
this.setAttribute("data-name", `Clicked ${++count}x`);
|
||||
};
|
||||
this.setAttribute("title", "Click me please");
|
||||
}
|
||||
|
||||
get template() {
|
||||
|
|
Loading…
Reference in a new issue