Skip to content

Commit 859ab40

Browse files
committed
faq update
1 parent c771197 commit 859ab40

File tree

7 files changed

+7
-33
lines changed

7 files changed

+7
-33
lines changed

index.js

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -954,23 +954,12 @@ app.get("/participate", async (req,res) => {
954954
// })
955955
// console.log(programData)
956956
// let pageContent = getPageContent()
957-
res.render("programs/participate")
957+
res.render("programs/faq")
958958
})
959959
app.get("/faq", async (req,res) => {
960960
res.render("programs/faq")
961961
})
962-
app.get("/participateTest", async (req,res) => {
963-
const sessions = await getDatabaseEntries("ba1f9876ad3e4810880d4802d3d70d6f", [{property:"Date", direction:"descending"}])
964-
const events = await getDatabaseEntries("10c62665c6ca4383bbdc12788c45df14", [{property:"Date", direction:"descending"}])
965962

966-
const programData = sessions.map((program) => {
967-
console.log(program)
968-
return parsePrograms(program)
969-
})
970-
console.log(programData)
971-
// let pageContent = getPageContent()
972-
res.render("programs/participateTest", {programs: programData})
973-
})
974963

975964

976965

public/templates/networked-performance/session.hbs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,6 @@
8181

8282

8383

84-
<h4 class="breadcrumb hide-content">
85-
<a href="/participate.html">participate</a>
86-
<!-- <span class="caret"></span>
87-
<a href="">sessions</a> -->
88-
<!-- <span class="caret"></span>
89-
<a href="/sessions/{{'Session Slug'}} " id=" session-link">{{"Session Name"}}</a> -->
90-
</h4>
91-
9284

9385

9486

public/templates/partials/classBoilerplate.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Through this grant, we offer tuition-free classes that interrogate the role tech
135135

136136
<div class="grid-2">
137137
<p>
138-
For more information about what we look for in applicants, scholarships, and other frequently asked questions, please visit our <a href="/participate#admissions-process">applicant FAQ</a>.
138+
For more information about what we look for in applicants, scholarships, and other frequently asked questions, please visit our <a href="/faq#admissions-process">applicant FAQ</a>.
139139

140140
</p>
141141
</div>

public/templates/partials/header.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<div class="grid-2">
1414
<div class="grid-4">
1515
<ul class="nav">
16-
<li><a id="link-participate" href="/participate">participate</a></li>
16+
<li><a id="link-participate" href="/faq">faq</a></li>
1717
<li><a id="link-classes" href="/classes">classes</a></li>
1818
<li><a id="link-projects" href="/projects">projects</a></li>
1919
</ul>
@@ -52,7 +52,7 @@
5252
<div class="mobile-menu-content">
5353
<!-- <h2><a id="link-fundraiser" href="/fundraiser">Donate!</a></h2> -->
5454

55-
<h2><a id="link-participate" href="/participate">Participate</a></h2>
55+
<h2><a id="link-participate" href="/faq">FAQ</a></h2>
5656
<h2><a id="link-classes" href="/classes">Classes</a></h2>
5757

5858
<h2><a id="link-projects" href="/projects">Projects</a></h2>

public/templates/programs/class-concurrent.hbs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,6 @@ src="https://www.facebook.com/tr?id=702080505718294&ev=PageView&noscript=1"
100100

101101

102102
<h4 class="breadcrumb hide-content">
103-
<a href="/participate.html">participate</a>
104-
<span class="caret"></span>
105103
<a href="">sessions</a>
106104
<span class="caret"></span>
107105
<!-- <a href="/sessions/{{'Session Slug'}} " id=" session-link">{{"Session Name"}}</a> -->
@@ -222,7 +220,7 @@ src="https://www.facebook.com/tr?id=702080505718294&ev=PageView&noscript=1"
222220
{{else}}
223221
{{#if free}}Full scholarships for all{{else}}Scholarships available{{/if}}
224222

225-
{{#if registrationDone}}<a href="/about/scholarships">learn more...</a>{{else}}<a href="/participate#scholarships">
223+
{{#if registrationDone}}<a href="/about/scholarships">learn more...</a>{{else}}<a href="/faq#scholarships">
226224
learn more...</a>{{/if}}
227225
{{/if}}
228226
</div>

public/templates/programs/faq.hbs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,7 @@
7272

7373

7474
<div class="selectors">
75-
<!-- <select id="allSections" onchange="if (this.value) window.location.href=this.value" class=" hide-content">
76-
<option value="/participate" selected>All Programs</option>
77-
<option value="/sessions">Sessions</option>
78-
<option value="/classes">Classes</option>
79-
<option value="/events">Events</option>
80-
</select> -->
75+
8176

8277
<select id="allSections" onchange="sectionJump(this.value)" class=" hide-content">
8378
<option value="">Jump to section...</option>

public/templates/programs/session-concurrent.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272

7373

7474
<h4 class="breadcrumb hide-content text-on-bg">
75-
<a href="/participate.html">participate</a>
75+
<a href="/faq">participate</a>
7676
<span class="caret"></span>
7777
<a href="">sessions</a>
7878
<!-- <span class="caret"></span>

0 commit comments

Comments
 (0)