From cc57c7969d5ec1e91b8ab3fe3d5ee496365b005b Mon Sep 17 00:00:00 2001 From: Matthew Gold Date: Fri, 10 May 2024 11:23:08 -0400 Subject: [PATCH] Fix GitHub Buld actions warnings take 2. --- .../blocks/article-list/article-list.js | 70 +++++++++---------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/best-cigars-guide/blocks/article-list/article-list.js b/best-cigars-guide/blocks/article-list/article-list.js index 17aca89..1282295 100644 --- a/best-cigars-guide/blocks/article-list/article-list.js +++ b/best-cigars-guide/blocks/article-list/article-list.js @@ -1,20 +1,20 @@ -import { createOptimizedPicture } from './../scripts/aem.js'; +import { createOptimizedPicture } from "../../scripts/aem.js"; export default function decorate(block) { - //Add nav - //@todo sytle the nav - const mainTag = document.querySelector('.article-list-container'); - const navDiv = document.createElement('div'); - navDiv.className = 'nav-row'; + // Add nav + // @todo sytle the nav + const mainTag = document.querySelector(".article-list-container"); + const navDiv = document.createElement("div"); + navDiv.className = "nav-row"; mainTag.prepend(navDiv); - //Add breadcrumbs - //@todo style breadcrumbs - const h1 = document.querySelector('h1'); + // Add breadcrumbs + // @todo style breadcrumbs + const h1 = document.querySelector("h1"); const h1Text = h1.textContent.trim(); - const breadcrumbDiv = document.createElement('div'); - breadcrumbDiv.className = 'breadcrumb'; + const breadcrumbDiv = document.createElement("div"); + breadcrumbDiv.className = "breadcrumb"; breadcrumbDiv.innerHTML += `