Fix portal SEO, Korean copy, and favicon
Custom-domain base URLs included the request path, so canonical/hreflang doubled routes; emit SEO links only with an absolute origin. Rewrite Korean mismatch strings to avoid literal particle parentheses, rename HtmlLang to HTMLLang, and ship public favicons so Vite no longer 404s the fallback icon. Signed-off-by: Émile Ré <emile@probo.com>
@@ -1,5 +1,5 @@
|
||||
<!doctype html>
|
||||
<html lang="{{if .HtmlLang}}{{.HtmlLang}}{{else}}en{{end}}">
|
||||
<html lang="{{if .HTMLLang}}{{.HTMLLang}}{{else}}en{{end}}">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
|
||||
|
After Width: | Height: | Size: 4.3 KiB |
|
After Width: | Height: | Size: 4.5 KiB |
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 6.0 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
BIN
apps/compliance-portal/public/favicons/favicon-128.png
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
BIN
apps/compliance-portal/public/favicons/favicon-16x16.png
Normal file
|
After Width: | Height: | Size: 625 B |
BIN
apps/compliance-portal/public/favicons/favicon-196x196.png
Normal file
|
After Width: | Height: | Size: 8.0 KiB |
BIN
apps/compliance-portal/public/favicons/favicon-32x32.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
apps/compliance-portal/public/favicons/favicon-96x96.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
apps/compliance-portal/public/favicons/favicon.ico
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
apps/compliance-portal/public/favicons/mstile-144x144.png
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
apps/compliance-portal/public/favicons/mstile-150x150.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
apps/compliance-portal/public/favicons/mstile-310x150.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
apps/compliance-portal/public/favicons/mstile-310x310.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
apps/compliance-portal/public/favicons/mstile-70x70.png
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
@@ -98,9 +98,9 @@
|
||||
"label": "언어",
|
||||
"updateFailed": "언어를 업데이트하지 못했습니다",
|
||||
"mismatch": {
|
||||
"message": "{{language}}(으)로 이 페이지를 보고 있습니다.",
|
||||
"switchToMine": "{{language}}(으)로 전환",
|
||||
"useThis": "{{language}}을(를) 내 언어로 사용",
|
||||
"message": "이 페이지의 표시 언어는 {{language}}입니다.",
|
||||
"switchToMine": "내 언어({{language}})로 전환",
|
||||
"useThis": "표시 언어({{language}})를 내 언어로 사용",
|
||||
"dismiss": "닫기"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ function goHtmlTemplateDevDefaults(): Plugin {
|
||||
handler(html) {
|
||||
return html
|
||||
.replace(
|
||||
/\{\{if \.HtmlLang\}\}\{\{\.HtmlLang\}\}\{\{else\}\}en\{\{end\}\}/g,
|
||||
/\{\{if \.HTMLLang\}\}\{\{\.HTMLLang\}\}\{\{else\}\}en\{\{end\}\}/g,
|
||||
"en",
|
||||
)
|
||||
.replace(
|
||||
|
||||