diff --git a/.eslintrc.cjs b/.eslintrc.cjs index fca5740..309ec77 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -40,7 +40,6 @@ module.exports = { ], globals: { - ga: 'readonly', // Google Analytics cordova: 'readonly', __statics: 'readonly', __QUASAR_SSR__: 'readonly', diff --git a/index.html b/index.html index d836e7b..2fd5907 100644 --- a/index.html +++ b/index.html @@ -21,10 +21,6 @@ - - - - diff --git a/src/css/app.scss b/src/css/app.scss index 4f0dd97..f651065 100644 --- a/src/css/app.scss +++ b/src/css/app.scss @@ -1,56 +1,10 @@ // app global css in SCSS form @font-face { - font-family: 'Poppins'; - font-style: italic; - font-weight: 400; - font-display: swap; - src: url(./fonts/poppins-italic-400.woff2) format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, - U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; -} - -@font-face { - font-family: 'Poppins'; - font-style: italic; + font-family: 'Mulish'; font-weight: 700; - font-display: swap; - src: url(./fonts/poppins-italic-700.woff2) format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, - U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; -} - -@font-face { - font-family: 'Poppins'; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url(./fonts/poppins-400.woff2) format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, - U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; -} - -@font-face { - font-family: 'Poppins'; font-style: normal; - font-weight: 600; font-display: swap; - src: url(./fonts/poppins-600.woff2) format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, - U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; -} - -@font-face { - font-family: 'Poppins'; - font-style: normal; - font-weight: 700; - font-display: swap; - src: url(./fonts/poppins-700.woff2) format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, - U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; -} - -body { - font-family: 'Mulish', serif; + src: url(./fonts/Mulish-Regular.ttf) format('truetype'); } /* Quasar */ diff --git a/src/css/fonts/Mulish-Regular.ttf b/src/css/fonts/Mulish-Regular.ttf new file mode 100644 index 0000000..0971518 Binary files /dev/null and b/src/css/fonts/Mulish-Regular.ttf differ diff --git a/src/css/fonts/poppins-400.woff2 b/src/css/fonts/poppins-400.woff2 deleted file mode 100644 index b69e009..0000000 Binary files a/src/css/fonts/poppins-400.woff2 and /dev/null differ diff --git a/src/css/fonts/poppins-600.woff2 b/src/css/fonts/poppins-600.woff2 deleted file mode 100644 index 921e962..0000000 Binary files a/src/css/fonts/poppins-600.woff2 and /dev/null differ diff --git a/src/css/fonts/poppins-700.woff2 b/src/css/fonts/poppins-700.woff2 deleted file mode 100644 index bf022fc..0000000 Binary files a/src/css/fonts/poppins-700.woff2 and /dev/null differ diff --git a/src/css/fonts/poppins-italic-400.woff2 b/src/css/fonts/poppins-italic-400.woff2 deleted file mode 100644 index 1112336..0000000 Binary files a/src/css/fonts/poppins-italic-400.woff2 and /dev/null differ diff --git a/src/css/fonts/poppins-italic-700.woff2 b/src/css/fonts/poppins-italic-700.woff2 deleted file mode 100644 index 70974d8..0000000 Binary files a/src/css/fonts/poppins-italic-700.woff2 and /dev/null differ diff --git a/src/css/quasar.variables.scss b/src/css/quasar.variables.scss index b8d76b3..3b24034 100644 --- a/src/css/quasar.variables.scss +++ b/src/css/quasar.variables.scss @@ -35,7 +35,7 @@ $purple50: #f7f6ff; $border-color: #dee1ff; // change default font -$typography-font-family: 'Noto Sans Mono', 'Poppins', sans-serif; +$typography-font-family: 'Mulish', sans-serif; $button-rounded-border-radius: 28px; $generic-border-radius: 10px; diff --git a/src/stores/knowledge.ts b/src/stores/knowledge.ts index f2f6b48..4519e1e 100644 --- a/src/stores/knowledge.ts +++ b/src/stores/knowledge.ts @@ -22,7 +22,7 @@ export const useKnowledgeStore = defineStore(KNOWLEDGE_STORE_PINIA_KEY, { const missingDocuments = defaultDocumentTitles.filter((title) => !documentTitles.includes(title)); // Add missing documents const addedDocuments: Promise[] = []; - for (let title of missingDocuments) { + for (const title of missingDocuments) { const doc = defaultKnowledge.find((doc) => doc.title === title)!; let tags = doc.tags ? doc.tags : []; tags.push(DEFAULT_KNOWLEDGE_TAG);