mirror of
https://github.com/boostorg/website-v2.git
synced 2026-01-19 04:42:17 +00:00
🚧 news list
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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));
|
||||
|
||||
@@ -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>
|
||||
|
||||
0
templates/news/news_detail.html
Normal file
0
templates/news/news_detail.html
Normal file
110
templates/news/news_list.html
Normal file
110
templates/news/news_list.html
Normal 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 %}
|
||||
Reference in New Issue
Block a user