Update icons and about page

This commit is contained in:
Devon (tek256)
2024-10-19 03:55:33 -07:00
parent a6b27d7565
commit 8c63772039
52 changed files with 152 additions and 57 deletions

View File

@@ -3,17 +3,17 @@
{{ $tick := 0 }}
{{ range $i, $e:= .Params.features }}
<section class="section-sm nim-h-screen relative feature pb-2 pt-2" style="background-color: {{ .bg_color }}">
<section class="section-sm nim-h-screen relative feature pb-2 pt-2 {{ .section_class }}" style="background-color: {{ .bg_color }}">
{{ with .transition }}
{{ if .start }}
<div
class="relative bg-center bg-top bg-cover bg-no-repeat dark:hidden block xl:-mt-20 -mt-16 {{ .start_class }}"
style="height: 100px;z-index:2;mask-image: url('{{ .start }}');background-color: {{ .start_color }};"></div>
class="relative bg-center bg-top bg-cover bg-no-repeat dark:hidden -mt-2 {{ .start_class }}"
style="height: 100px;z-index:2;mask-image: url('{{ .start }};mask-repeat:round;mask-position:center;mask-size:cover;');background-color: {{ .start_color }};"></div>
{{ end }}
{{ if .start_dark }}
<div
class="relative bg-center bg-top bg-cover bg-no-repeat dark:block hidden xl:-mt-20 -mt-16 {{ .start_class }}"
style="height: 100px;z-index:2;mask-image: url('{{ .start_dark }}');background-color: {{ .start_dark_color }};">
class="relative bg-center bg-top bg-cover bg-no-repeat dark:block hidden -mt-2 {{ .start_class }}"
style="height: 100px;z-index:2;mask-image: url('{{ .start_dark }}');mask-repeat:round;mask-position:center;mask-size:cover;background-color: {{ .start_dark_color }};">
</div>
{{ end }}
{{ end }}
@@ -30,7 +30,7 @@
{{ if .subtitle }}
<h4 class="mb-4 {{ .subtitle_class }}">{{ .subtitle }}</h4>
{{ end }}
<h2 class="mb-4 {{ .title_class }}">
<h2 class="{{ .title_class }}">
{{ .title | markdownify }}
</h2>
<div class="grid grid-cols-1 gap-4 sm:grid-cols-2">
@@ -106,7 +106,7 @@
<h2 class="mb-4 {{ .title_class }}">
{{ .title | markdownify }}
</h2>
<p class="mb-8 text-lg {{ .content_class }}">
<p class="mb-8 text-lg about-content {{ .content_class }}">
{{ .content | markdownify }}
</p>
<ul>

View File

@@ -6,6 +6,14 @@
<div class="container">
<div class="row justify-center">
<div class="lg:col-10">
<p>DEVON WAS HERE</p>
{{ $subdirs := .GetSubDirs "." }}
{{/* {{ $filteredSubdirs := where $subdirs (regexMatch "^[0-9]+$") }} */}}
{{ range $subdir := $subdirs }}
<a href="{{ $subdir | relURL }}">{{ $subdir | replaceRE "^/" "" }}</a><br>
{{ end }}
<div class="content">
{{ .Content }}
</div>

View File

@@ -13,25 +13,19 @@
{{ with .triple_header }}
{{ if .enable }}
<div class="col-10">
<div class="row">
<div class="col-4 all:col-12">
<a href="{{ .link_left }}">
{{ partial "image" (dict "Src" .img_left "Alt" .alt_text_left "Loading" "eager" "Class" "logo-light" ) }}
{{ partial "image" (dict "Src" .img_left_dark "Alt" .alt_text_right "Loading" "eager" "Class" "logo-dark" ) }}
<div class="row flex items-end">
<a class="col-12 py-4 flex justify-center items-center h-full sm:!col-4 md:!col-4 lg:!col-4 xl:!col4 2xl:col-4" href="{{ .link_left }}">
{{ partial "image" (dict "Src" .img_left "Alt" .alt_text_left "Loading" "eager" "Class" "logo-light w-64 content-center h-full" ) }}
{{ partial "image" (dict "Src" .img_left_dark "Alt" .alt_text_right "Loading" "eager" "Class" "logo-dark w-64 content-center h-full" ) }}
</a>
<a class="col-12 py-4 flex justify-center items-center h-full sm:!col-4 md:!col-4 lg:!col-4 xl:!col4 2xl:col-4" href="{{ .link_center }}">
{{ partial "image" (dict "Src" .img_center "Alt" .alt_text_center "Loading" "eager" "Class" "logo-light w-64 content-center h-full" ) }}
{{ partial "image" (dict "Src" .img_center_dark "Alt" .alt_text_right "Loading" "eager" "Class" "logo-dark w-64 content-center h-full" ) }}
</a>
<a class="col-12 py-4 flex justify-center h-full sm:!col-4 md:!col-4 lg:!col-4 xl:!col4 2xl:col-4" href="{{ .link_right }}">
{{ partial "image" (dict "Src" .img_right "Alt" .alt_text_right "Loading" "eager" "Class" "logo-light w-64 content-center h-full" ) }}
{{ partial "image" (dict "Src" .img_right_dark "Alt" .alt_text_right "Loading" "eager" "Class" "logo-dark w-64 content-center h-full" ) }}
</a>
</div>
<div class="col-4 all:col-12">
<a href="{{ .link_center }}">
{{ partial "image" (dict "Src" .img_center "Alt" .alt_text_center "Loading" "eager" "Class" "logo-light" ) }}
{{ partial "image" (dict "Src" .img_center_dark "Alt" .alt_text_right "Loading" "eager" "Class" "logo-dark" ) }}
</a>
</div>
<div class="col-4 all:col-12">
<a href="{{ .link_right }}">
{{ partial "image" (dict "Src" .img_right "Alt" .alt_text_right "Loading" "eager" "Class" "logo-light" ) }}
{{ partial "image" (dict "Src" .img_right_dark "Alt" .alt_text_right "Loading" "eager" "Class" "logo-dark" ) }}
</a>
</div>
</div>
</div>
{{ end }}
@@ -99,7 +93,8 @@
<div class="row items-center justify-between">
{{ if eq .side "center" }}
<div
class="mx-auto md:col-8 lg:col-8 {{ .content_class }}">
class="mx-auto md:col-8 lg:col-8">
<div class="{{ .content_class }}">
<div class="row">
<h2 class="{{ .title_class }}">
{{ .title | markdownify }}
@@ -147,6 +142,7 @@
</a>
{{ end }}
{{ end }}
</div>
</div>
{{ else }}