From 84cf190a9c673a2a68d1e6d137975e68d5892ead Mon Sep 17 00:00:00 2001 From: Drew <webmaster@dhornbein.com> Date: Mon, 7 Apr 2025 15:57:53 -0600 Subject: [PATCH] removes some unused code that was just laying around --- assets/scss/main.scss | 21 ++++----------------- layouts/partials/sigil.html | 25 ------------------------- layouts/tags/lists.html | 12 ------------ 3 files changed, 4 insertions(+), 54 deletions(-) delete mode 100644 layouts/partials/sigil.html delete mode 100644 layouts/tags/lists.html diff --git a/assets/scss/main.scss b/assets/scss/main.scss index 9c0418a..9f4502b 100644 --- a/assets/scss/main.scss +++ b/assets/scss/main.scss @@ -16,23 +16,6 @@ body { font-family: $font-garamond; } -.wompum-radial-grid { - @apply absolute w-full h-full top-0 left-0; -} - -.narrator-image-container { - @apply relative; - - .wompum-radial-grid { - @apply absolute inset-0 w-full h-full; - } -} - -.narrator-headshot { - @apply w-full rounded-full object-cover relative z-10 border-2 border-white; - aspect-ratio: 1; -} - .interviewer-question { font-style: italic; color: #444; @@ -62,6 +45,10 @@ body { } // Narrator Image Component +.wompum-radial-grid { + @apply absolute w-full h-full top-0 left-0; +} + .narrator { &__container { @apply relative; diff --git a/layouts/partials/sigil.html b/layouts/partials/sigil.html deleted file mode 100644 index ef0ac96..0000000 --- a/layouts/partials/sigil.html +++ /dev/null @@ -1,25 +0,0 @@ -{{/* Partial: create_sigil.html */}} - -{{- $input := . -}} <!-- The input string will be passed into the partial --> -{{- $vowels := "aeiouAEIOU" -}} <!-- List of vowels to remove --> -{{- $seen := dict -}} <!-- Dictionary to track characters we've already encountered --> -{{- $output := "" -}} <!-- Variable to store the resulting sigil --> -{{- $chars := split (replaceRE "[^a-zA-Z]" "" $input) "" -}} <!-- Remove non-alphabetic characters and split the input string into a slice of characters --> - -{{- /* Step 1: Remove vowels */ -}} -{{- range $i, $char := $chars -}} -{{- if not (in $vowels $char) -}} -{{- /* Step 2: Remove repeating letters */ -}} -{{- if not (index $seen $char) -}} -{{- $seen = merge $seen (dict $char true) -}} -{{- $output = printf "%s%s" $output $char -}} -{{- end -}} -{{- end -}} -{{- end -}} - -{{- $output = upper $output -}} -{{ $output = split $output "" }} -{{ $output = apply $output "printf" "%#x" "." }} -{{ $output = apply $output "int" "." }} - -{{- $output -}}<br> \ No newline at end of file diff --git a/layouts/tags/lists.html b/layouts/tags/lists.html deleted file mode 100644 index 7ef21fa..0000000 --- a/layouts/tags/lists.html +++ /dev/null @@ -1,12 +0,0 @@ -{{ define "main" }} -<h1 class="text-2xl font-bold">Topic: {{ .Title }}</h1> -<ul class="mt-4 space-y-4"> - {{ range .Pages }} - <li> - <a href="{{ .RelPermalink }}" class="text-lg font-semibold hover:underline"> - {{ .Title }} - </a> - </li> - {{ end }} -</ul> -{{ end }} \ No newline at end of file