From 732bf86858082f664224a843e5ce457f3b1e27e1 Mon Sep 17 00:00:00 2001 From: Vezpi Date: Tue, 24 Jun 2025 19:45:49 +0000 Subject: [PATCH] test: use svg instead of img --- assets/icons/toggle_to_en.svg | 1 + assets/icons/toggle_to_fr.svg | 1 + layouts/partials/sidebar/left.html | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 assets/icons/toggle_to_en.svg create mode 100644 assets/icons/toggle_to_fr.svg diff --git a/assets/icons/toggle_to_en.svg b/assets/icons/toggle_to_en.svg new file mode 100644 index 0000000..9dd11a8 --- /dev/null +++ b/assets/icons/toggle_to_en.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/icons/toggle_to_fr.svg b/assets/icons/toggle_to_fr.svg new file mode 100644 index 0000000..e77298e --- /dev/null +++ b/assets/icons/toggle_to_fr.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/layouts/partials/sidebar/left.html b/layouts/partials/sidebar/left.html index d55eb82..56f96a3 100644 --- a/layouts/partials/sidebar/left.html +++ b/layouts/partials/sidebar/left.html @@ -60,7 +60,7 @@ {{- if ne .Language.Lang $currentLang }}
  • - {{ .Language.LanguageName }} toggle + {{ partial "helper/icon" "toggle_to_{{ .Language.Lang }}" }}
  • {{- end }}