First commit.
This commit is contained in:
parent
16c2fb1815
commit
be5e91acca
28 changed files with 219 additions and 140 deletions
32
assets/main.js
Normal file
32
assets/main.js
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
class Header extends HTMLElement {
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
connectedCallback() {
|
||||
this.innerHTML = `
|
||||
<aside>
|
||||
<nav class="box profile">
|
||||
<img class="decorativeImage" src="./assets/logo.jpg" alt="logo - Shuu Maiko from Niskeoi">
|
||||
<h1>Adrian Victor</h1>
|
||||
<p>@tenkuma</p>
|
||||
<p>Studying computing on <a href="http://ifc.edu.br/">IFC</a>, interessed in programming, hacking e and security.</p>
|
||||
</nav>
|
||||
|
||||
<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="https://github.com/adrianvic/">GitHub</a></p>
|
||||
</div>
|
||||
|
||||
<div id="footer" class="box">
|
||||
<footer>
|
||||
<p>2024 - Adrian Victor, under <a href="https://unlicense.org/">Unlicense</a>, on <a href="https://github.com/adrianvic/website/">GitHub</a>.</p>
|
||||
</footer>
|
||||
</div>
|
||||
</aside>
|
||||
`;
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define('header-component', Header);
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue