Skip to content

Commit 5f2dd5e

Browse files
authored
Changed Link Extensions and fixed playlist bugs
1 parent e09fa66 commit 5f2dd5e

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

app.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,10 @@ function renderDashboard(pid) {
146146
app.innerHTML = `
147147
<div class="crumbs fade"><a onclick="location.hash='#/'">BrowserStack Demo Hub</a><span>›</span><span>${esc(p.name)}</span></div>
148148
<header class="hero fade" style="text-align:left;margin-bottom:32px;">
149-
<h1 style="font-size:2.4rem;">${p.icon} ${esc(p.name)}</h1>
149+
<h1 style="font-size:2.4rem;display:flex;align-items:center;gap:12px;">
150+
${p.iconSvg ? `<img src="${p.iconSvg}" alt="" style="width:36px;height:36px;object-fit:contain;flex-shrink:0;" />` : `<span>${p.icon}</span>`}
151+
${esc(p.name)}
152+
</h1>
150153
<h5>${esc(p.tagline)}</h5>
151154
</header>
152155
<div class="grid fade">${cards}</div>`;

data.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// Example: youtubeId: "GX9x62kFsVU", playlistId: "PLxxxxxxxxxxxxxxxx",
1414
const PRODUCTS = [
1515
{
16-
id: "app-accessibility",
16+
id: "Low-Code-Automation",
1717
name: "Low Code Automation",
1818
tagline: "Feature demos for Low Code Automation",
1919
icon: "",

0 commit comments

Comments
 (0)