feat/css-cleanup #2

Merged
millironx merged 41 commits from feat/css-cleanup into master 2024-12-02 02:51:14 +00:00
7 changed files with 20 additions and 16 deletions
Showing only changes of commit 86c1bf1ed4 - Show all commits

View file

@ -8,8 +8,7 @@ layout: _default/list
menu:
main:
params:
prefix: fad
icon: fa-home
icon: home
weight: -1000
---

View file

@ -9,10 +9,9 @@ menu:
main:
name: Academia
params:
prefix: fad
icon: fa-university
icon: university
weight: 20
fa-thumbnail: fad fa-university
fa-thumbnail: university
---
> I have spent too long in school and not enough time in the middle of nowhere

View file

@ -11,10 +11,9 @@ menu:
main:
name: Contact
params:
prefix: fad
icon: fa-file-signature
icon: file-signature
weight: 1
fa-thumbnail: fad fa-file-signature
fa-thumbnail: file-signature
---
<form

View file

@ -9,9 +9,8 @@ description: Showcase of my own videos
menu:
main:
params:
prefix: fad
icon: fa-video
fa-thumbnail: fad fa-video
icon: video
fa-thumbnail: video
---
> ### The culmination of all art forms is that of film.

View file

@ -9,9 +9,8 @@ menu:
main:
name: Websites
params:
prefix: fad
icon: fa-browser
fa-thumbnail: fad fa-browser
icon: browser
fa-thumbnail: browser
---
I do occasionally build websites for myself and other people. Here is a list of

View file

@ -15,7 +15,10 @@
<div class="card-header">
<div class="thumb-icon-wrapper">
<span class="thumb-icon-badge">
<i class="fa-fw {{ . }}"></i>
{{- $fontAwesomePath := print "assets/graphics/fa/" . ".svg" -}}
<span class="fa-container fa-fw">
{{- readFile $fontAwesomePath | safeHTML -}}
</span>
</span>
</div>
</div>

View file

@ -7,7 +7,13 @@
class="{{ if $currentPage.IsMenuCurrent "main" . }}active{{ end }}"
href="{{ .URL }}"
>
<i class="{{ .Params.prefix }} {{ .Params.icon }} fa-fw"></i>
{{- $fontAwesomePath := print "assets/graphics/fa/" .Params.icon ".svg" -}}
<span
class="fa-container
fa-fw"
>
{{- readFile $fontAwesomePath | safeHTML -}}
</span>
{{ .Name }}
</a>
{{ end }}