feat(templates): update basic template footer example

This commit is contained in:
Ayo 2023-10-21 23:49:19 +02:00
parent 6b2214319a
commit afb57ea569
2 changed files with 6 additions and 2 deletions

View file

@ -4,6 +4,6 @@
>✨ Star on <a href="https://github.com/ayoayco/McFly">GitHub</a> to >✨ Star on <a href="https://github.com/ayoayco/McFly">GitHub</a> to
support!</small support!</small
><br /> ><br />
<small>A project by <a href="https://ayo.ayco.io">Ayo Ayco</a></small> <slot />
</p> </p>
</footer> </footer>

View file

@ -56,9 +56,13 @@ class HelloWorld extends HTMLElement {
> >
</code-block> </code-block>
</main> </main>
<!-- <!--
Here's another static .html fragment, found in ./components/my-footer.html Here's another static .html fragment, found in ./components/my-footer.html
The child <small> element gets inserted into the <slot /> on the fragment
--> -->
<my-footer></my-footer> <my-footer>
<small>A project by <a href="https://ayo.ayco.io">Ayo Ayco</a></small>
</my-footer>
</body> </body>
</html> </html>