Skip to content

Commit 9088218

Browse files
committed
Standardizing across calls
1 parent dd43453 commit 9088218

File tree

5 files changed

+22
-24
lines changed

5 files changed

+22
-24
lines changed

src/_sass/components/_markdown.scss

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -479,22 +479,12 @@ div.highlighter-rouge {
479479
.sample-code-container {
480480
display: grid;
481481
grid-template-columns: 1fr 1fr;
482-
gap: 10px;
483-
padding: 5px;
484482
overflow: scroll;
485483
}
486484

487-
.output {
488-
outline: 1px solid color(gray-600);
489-
outline-offset: 4px
490-
}
491485
.output-code {
492486
display: block;
493487
font: 12px color(code-gray) "Droid Sans Mono", "Lucida Console", "Monaco", monospace;
494488
word-wrap: break-word;
495489
}
496490

497-
.form {
498-
outline: 1px solid color(gray-600);
499-
outline-offset: 4px;
500-
}

src/connections/spec/group.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ Here's a complete example of a `group` call:
8181
}
8282
```
8383

84+
### Create your own Group call
85+
86+
Use the following interactive code pen to see what your Group calls would look like with user-provided information:
87+
8488
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/9000.0.1/prism.min.js" integrity="sha512-UOoJElONeUNzQbbKQbjldDf9MwOHqxNz49NNJJ1d90yp+X9edsHyJoAs6O4K19CZGaIdjI5ohK+O2y5lBTW6uQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
8589
<script type="text/javascript">
8690
function showMessage(){
@@ -135,7 +139,6 @@ Here's a complete example of a `group` call:
135139
<div class="sample-code-container">
136140
<div class="form">
137141
<h3> Sample Group </h3>
138-
<p><b>See what your group call looks like</b></p>
139142
<label for="name">Name:</label>
140143
<input type="text" id="name"><br>
141144
<label for="industry">Title:</label>
@@ -151,9 +154,9 @@ Here's a complete example of a `group` call:
151154
</div>
152155

153156
<div class="output">
154-
<h3>Sample Group Call</h3>
157+
<h4>Sample Group Call</h4>
155158
<pre class="language-javascript"><code class="language-javascript" id="output_container">
156-
159+
Sample output goes here!
157160
</code></pre>
158161
</div>
159162
</div>

src/connections/spec/page.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ Here's a complete example of a `page` call:
7171
"version": "1.1"
7272
}
7373
```
74+
### Create your own Page call
7475

76+
Use the following interactive code pen to see what your Page calls would look like with user-provided information:
7577
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/9000.0.1/prism.min.js" integrity="sha512-UOoJElONeUNzQbbKQbjldDf9MwOHqxNz49NNJJ1d90yp+X9edsHyJoAs6O4K19CZGaIdjI5ohK+O2y5lBTW6uQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
7678
<script type="text/javascript">
7779
function showMessage(){
@@ -120,8 +122,7 @@ Here's a complete example of a `page` call:
120122

121123
<div class="sample-code-container">
122124
<div class="form">
123-
<h3> Sample Page </h3>
124-
<p><b>See what your page call looks like</b></p>
125+
<h4> Sample Page call</h4>
125126
<label for="name">Name:</label>
126127
<input type="text" id="name"><br>
127128
<label for="title">Title:</label>
@@ -132,9 +133,9 @@ Here's a complete example of a `page` call:
132133
</div>
133134

134135
<div class="output">
135-
<h3>Sample Page Call</h3>
136+
<h4>Sample Page Call</h4>
136137
<pre class="language-javascript"><code class="language-javascript" id="output_container">
137-
138+
Sample output goes here!
138139
</code></pre>
139140
</div>
140141
</div>

src/connections/spec/screen.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ Here's a complete example of a `screen` call:
6565
"version": "1.1"
6666
}
6767
```
68+
### Create your own Screen call
6869

70+
Use the following interactive code pen to see what your Screen calls would look like with user-provided information:
6971
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/9000.0.1/prism.min.js" integrity="sha512-UOoJElONeUNzQbbKQbjldDf9MwOHqxNz49NNJJ1d90yp+X9edsHyJoAs6O4K19CZGaIdjI5ohK+O2y5lBTW6uQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
7072
<script type="text/javascript">
7173
function showMessage(){
@@ -112,8 +114,7 @@ Here's a complete example of a `screen` call:
112114

113115
<div class="sample-code-container">
114116
<div class="form">
115-
<h3> Sample Screen </h3>
116-
<p><b>See what your screen call looks like</b></p>
117+
<h4> Sample Screen </h4>
117118
<label for="name">Name:</label>
118119
<input type="text" id="name"><br>
119120
<label for="variation">Variation:</label>
@@ -122,9 +123,9 @@ Here's a complete example of a `screen` call:
122123
</div>
123124

124125
<div class="output">
125-
<h3>Sample Screen Call</h3>
126+
<h4>Sample Screen Call</h4>
126127
<pre class="language-javascript"><code class="language-javascript" id="output_container">
127-
128+
Sample output goes here!
128129
</code></pre>
129130
</div>
130131
</div>

src/connections/spec/track.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ Here's a complete example of a `track` call:
7676
}
7777
```
7878

79+
### Create your own Track call
80+
81+
Use the following interactive code pen to see what your Track calls would look like with user-provided information:
82+
7983
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/9000.0.1/prism.min.js" integrity="sha512-UOoJElONeUNzQbbKQbjldDf9MwOHqxNz49NNJJ1d90yp+X9edsHyJoAs6O4K19CZGaIdjI5ohK+O2y5lBTW6uQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
8084
<script type="text/javascript">
8185
function showMessage(){
@@ -130,7 +134,6 @@ Here's a complete example of a `track` call:
130134
<div class="sample-code-container">
131135
<div class="form">
132136
<h3> Sample Track </h3>
133-
<p><b>See what your track call looks like</b></p>
134137
<label for="event">Event:</label>
135138
<input type="text" id="event"><br>
136139
<label for="title">Title:</label>
@@ -139,9 +142,9 @@ Here's a complete example of a `track` call:
139142
</div>
140143

141144
<div class="output">
142-
<h3>Sample Track Call</h3>
145+
<h4>Sample Track Call</h4>
143146
<pre class="language-javascript"><code class="language-javascript" id="output_container">
144-
147+
Sample output goes here!
145148
</code></pre>
146149
</div>
147150
</div>

0 commit comments

Comments
 (0)