removes some unused code that was just laying around
This commit is contained in:
parent
dc75eaa4e7
commit
84cf190a9c
@ -16,23 +16,6 @@ body {
|
|||||||
font-family: $font-garamond;
|
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 {
|
.interviewer-question {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
color: #444;
|
color: #444;
|
||||||
@ -62,6 +45,10 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Narrator Image Component
|
// Narrator Image Component
|
||||||
|
.wompum-radial-grid {
|
||||||
|
@apply absolute w-full h-full top-0 left-0;
|
||||||
|
}
|
||||||
|
|
||||||
.narrator {
|
.narrator {
|
||||||
&__container {
|
&__container {
|
||||||
@apply relative;
|
@apply relative;
|
||||||
|
@ -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>
|
|
@ -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 }}
|
|
Loading…
x
Reference in New Issue
Block a user