Mercurial
view mrjunejune/src/resume/index.js @ 100:65e5a5b89a4e
[Seobeo] Migrated everything to this page.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Sat, 03 Jan 2026 07:48:07 -0800 |
| parents | bcc76a156aea |
| children |
line wrap: on
line source
function loadComponent(ele, file_path) { fetch(file_path) .then(response => response.text()) .then(data => ele.innerHTML = data) } loadComponent(header, 'header.html'); loadComponent(footer, 'footer.html');