diff --git a/static/canvas.html b/static/canvas.html new file mode 100644 index 0000000..54c2f17 --- /dev/null +++ b/static/canvas.html @@ -0,0 +1,340 @@ +{{ define "canvas" }} +
+ + + + +
+
+ + + +
+ + +
+ {{ if .Level.InterviewerRequirements }} +
+

Interviewer Requirements

+
    + {{ range .Level.InterviewerRequirements }} +
  • {{ . }}
  • + {{ end }} +
+
+ {{ end }} + + {{ if .Level.FunctionalRequirements }} +
+

Functional Requirements

+
    + {{ range .Level.FunctionalRequirements }} +
  • {{ . }}
  • + {{ end }} +
+
+ {{ end }} + + {{ if .Level.NonFunctionalRequirements }} +
+

Non-Functional Requirements

+
    + {{ range .Level.NonFunctionalRequirements }} +
  • {{ . }}
  • + {{ end }} +
+
+ {{ end }} +
+ + +
+ + +
+ +
+ +
+
+
+
level constraints
+
🎯 target rps: {{.Level.TargetRPS}}
+
⏱️ max p95 latency: {{.Level.MaxP95LatencyMs}}ms
+
💸 max cost: ${{.Level.MaxMonthlyUSD}}
+
🔒 availability: {{printf "%.2f" .Level.RequiredAvailabilityPct}}% +
+
+
+ + + + + + + + + + + +
+

node properties

+
+ + +
+
+ +
+
+ + + +
+
+ + + + + + + + + + + +
+
+ + +
+
+ + + + + +
+
+ + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+
+ + + + + +
+
+ + + + + +
+ + + + +
+
+ +
+
+
+ +
This is Tab 3 content.
+
+
+ + +{{ end }} diff --git a/static/challenges.html b/static/challenges.html new file mode 100644 index 0000000..bda51b4 --- /dev/null +++ b/static/challenges.html @@ -0,0 +1,14 @@ +{{ define "challenges" }} +
+ + + +
+{{ end }} diff --git a/static/chat.html b/static/chat.html new file mode 100644 index 0000000..bc7f8df --- /dev/null +++ b/static/chat.html @@ -0,0 +1,57 @@ +{{ define "chat" }} + + +
+
+

System Design Assistant

+

Powered by AI

+
+
+

+ 1 +

+

+ Lorem ipsum dolor sit amet consectetur adipisicing elit. Autem doloremque exercitationem, blanditiis + obcaecati + earum recusandae quia laudantium assumenda nihil mollitia velit eos molestias odio quasi facilis suscipit + rem + nulla sapiente ea voluptatum repudiandae dicta enim ut! Sed perferendis aliquid vel ad incidunt? In sit id + voluptatibus fugit voluptates, architecto sequi. +

+

+ Lorem ipsum dolor sit amet consectetur adipisicing elit. Ex beatae vero sit delectus, rem totam molestias. + Officia, suscipit error. Voluptatibus. +

+
+
+
+
+
+
+ loading... +
+
+ +
+ + +{{ end }} diff --git a/static/header.html b/static/header.html new file mode 100644 index 0000000..93f3aaa --- /dev/null +++ b/static/header.html @@ -0,0 +1,16 @@ +{{ define "header" }} +
+

System Design Game

+ {{ if and .Username .Avatar }} +
+ + {{ .Username }} +
+ {{ else }} + + GitHub Logo + Login with GitHub + + {{ end }} +
+{{ end }}