neetnestor commited on
Commit
5189f41
1 Parent(s): b8cb406

Add link to TypeBox

Browse files
Files changed (2) hide show
  1. index.html +14 -4
  2. style/style.css +4 -0
index.html CHANGED
@@ -28,7 +28,7 @@
28
  <div class="card">
29
  <form>
30
  <label for="model-selection" class="container"
31
- ><span>Model</span>
32
  <select id="model-selection"></select
33
  ></label>
34
  </form>
@@ -36,7 +36,7 @@
36
  <div class="card">
37
  <form>
38
  <label for="prompt" class="container"
39
- ><span>Prompt</span>
40
  <textarea
41
  id="prompt"
42
  dir="ltr"
@@ -49,7 +49,17 @@
49
  <div class="card">
50
  <form>
51
  <label class="container"
52
- ><span>Schema</span>
 
 
 
 
 
 
 
 
 
 
53
  <div id="schema"></div>
54
  </label>
55
  </form>
@@ -60,7 +70,7 @@
60
  <div class="card">
61
  <form>
62
  <label class="output"
63
- ><span>Output</span>
64
  <div id="output"></div>
65
  </label>
66
  </form>
 
28
  <div class="card">
29
  <form>
30
  <label for="model-selection" class="container"
31
+ ><span><b>Model</b></span>
32
  <select id="model-selection"></select
33
  ></label>
34
  </form>
 
36
  <div class="card">
37
  <form>
38
  <label for="prompt" class="container"
39
+ ><span><b>Prompt</b></span>
40
  <textarea
41
  id="prompt"
42
  dir="ltr"
 
49
  <div class="card">
50
  <form>
51
  <label class="container"
52
+ ><span><b>Schema</b></span>
53
+ <span
54
+ >Check
55
+ <a
56
+ href="https://github.com/sinclairzx81/typebox"
57
+ referrerpolicy="no-referrer"
58
+ target="_blank"
59
+ >TypeBox</a
60
+ >
61
+ for schema type syntax and documentation.</span
62
+ >
63
  <div id="schema"></div>
64
  </label>
65
  </form>
 
70
  <div class="card">
71
  <form>
72
  <label class="output"
73
+ ><span><b>Output</b></span>
74
  <div id="output"></div>
75
  </label>
76
  </form>
style/style.css CHANGED
@@ -80,6 +80,10 @@ form {
80
  gap: 1.5rem;
81
  }
82
 
 
 
 
 
83
  form span {
84
  display: inline-block;
85
  position: relative;
 
80
  gap: 1.5rem;
81
  }
82
 
83
+ form .container {
84
+ gap: 0;
85
+ }
86
+
87
  form span {
88
  display: inline-block;
89
  position: relative;