chore: Improve widget loading performance (#1191)
* Frontend assets url * Remove font files from widget * Rename variable to ASSET_CDN_HOST
This commit is contained in:
8
app/javascript/shared/assets/fonts/widget_fonts.scss
Normal file
8
app/javascript/shared/assets/fonts/widget_fonts.scss
Normal file
@@ -0,0 +1,8 @@
|
||||
@font-face {
|
||||
font-family: 'Inter';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: url('~shared/assets/fonts/Inter-Regular.woff2?v=3.11') format('woff2'),
|
||||
url('~shared/assets/fonts/Inter-Regular.woff?v=3.11') format('woff');
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
@import 'buttons';
|
||||
@import 'mixins';
|
||||
@import 'forms';
|
||||
@import 'shared/assets/fonts/inter';
|
||||
@import 'shared/assets/fonts/widget_fonts';
|
||||
@import '~ionicons/scss/ionicons';
|
||||
@import '~spinkit/scss/spinners/7-three-bounce';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user