-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
83 lines (76 loc) · 4.06 KB
/
index.html
File metadata and controls
83 lines (76 loc) · 4.06 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Pareto Chart — Collaborative Root Cause Analysis</title>
<link rel="stylesheet" href="css/style.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet" />
</head>
<body class="landing-body">
<!-- Toast container -->
<div id="toast-container"></div>
<div class="landing-wrapper">
<header class="landing-header">
<div class="logo">
<svg width="36" height="36" viewBox="0 0 36 36" fill="none">
<rect width="36" height="36" rx="10" fill="#6C5CE7"/>
<rect x="8" y="10" width="6" height="18" rx="2" fill="#fff" opacity="0.9"/>
<rect x="16" y="16" width="6" height="12" rx="2" fill="#fff" opacity="0.7"/>
<rect x="24" y="20" width="6" height="8" rx="2" fill="#fff" opacity="0.5"/>
<path d="M8 12 L16 18 L24 22 L30 25" stroke="#00E676" stroke-width="2" stroke-linecap="round" fill="none"/>
</svg>
<span>ParetoChart</span>
</div>
<button class="btn-icon" id="darkModeToggle" title="Toggle dark mode">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M21 12.79A9 9 0 1 1 11.21 3a7 7 0 0 0 9.79 9.79z"/>
</svg>
</button>
</header>
<main class="landing-main">
<div class="hero-section">
<h1>Prioritize Root Causes<br/><span class="gradient-text">Together</span></h1>
<p class="hero-sub">Collaboratively brainstorm, vote, and visualize root causes with a live Pareto chart. Identify the vital few that matter most.</p>
</div>
<div class="landing-cards">
<!-- Create Session Card -->
<div class="landing-card">
<div class="card-icon create-icon">
<svg width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"/><line x1="12" y1="8" x2="12" y2="16"/><line x1="8" y1="12" x2="16" y2="12"/></svg>
</div>
<h2>Host a Session</h2>
<p>Create a root cause analysis session and share the code with your team.</p>
<form id="createForm" autocomplete="off">
<input type="text" id="sessionTitle" placeholder="e.g. 'Why are deliveries delayed?'" maxlength="100" required />
<button type="submit" class="btn btn-primary btn-full">Create Session</button>
</form>
</div>
<!-- Join Session Card -->
<div class="landing-card">
<div class="card-icon join-icon">
<svg width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4"/><polyline points="10 17 15 12 10 7"/><line x1="15" y1="12" x2="3" y2="12"/></svg>
</div>
<h2>Join a Session</h2>
<p>Enter the session code shared by your facilitator to start collaborating.</p>
<form id="joinForm" autocomplete="off">
<input type="text" id="joinCode" placeholder="Enter session code" maxlength="10" required />
<button type="submit" class="btn btn-secondary btn-full">Join Session</button>
</form>
</div>
</div>
</main>
<footer class="landing-footer">
<p>Powered by <a href="https://www.tertiarycourses.com.sg/" target="_blank" rel="noopener noreferrer">Tertiary Infotech Academy Pte Ltd</a></p>
</footer>
</div>
<!-- Firebase SDKs (compat for vanilla JS) -->
<script src="https://www.gstatic.com/firebasejs/10.12.0/firebase-app-compat.js"></script>
<script src="https://www.gstatic.com/firebasejs/10.12.0/firebase-auth-compat.js"></script>
<script src="https://www.gstatic.com/firebasejs/10.12.0/firebase-firestore-compat.js"></script>
<script src="js/firebase-config.js?v=1"></script>
<script src="js/utils.js?v=1"></script>
<script src="js/app.js?v=1"></script>
</body>
</html>