view mrjunejune/src/resume/index.js @ 148:76cd7afa6b8e

[Configs] Updated configs and finally added ctags.
author June Park <parkjune1995@gmail.com>
date Sat, 10 Jan 2026 05:04:19 -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');