feat: add Prettier with go-template and toml plugins, format all files
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,11 +1,55 @@
|
||||
{{- /* Inline SVG icon. Usage: {{ partial "icon.html" "arrow-right" }}
|
||||
Renders at 1em × 1em, inherits currentColor, aria-hidden.
|
||||
*/ -}}
|
||||
Renders at 1em × 1em, inherits currentColor, aria-hidden. */ -}}
|
||||
{{- $name := . -}}
|
||||
{{- if eq $name "arrow-right" -}}
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="1em" height="1em" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" style="display:inline-block;vertical-align:-0.1em"><path d="M2 8h12"/><path d="M9 3l5 5-5 5"/></svg>
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 16 16"
|
||||
width="1em"
|
||||
height="1em"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="1.5"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
aria-hidden="true"
|
||||
style="display:inline-block;vertical-align:-0.1em"
|
||||
>
|
||||
<path d="M2 8h12" />
|
||||
<path d="M9 3l5 5-5 5" />
|
||||
</svg>
|
||||
{{- else if eq $name "arrow-left" -}}
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="1em" height="1em" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" style="display:inline-block;vertical-align:-0.1em"><path d="M14 8H2"/><path d="M7 3L2 8l5 5"/></svg>
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 16 16"
|
||||
width="1em"
|
||||
height="1em"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="1.5"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
aria-hidden="true"
|
||||
style="display:inline-block;vertical-align:-0.1em"
|
||||
>
|
||||
<path d="M14 8H2" />
|
||||
<path d="M7 3L2 8l5 5" />
|
||||
</svg>
|
||||
{{- else if eq $name "arrow-external" -}}
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="1em" height="1em" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" style="display:inline-block;vertical-align:-0.1em"><path d="M4 12L12 4"/><path d="M6 4h6v6"/></svg>
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 16 16"
|
||||
width="1em"
|
||||
height="1em"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="1.5"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
aria-hidden="true"
|
||||
style="display:inline-block;vertical-align:-0.1em"
|
||||
>
|
||||
<path d="M4 12L12 4" />
|
||||
<path d="M6 4h6v6" />
|
||||
</svg>
|
||||
{{- end -}}
|
||||
|
||||
Reference in New Issue
Block a user