Skip to content

Commit

Permalink
fixing relative path
Browse files Browse the repository at this point in the history
  • Loading branch information
wbraden committed Aug 8, 2024
1 parent 000f961 commit 7a9c0b6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 19 deletions.
2 changes: 1 addition & 1 deletion Components/browseTile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const browseTileTemplate = document.createElement("template");
browseTileTemplate.innerHTML = `
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="css/main.css">
<a href="" class="browse-tile-link">
<div class="browse-tile">
<div class="media">
Expand Down
4 changes: 2 additions & 2 deletions Components/navbar.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
const template = document.createElement('template');
template.innerHTML = `
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="css/main.css">
<div class="navbar-container">
<div class="navbar">
<div class="navbar-left">
<button class="menu-button">☰</button>
<a href="/index.html"><img src="" alt="Shipt Logo" class="logo"></a>
<a href="/"><img src="" alt="Shipt Logo" class="logo"></a>
<span class="location"></span><img class="icon md" src="/assets/icons/caret-down.svg" alt="Icon description">
</div>
<div class="navbar-center">
Expand Down
2 changes: 1 addition & 1 deletion Components/productCard.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const productCardTemplate = document.createElement("template");
productCardTemplate.innerHTML = `
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="css/main.css">
<div class="box">
<img
Expand Down
2 changes: 1 addition & 1 deletion Components/sectionHeader.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const sectionHeaderTemplate = document.createElement('template');
sectionHeaderTemplate.innerHTML = `
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="css/main.css">
<div class="section-header">
<div class="headline fc">
<p class="typography headline lg">
Expand Down
14 changes: 0 additions & 14 deletions Components/webComponentTemplate.js

This file was deleted.

0 comments on commit 7a9c0b6

Please sign in to comment.