Skip to content

Commit c30c02b

Browse files
Merge pull request #55 from CodeWithGroup/feature/46-faq-page
Adds FAQ page
2 parents 5300bf5 + 6180e50 commit c30c02b

File tree

13 files changed

+139
-14
lines changed

13 files changed

+139
-14
lines changed

_data/questions/ad-hoc-help.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: "ad-hoc-help"
2+
question: "Do I have to wait for drop-ins to ask for help?"
3+
answer: " <p>
4+
CodeWith isn't just a series of events, it's a community of people who do their best to help each other.
5+
If you visit our <a target=\"_blank\" href=\"https://codewithpeople.slack.com\">Slack workspace</a>
6+
or our <a target=\"_blank\" href=\"https://discord.gg/DrZ7B7q\">Discord server</a> there'll usually be
7+
someone there. Most of the time they'll be able to help, or will at least know who to ask for an answer,
8+
but if not then at least you have some people you can talk to about the problem to try to find a way forward.
9+
</p>"

_data/questions/how-to-mentor.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: "how-to-mentor"
2+
question: "How do I become a mentor/event organiser?"
3+
answer: " <p>
4+
First of all, let someone know you're interested. Have a chat with one of the existing mentors or
5+
someone on the committee so that we can get an idea of what you want to achieve and what support you
6+
need. From there we'll be able to add you into the appropriate Slack channels, give you a folder
7+
of your own in our Google Drive, show you how to set up events, and so on.
8+
</p>"

_data/questions/recruiters.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: "recruiters"
2+
question: "I'm a recruiter. Can I come and talk to your attendees?"
3+
answer: " <p>
4+
We're not against it, as long as it's done considerately. We have a #jobs channel in our
5+
<a target=\"_blank\" href=\"https://codewithpeople.slack.com\">Slack workspace</a> where recruiters can
6+
post about jobs, employment opportunities and so on, but any discussions with attendees on those topics
7+
outside of that channel must be done by explicit agreement of the attendee(s) involved.
8+
</p>
9+
<p>
10+
The committee has talked about hosting an event specifically for recruiters, but the finer points still
11+
need to be agreed. If you would like to be contacted regarding this, please email us at
12+
<a href=\"mailto:contact@codewith.org.uk?subject=Recruiter Event\">contact@codewith.org.uk</a>.
13+
</p>"

_data/questions/website-edits.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: "website-edits"
2+
question: "I've spotted a problem/something missing on the website. Can I fix it myself?"
3+
answer: " <p>
4+
Yes! Our website is built from
5+
<a href=\"https://github.com/CodeWithGroup/CodeWithGroup.github.io\">this GitHub repository</a>
6+
and is yours to edit if you see a problem or want to make any additions. There are plenty of
7+
instructions on the README page, so have a read through that and start editing.
8+
</p>
9+
<p>
10+
If you've never used GitHub before and want someone to show you how it works, put a message in
11+
the Slack workspace and someone should pick it up. There are also slides for a GitHub workshop
12+
available, so you could ask about those too.
13+
</p>"

_data/questions/why-equity.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
id: "why-equity"
2+
question: "Why do you have an equity officer and not an equality officer?"
3+
answer: " <div class=\"row\">
4+
<div class=\"col-md-6 text-center\">
5+
<img class=\"faq\" src=\"/images/equality.png\">
6+
</div>
7+
<div class=\"col-md-6 text-center\">
8+
<img class=\"faq\" src=\"/images/equity.png\">
9+
</div>
10+
</div>
11+
<p>
12+
<br />
13+
Equality is where everyone is supported equally, and has the same access to support, whereas
14+
equity is where people have the right support to get them to the same level as others even
15+
when they start from a less advantageous position. We realise that some people are going to need more
16+
help than others - for all sorts of reasons - and we wanted to make that clear from the outset.
17+
</p>"

_includes/question.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<div class="card faq-question-card">
2+
<div class="card-header" id="heading-{{ include.question.name }}">
3+
<button class="btn btn-link faq-question collapsed" data-toggle="collapse" data-target="#collapse-{{ include.question.name }}" aria-expanded="false"
4+
aria-controls="collapse-{{ include.question.name }}">
5+
{{ include.question.question }}
6+
</button>
7+
</div>
8+
9+
<div id="collapse-{{ include.question.name }}" class="collapse" aria-labelledby="heading-{{ include.question.name }}" data-parent="#accordion">
10+
<div class="card-body">
11+
<p>
12+
{{ include.question.answer }}
13+
</p>
14+
</div>
15+
</div>
16+
</div>

_includes/sidebar.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@
6363
<span>Feedback</span>
6464
</a>
6565
</li>
66+
<li class="sidebar-dropdown">
67+
<a href="{{site.url}}/faq">
68+
<i class="fas fa-question"></i>
69+
<span>FAQ</span>
70+
</a>
71+
</li>
6672
<li class="sidebar-dropdown">
6773
<a href="{{site.url}}/branding">
6874
<i class="fas fa-palette"></i>
@@ -78,4 +84,4 @@
7884
</ul>
7985
</div>
8086
</div>
81-
</nav>
87+
</nav>

contact.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ <h2>Social Media</h2>
120120
</p>
121121
<p>
122122
<span class="fab fa-slack text-green"></span>&nbsp;
123-
<a target="_blank" href="https://Launchpass.com/codewithpeople">Slack Signup (Launchpass)</a>
123+
<a target="_blank" href="https://launchpass.com/codewithpeople">Slack Signup (Launchpass)</a>
124124
</p>
125125
<p>
126126
<span class="fab fa-twitter text-green"></span>&nbsp;

css/style.css

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -290,17 +290,13 @@ iframe {
290290

291291
/* Logo */
292292

293-
.main-logo {
294-
padding-right: 1em;
295-
}
296-
297293
.main-logo img {
298294
height: 48pt;
299295
}
300296

301297
.main-logo-title {
302298
text-align: center;
303-
width: 92%;
299+
width: 100%;
304300
}
305301

306302
.main-logo-title h1 {
@@ -411,14 +407,31 @@ div.event-book-button {
411407
color: var(--colour-black);
412408
}
413409

414-
415-
416410
/* Twitter */
417411

418412
#twitterButton i {
419413
font-size: 1.2em;
420414
}
421415

416+
/*FAQ*/
417+
418+
.faq-question {
419+
color: var(--colour-light-primary)
420+
}
421+
422+
.faq-question:hover {
423+
color: var(--colour-dark-primary)
424+
}
425+
426+
.faq-question-card {
427+
margin-left: 0;
428+
padding: 0;
429+
}
430+
431+
.faq-question-card img.faq {
432+
max-height: 205px;
433+
}
434+
422435
/* Branding */
423436
.white-asset {
424437
background-color: var(--colour-dark-primary);
@@ -479,6 +492,10 @@ div.event-book-button {
479492
width: 120px;
480493
}
481494

495+
.main-logo {
496+
padding-right: 1em;
497+
}
498+
482499
span#small-screen-break {
483500
display: none;
484501
}
@@ -505,6 +522,7 @@ div.event-book-button {
505522
}
506523

507524
@media screen and (min-width: 992px) {
525+
508526
.masthead,
509527
.mastfoot,
510528
.cover-container {

faq.html

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
permalink: /faq/
3+
layout: default
4+
suffixes:
5+
- Help,
6+
- Questions,
7+
- Support,
8+
- Us
9+
title: Frequently Asked Questions
10+
---
11+
12+
<h1>{{page.title}}</h1>
13+
14+
<p>Below are some questions we often get asked. If you have any other questions you can reach us on the <a
15+
href="{{site.url}}/contact">contact page</a>.</p>
16+
17+
<div id="accordion">
18+
{% for question_hash in site.data.questions %}
19+
{% assign question = question_hash[1] %}
20+
{% include_relative _includes/question.html question=question %}
21+
{% endfor %}
22+
</div>

0 commit comments

Comments
 (0)