-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathestimator.html
More file actions
143 lines (131 loc) · 6.46 KB
/
Copy pathestimator.html
File metadata and controls
143 lines (131 loc) · 6.46 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SysScale — Estimator</title>
<meta name="description" content="Interactive capacity estimation tool for system design interviews.">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/tokens.css">
<script>!function(){var t=localStorage.getItem("ss_theme")||"light";document.documentElement.setAttribute("data-theme",t)}();</script>
<link rel="stylesheet" href="css/base.css">
<link rel="stylesheet" href="css/layout.css">
<link rel="stylesheet" href="css/components.css">
<link rel="stylesheet" href="css/animations.css">
<link rel="stylesheet" href="css/pages.css">
</head>
<body>
<!-- ── Header ─────────────────────────────────────────── -->
<header class="header">
<a href="index.html" class="logo"><span class="logo-mark">SS</span>SysScale</a>
<span class="header-sep"></span>
<nav class="header-nav">
<a href="index.html" class="header-tab">Home</a>
<a href="estimator.html" class="header-tab active">Estimator</a>
<a href="learn.html" class="header-tab">Learn</a>
<a href="practice.html" class="header-tab">Practice</a>
<a href="reference.html" class="header-tab">Reference</a>
</nav>
<div class="header-right">
<!-- Interview timer -->
<div class="timer-wrap" id="timer-wrap">
<button class="timer-btn" id="timer-btn" onclick="SS.toggleTimer()">
<span class="timer-icon">⏱</span>
<span id="timer-label">Practice</span>
</button>
<div class="timer-display" id="timer-display" style="display:none">
<span id="timer-countdown">35:00</span>
<button class="timer-stop" onclick="SS.stopTimer()" title="Stop timer">✕</button>
</div>
</div>
<!-- Export -->
<button class="export-btn" onclick="SS.exportPrint()" title="Print / export">
<span>⬇</span> Export
</button>
<button id="theme-btn" onclick="SS.toggleTheme()" title="Dark mode">🌙</button>
<div id="nav-auth"></div>
<span class="version-badge">v4.0</span>
</div>
</header>
<!-- Interview prompt toast -->
<div class="timer-toast" id="timer-toast" style="display:none"></div>
<!-- Glossary tooltip -->
<div class="glossary-tooltip" id="g-tooltip" style="display:none"></div>
<!-- ── Body (3 columns) ───────────────────────────── -->
<div class="body-wrap">
<!-- Left sidebar -->
<aside class="left-sidebar" id="left-sidebar">
<div class="sidebar-section">
<div class="sidebar-label">Systems</div>
<div id="system-list"></div>
</div>
<div class="params-section" id="params-panel"></div>
</aside>
<!-- Center -->
<main class="center-panel">
<!-- 4-phase interview framework navigator -->
<div class="phase-nav" id="phase-nav">
<button class="phase-btn" data-phase="1" onclick="SS.setPhase(1, this)">
<span class="phase-num">1</span><span class="phase-lbl">Requirements</span>
</button>
<span class="phase-sep">›</span>
<button class="phase-btn active" data-phase="2" onclick="SS.setPhase(2, this)">
<span class="phase-num">2</span><span class="phase-lbl">Capacity</span>
</button>
<span class="phase-sep">›</span>
<button class="phase-btn" data-phase="3" onclick="SS.setPhase(3, this)">
<span class="phase-num">3</span><span class="phase-lbl">Architecture</span>
</button>
<span class="phase-sep">›</span>
<button class="phase-btn" data-phase="4" onclick="SS.setPhase(4, this)">
<span class="phase-num">4</span><span class="phase-lbl">Deep Dive</span>
</button>
<div class="phase-nav-spacer"></div>
<button class="panel-toggle" id="left-panel-toggle" onclick="SS.togglePanel('left',this)" title="Collapse parameters">‹</button>
<button class="panel-toggle" id="right-panel-toggle" onclick="SS.togglePanel('right',this)" title="Collapse details">›</button>
</div>
<div class="metric-bar" id="metric-bar"></div>
<div class="steps-area" id="steps-area"></div>
</main>
<!-- Right panel -->
<aside class="right-panel" id="right-panel">
<div class="right-panel-tabs">
<button class="rp-tab active" onclick="SS.setRpTab('arch', this)">Architecture</button>
<button class="rp-tab" onclick="SS.setRpTab('components', this)">Components</button>
<button class="rp-tab" onclick="SS.setRpTab('tradeoffs', this)">Tradeoffs</button>
<button class="rp-tab" onclick="SS.setRpTab('glossary', this)">Glossary</button>
</div>
<div class="rp-content" id="rp-content"></div>
</aside>
</div>
<!-- ── Scripts ── -->
<script src="js/utils/theme.js"></script>
<script src="js/utils/format.js"></script>
<script src="js/utils/glossary.js"></script>
<script src="js/core/diagram.js"></script>
<script src="js/core/state.js"></script>
<script src="js/core/render.js"></script>
<script src="js/content/requirements.js"></script>
<script src="js/systems/rate-limiter.js"></script>
<script src="js/systems/url-shortener.js"></script>
<script src="js/systems/chat-service.js"></script>
<script src="js/systems/notifications.js"></script>
<script src="js/systems/typeahead.js"></script>
<script src="js/systems/zoom.js"></script>
<script src="js/systems/news-feed.js"></script>
<script src="js/systems/ride-sharing.js"></script>
<script src="js/systems/job-scheduler.js"></script>
<script src="js/systems/distributed-cache.js"></script>
<script src="js/systems/message-queue.js"></script>
<script src="js/systems/web-crawler.js"></script>
<script src="js/systems/object-storage.js"></script>
<script src="js/systems/cdn.js"></script>
<script src="js/systems/payment.js"></script>
<script src="js/systems/social-graph.js"></script>
<script src="js/core/gamification.js"></script>
<script src="js/app.js"></script>
<script src="js/auth/firebase-init.js"></script>
</body>
</html>