add about/apps

This commit is contained in:
2021-12-03 00:49:05 -08:00
parent a26348b001
commit 2d1c912be2
18 changed files with 73 additions and 14 deletions

0
about/__init__.py Normal file
View File

3
about/admin.py Normal file
View File

@@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.

6
about/apps.py Normal file
View File

@@ -0,0 +1,6 @@
from django.apps import AppConfig
class AboutConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'about'

View File

3
about/models.py Normal file
View File

@@ -0,0 +1,3 @@
# from django.db import models
# Create your models here.

View File

@@ -0,0 +1,27 @@
{% extends "base.html" %}
{% block content %}
{% include "base_navbar.html" %}
{% include "base_heading.html" %}
<div id="main">
<div class="row w-100 mx-0">
<div class="col-0 col-sm-3">
</div>
<div class="col-12 col-sm-6 px-2 mx-0">
<h2 class="text-center">Native Android Application</h2>
<p class="text-justify">
<a href="https://play.google.com/store/apps/details?id=org.trentpalmer.trentreads" target="_blank" rel="noopener noreferrer">
You can consume and listen to the audiobooks now using my new native Android Application, Trent Reads.
</a>
</p>
<h2 class="text-center">Podcast Applications</h2>
<p class="text-justify">
You can also subscribe to each AudioBook individually as a podcast feed using a podcast client.
Copy and paste the link for the associated feed into a podcast client.
</p>
</div>
<div class="col-0 col-sm-3">
</div>
</div>
</div>
{% endblock content %}

3
about/tests.py Normal file
View File

@@ -0,0 +1,3 @@
# from django.test import TestCase
# Create your tests here.

8
about/urls.py Normal file
View File

@@ -0,0 +1,8 @@
from django.urls import path
from . import views
app_name = "about"
urlpatterns = [
path('apps/', views.apps, name='apps'),
]

5
about/views.py Normal file
View File

@@ -0,0 +1,5 @@
from django.shortcuts import render
def apps(request):
return render(request, 'about/apps.html')