Added 'QuoteMan' that will choose a random quote from ./assets/quotes and put it on aside's quoteblock.

This commit is contained in:
Adrian Victor 2024-04-05 12:48:40 -03:00
commit e77765a0ea
4 changed files with 51 additions and 2 deletions

View file

@ -13,9 +13,16 @@ class Header extends HTMLElement {
<p>Studying computing at <a href="http://ifc.edu.br/">IFC</a>, interessed in programming, hacking and security.</p>
</nav>
<div id="links" class="centerText box">
<blockquote id="random-quote">
The quote man is not working...
</blockquote>
<p id="random-quote-author">- Quote man</p>
</div>
<div id="links" class="centerText box">
<p>Links</p>
<p><a href="index.html">Home</a> - <a href="http://gallery.adrian.rf.gd/">Gallery</a> - <a href="http://vicc.rf.gd/gh">GitHub</a></p>
<p><a href="index.html">Home</a> - <a href="http://gallery.adrian.rf.gd/">Gallery</a> - <a href="http://vicc.rf.gd/gh">GitHub</a> - <a href="http://vicc.rf.gd/twitter">Twitter</a></p>
</div>
<div id="footer" class="box">
@ -27,6 +34,6 @@ class Header extends HTMLElement {
`;
}
}
customElements.define('header-component', Header);