Skip to content

Commit 31cddf4

Browse files
author
TechStack Global
committed
fix: sanitize all paths to relative for local/prod compatibility and fix invisible images
1 parent 7bfedf6 commit 31cddf4

File tree

1 file changed

+23
-22
lines changed

1 file changed

+23
-22
lines changed

index.html

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@
2727
<!-- Google Fonts: Inter for that premium tech feel -->
2828
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap"
2929
rel="stylesheet">
30-
<link rel="stylesheet" href="/style.css">
30+
<link rel="stylesheet" href="style.css">
3131

3232
<!-- FontAwesome for Icons -->
3333
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
34-
<link rel="icon" type="image/png" sizes="32x32" href="/assets/icons/favicon-32.png">
35-
<link rel="icon" type="image/png" sizes="16x16" href="/assets/icons/favicon-16.png">
36-
<link rel="apple-touch-icon" sizes="192x192" href="/assets/icons/techstack-logo-192.png">
37-
<link rel="shortcut icon" href="/assets/icons/favicon.ico">
34+
<link rel="icon" type="image/png" sizes="32x32" href="assets/icons/favicon-32.png">
35+
<link rel="icon" type="image/png" sizes="16x16" href="assets/icons/favicon-16.png">
36+
<link rel="apple-touch-icon" sizes="192x192" href="assets/icons/techstack-logo-192.png">
37+
<link rel="shortcut icon" href="assets/icons/favicon.ico">
3838
</head>
3939

4040
<body class="dark-theme">
@@ -46,15 +46,16 @@
4646
<header class="glass-header">
4747
<nav class="container">
4848
<div class="logo">
49-
<a href="/index.html">
49+
<a href="index.html">
5050
TechStack<span class="accent">Global</span>
5151
</a>
5252
</div>
5353
<ul class="nav-links">
54-
<li><a href="/index.html" class="active">Home</a></li>
55-
<li><a href="/blog.html">Software Reviews</a></li>
56-
<li><a href="/about.html">About</a></li>
57-
<li><a href="/contact.html">Contact</a></li>
54+
<li><a href="index.html" class="active">Home</a></li>
55+
<li><a href="amazon-stack.html">Amazon Stack</a></li>
56+
<li><a href="blog.html">Software Reviews</a></li>
57+
<li><a href="about.html">About</a></li>
58+
<li><a href="contact.html">Contact</a></li>
5859
</ul>
5960
</nav>
6061
</header>
@@ -93,7 +94,7 @@ <h2>Explore the Stack</h2>
9394
<p>Browse elite tools by category.</p>
9495
</div>
9596
<div class="category-grid">
96-
<a href="/amazon-stack.html" class="cat-card featured-cat">
97+
<a href="amazon-stack.html" class="cat-card featured-cat">
9798
<i class="fa-brands fa-amazon"></i>
9899
<h3>Amazon Reviews</h3>
99100
<p>Standardized hardware benchmarks</p>
@@ -125,7 +126,7 @@ <h2 style="font-size: 2.5rem; margin-top: 1rem;">Top Tools This Month</h2>
125126
<div class="featured-spotlight glass-panel"
126127
style="display: flex; gap: 3rem; align-items: center; padding: 3rem; border-radius: 20px; border: 1px solid rgba(0,255,157,0.1); margin-bottom: 4rem;">
127128
<div style="flex: 1;">
128-
<img src="/assets/images/macbook_hero.jpg" alt="Apple MacBook Pro M4 Pro" loading="lazy"
129+
<img src="assets/images/macbook_hero.jpg" alt="Apple MacBook Pro M4 Pro" loading="lazy"
129130
style="width: 100%; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.3);">
130131
</div>
131132
<div style="flex: 1.2;">
@@ -158,7 +159,7 @@ <h3 style="font-size: 2.2rem; margin: 1rem 0;">Apple MacBook Pro (M4 Pro)</h3>
158159
<div class="tool-grid"
159160
style="display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-bottom: 4rem;">
160161
<article class="tool-card glass-panel" style="padding: 1.5rem; border-radius: 12px;">
161-
<img src="/assets/images/macbook_hero.jpg" alt="Apple MacBook Pro M4 Pro" loading="lazy"
162+
<img src="assets/images/macbook_hero.jpg" alt="Apple MacBook Pro M4 Pro" loading="lazy"
162163
style="width:100%; height:160px; object-fit:contain; background:white; border-radius:8px; margin-bottom: 1.2rem;">
163164
<h3 style="font-size: 1.1rem;">Apple MacBook Pro M4 Pro</h3>
164165
<p style="font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 1.5rem;">The definitive
@@ -170,7 +171,7 @@ <h3 style="font-size: 1.1rem;">Apple MacBook Pro M4 Pro</h3>
170171
</article>
171172

172173
<article class="tool-card glass-panel" style="padding: 1.5rem; border-radius: 12px;">
173-
<img src="https://m.media-amazon.com/images/I/71Y87t4v19L._AC_SL1500_.jpg" alt="Dell XPS 15"
174+
<img src="https://m.media-amazon.com/images/I/61Ks9X44eVL._AC_SL1181_.jpg" alt="Dell XPS 15"
174175
loading="lazy"
175176
style="width:100%; height:160px; object-fit:contain; background:white; border-radius:8px; margin-bottom: 1.2rem;">
176177
<h3 style="font-size: 1.1rem;">Dell XPS 15 (9530)</h3>
@@ -183,7 +184,7 @@ <h3 style="font-size: 1.1rem;">Dell XPS 15 (9530)</h3>
183184
</article>
184185

185186
<article class="tool-card glass-panel" style="padding: 1.5rem; border-radius: 12px;">
186-
<img src="https://m.media-amazon.com/images/I/61NlUoQ7k6L._AC_SL1500_.jpg"
187+
<img src="https://m.media-amazon.com/images/I/61LMopCIyTL._AC_SL1200_.jpg"
187188
alt="Surface Laptop Studio 2" loading="lazy"
188189
style="width:100%; height:160px; object-fit:contain; background:white; border-radius:8px; margin-bottom: 1.2rem;">
189190
<h3 style="font-size: 1.1rem;">Surface Laptop Studio 2</h3>
@@ -264,7 +265,7 @@ <h3 style="text-align: center; margin-bottom: 3rem;">Trusted by Scaling Founders
264265
<!-- Mid-Page Lead Magnet -->
265266
<div class="lead-magnet glass-panel"
266267
style="padding: 3rem; margin: 4rem 0; border: 1px solid var(--accent); position: relative; display: flex; align-items: center; gap: 3rem; flex-wrap: wrap;">
267-
<img src="/assets/images/startup_guide_cover.png" alt="Startup Tools PDF Cover"
268+
<img src="assets/images/startup_guide_cover.png" alt="Startup Tools PDF Cover"
268269
style="width: 240px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.5);">
269270
<div style="max-width: 600px;">
270271
<h2 style="color: var(--accent); margin-bottom: 1rem;">Get our Startup Tools PDF</h2>
@@ -344,24 +345,24 @@ <h3>TechStack<span class="accent">Global</span></h3>
344345
<div class="footer-links">
345346
<h4>Legal</h4>
346347
<ul>
347-
<li><a href="/affiliate-disclosure.html">Affiliate Disclosure</a></li>
348-
<li><a href="/privacy-policy.html">Privacy Policy</a></li>
349-
<li><a href="/terms-of-service.html">Terms of Service</a></li>
348+
<li><a href="affiliate-disclosure.html">Affiliate Disclosure</a></li>
349+
<li><a href="privacy-policy.html">Privacy Policy</a></li>
350+
<li><a href="terms-of-service.html">Terms of Service</a></li>
350351
</ul>
351352
</div>
352353
<div class="footer-links">
353354
<h4>Company</h4>
354355
<ul>
355-
<li><a href="/about.html">About Us</a></li>
356-
<li><a href="/contact.html">Contact</a></li>
356+
<li><a href="about.html">About Us</a></li>
357+
<li><a href="contact.html">Contact</a></li>
357358
</ul>
358359
</div>
359360
</div>
360361
<div class="container footer-bottom">
361362
<p>&copy; <span id="year">2026</span> TechStack Global. All rights reserved.</p>
362363
</div>
363364
</footer>
364-
<script src="/script.js"></script>
365+
<script src="script.js"></script>
365366
</body>
366367

367368
</html>

0 commit comments

Comments
 (0)