cambios esteticos en menu y hero
This commit is contained in:
+2
-2
@@ -28,7 +28,7 @@ async function loadIncludes() {
|
||||
|
||||
try {
|
||||
if (headerElem && headerElem.children.length === 0) {
|
||||
const headerRes = await fetch('/includes/header.html', { cache: 'no-store' });
|
||||
const headerRes = await fetch('./includes/header.html', { cache: 'no-store' });
|
||||
if (headerRes.ok) {
|
||||
headerElem.innerHTML = await headerRes.text();
|
||||
highlightActiveNavLink();
|
||||
@@ -44,7 +44,7 @@ async function loadIncludes() {
|
||||
}
|
||||
|
||||
if (footerElem) {
|
||||
const footerRes = await fetch('/includes/footer.html', { cache: 'no-store' });
|
||||
const footerRes = await fetch('./includes/footer.html', { cache: 'no-store' });
|
||||
if (footerRes.ok) {
|
||||
footerElem.innerHTML = await footerRes.text();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user