Skip to content

Commit 0c15cbe

Browse files
committed
Merge branch 'feature/cards' of https://github.com/stanfordpython/stanfordpython.github.io into feature/cards
2 parents d584512 + 10bd5ac commit 0c15cbe

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,9 @@ <h3 class="text-muted">the <span class="text-primary">python</span> programming
115115
<div role="tabpanel" class="tab-pane fade in active" id="overview">
116116

117117
<!-- Start of the Final Project Showcase -->
118+
<h4 class="text-primary">Project Showcase</h4>
118119
<div class="container">
119-
<div id="final-showcase" class="row mt-2 no-gutters justify-content-between d-flex flex-wrap">
120+
<div id="final-showcase" class="row no-gutters justify-content-between d-flex flex-wrap">
120121

121122
</div>
122123
</div>

js/resources.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -213,22 +213,22 @@ function create_showcase_card(project) {
213213
<h6 class="card-subtitle mb-2 text-muted">{ project.authors }</h6>
214214
<a href="{ project.codeLink }" class="card-link">{ project.codeSource }</a>
215215
{ project.ext }
216-
<button
217-
type="button"
218-
class="btn btn-link card-link"
219-
data-toggle="modal"
216+
<button
217+
type="button"
218+
class="btn btn-link card-link"
219+
data-toggle="modal"
220220
data-target="#{ project.uid }-modal"
221221
>
222222
{ project.mediaType }
223223
</button>
224224
</div>
225225
</div>
226-
<div
227-
class="modal fade"
228-
id="{ project.uid }-modal"
229-
tabindex="-1"
230-
role="dialog"
231-
aria-labelledby="{ project.uid }-modalTitle"
226+
<div
227+
class="modal fade"
228+
id="{ project.uid }-modal"
229+
tabindex="-1"
230+
role="dialog"
231+
aria-labelledby="{ project.uid }-modalTitle"
232232
aria-hidden="true"
233233
>
234234
<div class="modal-dialog" role="document">
@@ -426,7 +426,7 @@ function create_week_heading_tr(week) {
426426
}
427427

428428
// Actually fetch all the resources
429-
var RESOURCES_DIR = 'http://localhost:8000/res'
429+
var RESOURCES_DIR = 'https://stanfordpython.com/res'
430430

431431
$.when(
432432
// Before we can do anything, make sure we have the proper data!

0 commit comments

Comments
 (0)