summaryrefslogtreecommitdiffci
diff options
from:
to:
context:
space:
mode:
authorGravatar SayaAndy <saya.andy@posteo.com> 2026-05-02 23:43:44 +0700
committerGravatar SayaAndy <saya.andy@posteo.com> 2026-05-02 23:43:44 +0700
commitcca3ff72b5e29b31122c0a0496be741e7bc0162b (patch)
tree449701dcf7ac0aafc7f21116b77203d0cc51fc98
parente3c80a07514a052adafd5c0f51daf69b664530e0 (diff)
downloadweb-cca3ff72b5e29b31122c0a0496be741e7bc0162b.tar.gz
web-cca3ff72b5e29b31122c0a0496be741e7bc0162b.zip
feat: move fonts into s3 static bucket
-rw-r--r--static/input.css2
-rw-r--r--views/layouts/general-page.html3
-rw-r--r--views/pages/global-map.html5
3 files changed, 5 insertions, 5 deletions
diff --git a/static/input.css b/static/input.css
index 75482d8..cdab1f0 100644
--- a/static/input.css
+++ b/static/input.css
@@ -1,5 +1,3 @@
-@import url('https://fonts.googleapis.com/css2?family=Gentium+Plus:ital,wght@0,400;0,700;1,400;1,700&family=M+PLUS+Rounded+1c:wght@100;300;400;500;700;800;900&display=swap');
-
@import "tailwindcss";
@plugin "@tailwindcss/forms";
diff --git a/views/layouts/general-page.html b/views/layouts/general-page.html
index 93567d3..2f949a3 100644
--- a/views/layouts/general-page.html
+++ b/views/layouts/general-page.html
@@ -12,12 +12,13 @@
<link rel="canonical" href="{{.Content}}">
{{- end }}
{{- end }}
+ <link rel="stylesheet" href="{{ .StaticStorageBaseUrl }}/fonts/fonts.css">
<link rel="stylesheet" href="{{ .StaticStorageBaseUrl }}/libs/font-awesome/7.2.0/css/fontawesome.min.css">
<link rel="stylesheet" href="{{ .StaticStorageBaseUrl }}/libs/font-awesome/7.2.0/css/brands.min.css">
<link rel="stylesheet" href="{{ .StaticStorageBaseUrl }}/libs/font-awesome/7.2.0/css/solid.min.css">
<link rel="stylesheet" href="{{ .StaticStorageBaseUrl }}/libs/leaflet/1.9.4/leaflet.css">
<link rel="stylesheet" href="{{ .StaticStorageBaseUrl }}/libs/glightbox/3.3.0/css/glightbox.min.css">
- <link href="/output.css" rel="stylesheet">
+ <link rel="stylesheet" href="/output.css">
{{- with .LinkedData }}
<script type="application/ld+json">
{{ . }}
diff --git a/views/pages/global-map.html b/views/pages/global-map.html
index aa6ddfd..bb51131 100644
--- a/views/pages/global-map.html
+++ b/views/pages/global-map.html
@@ -15,7 +15,8 @@
/>
<meta property="og:type" content="site" />
<title>{{ .L.GlobalMap.Header }} // SAYA.UZ</title>
- <link rel="canonical" href="{{ .CanonicalEndpoint }}/{{ .Lang }}/map" />
+ <link rel="canonical" href="{{ .CanonicalEndpoint }}/{{ .Lang }}/map">
+ <link rel="stylesheet" href="{{ .StaticStorageBaseUrl }}/fonts/fonts.css">
<link
rel="stylesheet"
href="{{ .StaticStorageBaseUrl }}/libs/font-awesome/7.2.0/css/fontawesome.min.css"
@@ -29,7 +30,7 @@
href="{{ .StaticStorageBaseUrl }}/libs/font-awesome/7.2.0/css/solid.min.css"
/>
{{ block "header" . }}{{ end }}
- <link href="/output.css" rel="stylesheet" />
+ <link rel="stylesheet" href="/output.css">
<link
rel="stylesheet"
href="{{ .StaticStorageBaseUrl }}/libs/leaflet/1.9.4/leaflet.css"