-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
50 lines (47 loc) · 1.73 KB
/
Copy pathindex.html
File metadata and controls
50 lines (47 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-CZKRW5KJRS"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
try {
var params = new URLSearchParams(window.location.search);
var groupId = params.get('q_group_id') || sessionStorage.getItem('q_group_id');
// CHANGED: Ensure groupId is not just an empty string
if (groupId && groupId.trim() !== '') {
sessionStorage.setItem('q_group_id', groupId.trim());
gtag('set', { 'q_group_id': groupId.trim() });
}
} catch (e) { }
gtag('config', 'G-CZKRW5KJRS', { send_page_view: false });
</script>
<meta charset="UTF-8" />
<meta name="referrer" content="unsafe-url" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>BrowserStack Demo Hub</title>
<link rel="icon" type="image/svg+xml" href="icons/browserstack-icon.svg" />
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<nav class="navbar">
<div class="brand" onclick="location.hash='#/'">
<div class="logo">
<img src="icons/browserstack-icon.svg" alt="BrowserStack" width="28" height="28" />
</div>
<b>BrowserStack Demo Hub</b>
</div>
<div class="nav-right">
<button class="dark-toggle" id="darkToggle" aria-label="Toggle dark mode" title="Toggle dark mode">
<span class="toggle-icon">🌙</span>
</button>
<a class="nav-cta" onclick="location.hash='#/'">All Products</a>
</div>
</nav>
<div class="wrap" id="app"></div>
<script src="data.js"></script>
<script src="app.js"></script>
</body>
</html>