feat: add yalarba-nuxt to infra, wire fonts, switch nginx from static SPA to SSR proxy

This commit is contained in:
valitovgaziz
2026-06-12 00:37:49 +05:00
parent 60867af69c
commit d8349a0936
5 changed files with 52 additions and 71 deletions
@@ -6,42 +6,4 @@
font-display: swap;
}
@font-face {
font-family: 'Mulish';
src: url('/fonts/Mulish-Regular.woff2') format('woff2');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Mulish';
src: url('/fonts/Mulish-Medium.woff2') format('woff2');
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Mulish';
src: url('/fonts/Mulish-SemiBold.woff2') format('woff2');
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Mulish';
src: url('/fonts/Mulish-Bold.woff2') format('woff2');
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Inter';
src: url('/fonts/Inter-SemiBold.woff2') format('woff2');
font-weight: 600;
font-style: normal;
font-display: swap;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@600&family=Mulish:wght@400;500;600;700&display=swap');
@@ -74,6 +74,8 @@ export default defineNuxtConfig({
head: {
link: [
{ rel: 'icon', type: 'image/svg+xml', href: '/favicon.svg' },
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },
{ rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' },
],
titleTemplate: '%s - Ял Арба',
title: 'Ял Арба',