Skip to content

Commit 7cb2e67

Browse files
author
TechStack Global
committed
feat: replace hero SSD review with horizontal product slider (Sony, Shure, Alienware)
1 parent 2251d12 commit 7cb2e67

File tree

1 file changed

+95
-17
lines changed

1 file changed

+95
-17
lines changed

index.html

Lines changed: 95 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -107,24 +107,102 @@ <h1>Make Smarter <br /><span class="gradient-text">Tech Decisions.</span>
107107
Just clear guidance on the tech that powers modern work.</p>
108108

109109
</div>
110-
<!-- Hero Featured Review Card-->
111-
<div class="hero-visual">
112-
<div class="glass-card"
113-
style="padding: 2.5rem; max-width: 420px; border-top: 4px solid var( accent); position: relative; z-index: 2; box-shadow: 0 20px 40px rgba(0,0,0,0.4);">
114-
<div
115-
style="font-size: 0.8rem; color: var( accent); font-weight: bold; text-transform: uppercase; margin-bottom: 1rem;">
116-
<i class="fa-solid fa-star"></i> Featured Review (New)
110+
<!-- Hero Featured Products Carousel -->
111+
<div class="hero-visual slider-container">
112+
<style>
113+
.product-slider {
114+
display: flex;
115+
gap: 1.5rem;
116+
overflow-x: auto;
117+
scroll-snap-type: x mandatory;
118+
padding-bottom: 1rem;
119+
scrollbar-width: none;
120+
/* Firefox */
121+
-ms-overflow-style: none;
122+
/* IE and Edge */
123+
max-width: 100%;
124+
}
125+
126+
.product-slider::-webkit-scrollbar {
127+
display: none;
128+
}
129+
130+
.product-slider>.glass-card {
131+
scroll-snap-align: center;
132+
min-width: 280px;
133+
max-width: 300px;
134+
flex: 0 0 auto;
135+
padding: 2rem;
136+
border-top: 4px solid var(--accent, #38bdf8);
137+
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
138+
display: flex;
139+
flex-direction: column;
140+
}
141+
142+
.product-slider>.glass-card h3 {
143+
font-size: 1.3rem;
144+
margin-bottom: 0.5rem;
145+
line-height: 1.3;
146+
}
147+
148+
.product-slider>.glass-card p {
149+
color: var(--text-secondary, #94a3b8);
150+
font-size: 0.9rem;
151+
margin-bottom: 1.5rem;
152+
line-height: 1.5;
153+
flex-grow: 1;
154+
}
155+
156+
.product-slider>.glass-card img {
157+
width: 100%;
158+
height: auto;
159+
border-radius: 8px;
160+
margin-bottom: 1rem;
161+
aspect-ratio: 16/9;
162+
object-fit: cover;
163+
}
164+
</style>
165+
<div class="product-slider">
166+
<!-- Sony WH-1000XM5 -->
167+
<div class="glass-card">
168+
<div
169+
style="font-size: 0.75rem; color: var(--accent, #38bdf8); font-weight: bold; text-transform: uppercase; margin-bottom: 0.5rem;">
170+
<i class="fa-solid fa-headphones"></i> Audio
171+
</div>
172+
<img src="posts/images/sony-wh-1000xm5-front.jpg" alt="Sony WH-1000XM5" loading="lazy">
173+
<h3>Sony WH-1000XM5</h3>
174+
<p>Top-tier active noise cancellation and supreme all-day comfort for deep work.</p>
175+
<a class="read-more" href="posts/sony-wh-1000xm5-review.html"
176+
style="font-weight: 700; margin-top: auto;">Read Review <i class="fa-solid fa-arrow-right"
177+
style="margin-left: 5px;"></i></a>
178+
</div>
179+
180+
<!-- Shure SM7dB -->
181+
<div class="glass-card">
182+
<div
183+
style="font-size: 0.75rem; color: var(--accent, #38bdf8); font-weight: bold; text-transform: uppercase; margin-bottom: 0.5rem;">
184+
<i class="fa-solid fa-microphone"></i> Broadcasting
185+
</div>
186+
<img src="posts/images/shure-sm7db-primary.jpg" alt="Shure SM7dB Microphone" loading="lazy">
187+
<h3>Shure SM7dB</h3>
188+
<p>The industry standard podcast microphone, now with a built-in clean preamp.</p>
189+
<a class="read-more" href="posts/shure-sm7db-review.html" style="font-weight: 700; margin-top: auto;">Read
190+
Review <i class="fa-solid fa-arrow-right" style="margin-left: 5px;"></i></a>
191+
</div>
192+
193+
<!-- Alienware AW3423DWF -->
194+
<div class="glass-card">
195+
<div
196+
style="font-size: 0.75rem; color: var(--accent, #38bdf8); font-weight: bold; text-transform: uppercase; margin-bottom: 0.5rem;">
197+
<i class="fa-solid fa-desktop"></i> Displays
198+
</div>
199+
<img src="posts/images/alienware-aw3423dwf-front.jpg" alt="Alienware AW3423DWF" loading="lazy">
200+
<h3>Alienware AW3423DWF</h3>
201+
<p>Stunning QD-OLED ultrawide performance for flawless visual immersion.</p>
202+
<a class="read-more" href="posts/alienware-aw3423dwf-review.html"
203+
style="font-weight: 700; margin-top: auto;">Read Review <i class="fa-solid fa-arrow-right"
204+
style="margin-left: 5px;"></i></a>
117205
</div>
118-
<h3 style="font-size: 1.6rem; margin-bottom: 1rem; line-height: 1.3;">Samsung 990 PRO
119-
SSD: The
120-
Performance King</h3>
121-
<p style="color: var( text-secondary); font-size: 1rem; margin-bottom: 2rem; line-height: 1.6;">
122-
Unrivaled sequential speeds up to 7,450 MB/s and premium reliability for modern,
123-
high-intensity
124-
workflows.</p>
125-
<a class="read-more" href="posts/samsung-990-pro-ssd-review.html"
126-
style="display: inline-flex; align-items: center; font-weight: 700;">Read Full
127-
Review <i class="fa-solid fa-arrow-right" style="margin-left: 8px; transition: transform 0.2s;"></i></a>
128206
</div>
129207
</div>
130208
</section>

0 commit comments

Comments
 (0)