About page, most of frontpage, news

Frontpage:
- Implement initial pass of swipers, might look for something that doesn't require JS.
- Implemented transitions
- Added transitions / company logos to assets
About page:
- Basically duplicated layout from existing website
News:
- Renamed /blog -> /news, not too much in this section left to do, relatively straightforward for that
This commit is contained in:
2024-10-13 13:13:30 -07:00
parent f39aeab4a4
commit 05e9f8882a
42 changed files with 908 additions and 88 deletions

29
layouts/news/list.html Normal file
View File

@@ -0,0 +1,29 @@
{{ define "main" }}
{{ partial "page-header" . }}
<section class="section">
<div class="container">
<div class="row gx-5">
<!-- blog posts -->
<div class="lg:col-8">
<div class="row">
{{ $paginator:= .Paginate .RegularPages }}
{{ range $paginator.Pages }}
<div class="md:col-6 mb-14">
{{ partial "components/blog-card" . }}
</div>
{{ end }}
</div>
{{ partial "components/pagination.html" . }}
</div>
<!-- sidebar -->
<div class="lg:col-4">
<!-- widget -->
{{ $widget:= site.Params.widgets.sidebar }}
{{ partialCached "widgets/widget-wrapper" ( dict "Widgets" $widget "Scope" . ) }}
</div>
</div>
</div>
</section>
{{ end }}