individual pages

This commit is contained in:
Corban-Lee Jones 2024-11-06 17:25:59 +00:00
parent fb2b483d43
commit 6a3bb974b9
8 changed files with 40 additions and 5 deletions

View File

@ -1 +1 @@
@import "scss/base.scss"
@import "scss/base.scss";

View File

@ -0,0 +1 @@
@import "scss/base.scss";

View File

@ -0,0 +1 @@
@import "scss/base.scss";

View File

@ -2,9 +2,6 @@
{% load static %}
{% load compress %}
{% block title %}
Venues |
{% endblock title %}
{% block stylesheets %}
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css" integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY=" crossorigin="" />

View File

@ -0,0 +1,11 @@
{% extends "base.html" %}
{% load static %}
{% load compress %}
{% block title %} · Leagues{% endblock title %}
{% block stylesheets %}
{% compress css %}
<link type="text/x-scss" rel="stylesheet" href="{% static 'home/scss/leagues.scss' %}">
{% endcompress %}
{% endblock stylesheets %}

View File

@ -0,0 +1,11 @@
{% extends "base.html" %}
{% load static %}
{% load compress %}
{% block title %} · Venues{% endblock title %}
{% block stylesheets %}
{% compress css %}
<link type="text/x-scss" rel="stylesheet" href="{% static 'home/scss/venues.scss' %}">
{% endcompress %}
{% endblock stylesheets %}

View File

@ -5,5 +5,7 @@ from django.urls import path
from . import views
urlpatterns = [
path("", views.IndexView.as_view(), name="index")
path("", views.IndexView.as_view(), name="index"),
path("venues", views.VenueWatersView.as_view(), name="venues-waters"),
path("leagues", views.LeagueView.as_view(), name="leagues")
]

View File

@ -8,3 +8,15 @@ class IndexView(TemplateView):
"""The index view of the home app."""
template_name = "home/index.html"
class VenueWatersView(TemplateView):
"""Page for indexing Venues & Waters."""
template_name = "home/venues.html"
class LeagueView(TemplateView):
"""Page for indexing Leagues."""
template_name = "home/leagues.html"