diff --git a/.env_sample b/.env_sample index 89fa2b3c..b759b073 100644 --- a/.env_sample +++ b/.env_sample @@ -2,3 +2,4 @@ DEVELOPMENT=1 SECRET_KEY="your_secret_key_here" SITE_NAME="localhost" SLACK_ENABLED=True +SUPPORT_EMAIL = 'support@example.com' diff --git a/home/views.py b/home/views.py index 54e1d0dd..20077739 100644 --- a/home/views.py +++ b/home/views.py @@ -1,5 +1,6 @@ from django.contrib import messages from django.core.paginator import Paginator +from django.conf import settings from django.shortcuts import render, redirect, reverse from hackathon.models import Hackathon @@ -37,8 +38,9 @@ def home(request): def faq(request): """ A view to return the FAQ page """ + support_email = settings.SUPPORT_EMAIL - return render(request, "faq.html") + return render(request, "faq.html", {'support_email': support_email}) def judging_criteria(request): diff --git a/main/settings.py b/main/settings.py index 03978d4e..676a0b23 100644 --- a/main/settings.py +++ b/main/settings.py @@ -166,3 +166,4 @@ # Number of showcases displayed in the carousel SHOWCASE_SPOTLIGHT_NUMBER = int(os.environ.get('SHOWCASE_SPOTLIGHT_NUMBER') or 0) +SUPPORT_EMAIL = os.environ.get("SUPPORT_EMAIL") diff --git a/templates/faq.html b/templates/faq.html index a0d46db2..c3dc9a3c 100644 --- a/templates/faq.html +++ b/templates/faq.html @@ -2,7 +2,137 @@ {% load static %} {% block content %} -
A hackathon (also known as a hack day, hackfest, datathon or codefest) is a + design sprint-like event; often, in which computer programmers and others + involved in software development, including UX/graphic designers, project + managers, subject matter experts, and others collaborate intensively on + software projects. +
++ The goal of a hackathon is to create functioning software or hardware prototype + by the end of the event which usually lasts . Hackathons tend to have a specific + focus, which can include the programming language used, the operating system, + an application, an API, or the subject and the demographic group of the programmers. +
++ (Wikipedia, 2021) +
++ Any interested student, alumni, staff or partner can join a hackathon.
++ Participating in a hackathon is a great way to learn more about how it is + to work in a fast paced development team. You will be using version control + to share code with your team members, troubleshoot code and create a project + towards very challenging deadlines. +
++ We encourage participation, but would only suggest to join if you are + currently ahead of your schedule and do not have any project deadline + close to the hackathon date. +
++ You need a team to participate in a hackathon, otherwise the workload to + get everything done within time will be too great and more importantly you + will not get the wanted learning outcomes. Learning about what it means to + work as part of a development team is the main benefit of participating in + a team. +
++ In most cases participants sign up on their own, so teams are semi-randomly + assigned to get an even mix of experience in each of the teams. +
++ If you want to join a hackathon with a preformed team, make sure that each + of your team members joins individually and send an email to + {% if not support_email %}Student Care{% else %} + {{support_email}}{% endif %} at + least a few days before the hackathon. +
++ Prizes depend on the individual hackathons and sponsorship availability. +
++ The winning team will be decided by a jury made up of Code Institute staff + and depending on the hackathon industry experts and/or partners of Code + Institute. +
++ The jury will analyze and evaluate all works submitted by each team + according to the following evaluation criteria: +
++ (this can vary depending on the hackathon, but will be visible on the + hackathon itself) +
++ Hackathon themes vary depending on the hackathon itself. The theme will be + visible on the hackathon signup page or on the hackathon page itself. +
+ {% endblock %}