🚧 news list

This commit is contained in:
Greg Newman
2022-10-17 09:58:50 -04:00
parent 52d20f9b69
commit c8ad2ace83
5 changed files with 129 additions and 1 deletions

View File

@@ -82,6 +82,16 @@ urlpatterns = [
TemplateView.as_view(template_name="review/review_process.html"),
name="review-process",
),
path(
"news/detail/",
TemplateView.as_view(template_name="news/news_detail.html"),
name="news_detail",
),
path(
"news/",
TemplateView.as_view(template_name="news/news_list.html"),
name="news",
),
path("versions/", VersionList.as_view(), name="version-list"),
path("version/<int:pk>/", VersionDetail.as_view(), name="version-detail"),
# TODO: determine real routes for this

View File

@@ -1059,6 +1059,11 @@ select {
margin-right: calc(2.75rem * var(--tw-space-x-reverse));
margin-left: calc(2.75rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-x-8 > :not([hidden]) ~ :not([hidden]) {
--tw-space-x-reverse: 0;
margin-right: calc(2rem * var(--tw-space-x-reverse));
margin-left: calc(2rem * calc(1 - var(--tw-space-x-reverse)));
}
.divide-y > :not([hidden]) ~ :not([hidden]) {
--tw-divide-y-reverse: 0;
border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
@@ -1095,6 +1100,9 @@ select {
.border-t {
border-top-width: 1px;
}
.border-r {
border-right-width: 1px;
}
.border-orange {
--tw-border-opacity: 1;
border-color: rgb(255 159 0 / var(--tw-border-opacity));

View File

@@ -41,7 +41,7 @@
<a href="/forum/" class="font-medium text-gray-500 hover:text-gray-900">Forums</a>
<a href="#" class="font-medium text-gray-500 hover:text-gray-900">News</a>
<a href="{% url "news" %}" class="font-medium text-gray-500 hover:text-gray-900">News</a>
<a href="#" class="font-medium text-gray-500 hover:text-gray-900">Donate</a>
</div>

View File

View File

@@ -0,0 +1,110 @@
{% extends "base.html" %}
{% load static %}
{% block content %}
<div class="py-0 md:py-6 mb-3 px-3 md:px-0">
<div class="md:w-full py-16">
<h1 class="text-4xl text-center">Boost News</h1>
<p class="text-center mt-0">
Keep up with the latest exciting news from Boost and our community!
</p>
<div class="flex w-full py-11 mt-11 border-t border-slate">
<div class="w-1/4 py-5">
<h3>Version 1.78.0</h3>
<p class="p-0">December 8th, 2021 03:45 GMT</p>
</div>
<div class="w-3/4">
<p>
Updated Libraries: Asio, Assert, Atomic, Beast, Core, Describe, DLL, Filesystem, Geometry, JSON, Lambda2,
Log, Math, MultiIndex, Multiprecision, Nowide, PFR, Predef, Regex, System, Utility, Variant2.
</p>
<div class="uppercase space-x-8">
<span><a href="#" class="pr-8 text-orange border-r border-slate">Release notes</a></span>
<span><a href="#" class="pr-8 text-orange border-r border-slate">Download</a></span>
<span><a href="#" class="text-orange">Version Details</a></span>
</div>
</div>
</div>
<div class="flex w-full py-11 mt-11 border-t border-slate">
<div class="w-1/4 py-5">
<h3>Version 1.78.0</h3>
<p class="p-0">December 8th, 2021 03:45 GMT</p>
</div>
<div class="w-3/4">
<p>
Updated Libraries: Asio, Assert, Atomic, Beast, Core, Describe, DLL, Filesystem, Geometry, JSON, Lambda2,
Log, Math, MultiIndex, Multiprecision, Nowide, PFR, Predef, Regex, System, Utility, Variant2.
</p>
<div class="uppercase space-x-8">
<span><a href="#" class="pr-8 text-orange border-r border-slate">Release notes</a></span>
<span><a href="#" class="pr-8 text-orange border-r border-slate">Download</a></span>
<span><a href="#" class="text-orange">Version Details</a></span>
</div>
</div>
</div>
<div class="flex w-full py-11 mt-11 border-t border-slate">
<div class="w-1/4 py-5">
<h3>Version 1.78.0</h3>
<p class="p-0">December 8th, 2021 03:45 GMT</p>
</div>
<div class="w-3/4">
<p>
Updated Libraries: Asio, Assert, Atomic, Beast, Core, Describe, DLL, Filesystem, Geometry, JSON, Lambda2,
Log, Math, MultiIndex, Multiprecision, Nowide, PFR, Predef, Regex, System, Utility, Variant2.
</p>
<div class="uppercase space-x-8">
<span><a href="#" class="pr-8 text-orange border-r border-slate">Release notes</a></span>
<span><a href="#" class="pr-8 text-orange border-r border-slate">Download</a></span>
<span><a href="#" class="text-orange">Version Details</a></span>
</div>
</div>
</div>
<div class="flex w-full py-11 mt-11 border-t border-slate">
<div class="w-1/4 py-5">
<h3>Version 1.78.0</h3>
<p class="p-0">December 8th, 2021 03:45 GMT</p>
</div>
<div class="w-3/4">
<p>
Updated Libraries: Asio, Assert, Atomic, Beast, Core, Describe, DLL, Filesystem, Geometry, JSON, Lambda2,
Log, Math, MultiIndex, Multiprecision, Nowide, PFR, Predef, Regex, System, Utility, Variant2.
</p>
<div class="uppercase space-x-8">
<span><a href="#" class="pr-8 text-orange border-r border-slate">Release notes</a></span>
<span><a href="#" class="pr-8 text-orange border-r border-slate">Download</a></span>
<span><a href="#" class="text-orange">Version Details</a></span>
</div>
</div>
</div>
<div class="flex w-full py-11 mt-11 border-t border-slate">
<div class="w-1/4 py-5">
<h3>Version 1.78.0</h3>
<p class="p-0">December 8th, 2021 03:45 GMT</p>
</div>
<div class="w-3/4">
<p>
Updated Libraries: Asio, Assert, Atomic, Beast, Core, Describe, DLL, Filesystem, Geometry, JSON, Lambda2,
Log, Math, MultiIndex, Multiprecision, Nowide, PFR, Predef, Regex, System, Utility, Variant2.
</p>
<div class="uppercase space-x-8">
<span><a href="#" class="pr-8 text-orange border-r border-slate">Release notes</a></span>
<span><a href="#" class="pr-8 text-orange border-r border-slate">Download</a></span>
<span><a href="#" class="text-orange">Version Details</a></span>
</div>
</div>
</div>
</div>
</div>
{% endblock %}