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: menu:
main: main:
params: params:
prefix: fad icon: home
icon: fa-home
weight: -1000 weight: -1000
--- ---

View file

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

View file

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

View file

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

View file

@ -9,9 +9,8 @@ menu:
main: main:
name: Websites name: Websites
params: params:
prefix: fad icon: browser
icon: fa-browser fa-thumbnail: browser
fa-thumbnail: fad fa-browser
--- ---
I do occasionally build websites for myself and other people. Here is a list of 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="card-header">
<div class="thumb-icon-wrapper"> <div class="thumb-icon-wrapper">
<span class="thumb-icon-badge"> <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> </span>
</div> </div>
</div> </div>

View file

@ -7,7 +7,13 @@
class="{{ if $currentPage.IsMenuCurrent "main" . }}active{{ end }}" class="{{ if $currentPage.IsMenuCurrent "main" . }}active{{ end }}"
href="{{ .URL }}" 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 }} {{ .Name }}
</a> </a>
{{ end }} {{ end }}