Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions core/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ <h1 class="uppercase font-bold text-teal-500 text-xl md:text-4xl">
<a href="{% url 'about' %}">About Us</a>
<span class="mx-3">|</span>
<a href="{% url 'contact' %}">Contact Us</a>
<span class="mx-3">|</span>
<a href="{% url 'session' %}">Meetings</a>
</nav>
</header>
{%block content%}{%endblock%}
Expand All @@ -58,6 +60,7 @@ <h1 class="uppercase text-teal-400 text-3xl font-bold">Coding United Commons</h1
<div class="flex flex-col justify-center">
<a class="text-gray-200" href="{% url 'about' %}">About US</a>
<a class="text-gray-200" href="{% url 'contact' %}">Contact US</a>
<a class="text-gray-200" href="{% url 'session' %}">Meetings</a>
</div>
</footer>
</div>
Expand Down
9 changes: 4 additions & 5 deletions core/templates/core/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -190,14 +190,13 @@ <h2 class="font-medium text-2xl">Devell Robinson</h2>
<hr />
<img class="my-3 w-full h-75 object-contain" src="{% static 'core/images/Devell.png' %}" alt="Kailey Avatar" />
<ul class="space-y-0.5 text-center px-4">
<li>Major:</li>
<li>Concentration:</li>
<li>Major: Computer Science</li>
<li>Concentration: Software Engineering</li>
<li class="text-left">
<strong>Goals:</strong>
<ul class="list-disc list-inside ml-5 space-y-1">
<li>GOAL 1</li>
<li>GOAL 2</li>
<li>GOAL 3</li>
<li>Create an inclusive social platform designed for developers of all backgrounds, skill levels, and specialties.
It will foster collaboration, learning, and community across every area of software development. </li>
</ul>
</li>
</ul>
Expand Down
17 changes: 17 additions & 0 deletions core/templates/core/session.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{%extends "base.html"%}
{% load static tailwind_tags %}

{%block title%}
<title>Session Recordings</title>
{%endblock%}

{%block content%}
<div class="container mx-auto p-4">
<h1 class="text-2xl font-bold mb-4">Session Recordings</h1>
<ul class="list-disc pl-6">
{% for recording in recordings %}
<li>{{ recording.session_name }} - {{ recording.recording_date }}</li>
{% endfor %}
</ul>
</div>
{%endblock%}
6 changes: 4 additions & 2 deletions core/urls.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
from django.urls import path

from .views import home, about, errorPage, contact
from .views import home, about, errorPage, contact, session


urlpatterns = [
path('', home, name='home'),
path('about/', about, name='about'),

path('contact/', contact, name='contact')
path('contact/', contact, name='contact'),
path('session/', session, name='session'),

]

handler404 = errorPage
Expand Down
2 changes: 2 additions & 0 deletions core/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ def home(request):
def about(request):
return render(request, 'core/about.html')

def session(request):
return render(request, 'core/session.html')

def contact(request):
if request.method == "POST":
Expand Down