diff --git a/.husky/pre-commit b/.husky/pre-commit index 9603130a3..d0612ad37 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ #!/bin/sh -. "$(dirname $0)/_/husky.sh" +. "$(dirname "$0")/_/husky.sh" npm run pre-commit diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index cce9d3c08..000000000 --- a/.prettierrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "semi": false -} diff --git a/.prettierrc.js b/.prettierrc.js new file mode 100644 index 000000000..8ef0f9962 --- /dev/null +++ b/.prettierrc.js @@ -0,0 +1,3 @@ +module.exports = { + semi: false +} diff --git a/stylelint.config.js b/.stylelintrc.js similarity index 100% rename from stylelint.config.js rename to .stylelintrc.js diff --git a/assets/css/fonts.css b/assets/css/fonts.css index e9b5f4866..6fe38321e 100644 --- a/assets/css/fonts.css +++ b/assets/css/fonts.css @@ -1,224 +1,249 @@ /* fallback */ @font-face { - font-family: 'Material Icons'; + font-family: "Material Icons"; font-style: normal; font-weight: 400; font-display: swap; - src: url('~assets/fonts/Material_Icons-400-fallback1.woff2') format('woff2'); + src: url("~assets/fonts/Material_Icons-400-fallback1.woff2") format("woff2"); } /* devanagari */ @font-face { - font-family: 'Poppins'; + font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; - src: url('~assets/fonts/Poppins-400-devanagari2.woff2') format('woff2'); - unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB; + src: url("~assets/fonts/Poppins-400-devanagari2.woff2") format("woff2"); + unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, + U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB; } /* latin-ext */ @font-face { - font-family: 'Poppins'; + font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; - src: url('~assets/fonts/Poppins-400-latin-ext3.woff2') format('woff2'); - unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; + src: url("~assets/fonts/Poppins-400-latin-ext3.woff2") format("woff2"); + unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, + U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; } /* latin */ @font-face { - font-family: 'Poppins'; + font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; - src: url('~assets/fonts/Poppins-400-latin4.woff2') format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + src: url("~assets/fonts/Poppins-400-latin4.woff2") format("woff2"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, + U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, + U+FEFF, U+FFFD; } /* devanagari */ @font-face { - font-family: 'Poppins'; + font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; - src: url('~assets/fonts/Poppins-500-devanagari5.woff2') format('woff2'); - unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB; + src: url("~assets/fonts/Poppins-500-devanagari5.woff2") format("woff2"); + unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, + U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB; } /* latin-ext */ @font-face { - font-family: 'Poppins'; + font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; - src: url('~assets/fonts/Poppins-500-latin-ext6.woff2') format('woff2'); - unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; + src: url("~assets/fonts/Poppins-500-latin-ext6.woff2") format("woff2"); + unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, + U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; } /* latin */ @font-face { - font-family: 'Poppins'; + font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; - src: url('~assets/fonts/Poppins-500-latin7.woff2') format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + src: url("~assets/fonts/Poppins-500-latin7.woff2") format("woff2"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, + U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, + U+FEFF, U+FFFD; } /* devanagari */ @font-face { - font-family: 'Poppins'; + font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; - src: url('~assets/fonts/Poppins-600-devanagari8.woff2') format('woff2'); - unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB; + src: url("~assets/fonts/Poppins-600-devanagari8.woff2") format("woff2"); + unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, + U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB; } /* latin-ext */ @font-face { - font-family: 'Poppins'; + font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; - src: url('~assets/fonts/Poppins-600-latin-ext9.woff2') format('woff2'); - unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; + src: url("~assets/fonts/Poppins-600-latin-ext9.woff2") format("woff2"); + unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, + U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; } /* latin */ @font-face { - font-family: 'Poppins'; + font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; - src: url('~assets/fonts/Poppins-600-latin10.woff2') format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + src: url("~assets/fonts/Poppins-600-latin10.woff2") format("woff2"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, + U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, + U+FEFF, U+FFFD; } /* devanagari */ @font-face { - font-family: 'Poppins'; + font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; - src: url('~assets/fonts/Poppins-700-devanagari11.woff2') format('woff2'); - unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB; + src: url("~assets/fonts/Poppins-700-devanagari11.woff2") format("woff2"); + unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, + U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB; } /* latin-ext */ @font-face { - font-family: 'Poppins'; + font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; - src: url('~assets/fonts/Poppins-700-latin-ext12.woff2') format('woff2'); - unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; + src: url("~assets/fonts/Poppins-700-latin-ext12.woff2") format("woff2"); + unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, + U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; } /* latin */ @font-face { - font-family: 'Poppins'; + font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; - src: url('~assets/fonts/Poppins-700-latin13.woff2') format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + src: url("~assets/fonts/Poppins-700-latin13.woff2") format("woff2"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, + U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, + U+FEFF, U+FFFD; } /* devanagari */ @font-face { - font-family: 'Poppins'; + font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; - src: url('~assets/fonts/Poppins-800-devanagari14.woff2') format('woff2'); - unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB; + src: url("~assets/fonts/Poppins-800-devanagari14.woff2") format("woff2"); + unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, + U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB; } /* latin-ext */ @font-face { - font-family: 'Poppins'; + font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; - src: url('~assets/fonts/Poppins-800-latin-ext15.woff2') format('woff2'); - unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; + src: url("~assets/fonts/Poppins-800-latin-ext15.woff2") format("woff2"); + unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, + U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; } /* latin */ @font-face { - font-family: 'Poppins'; + font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; - src: url('~assets/fonts/Poppins-800-latin16.woff2') format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + src: url("~assets/fonts/Poppins-800-latin16.woff2") format("woff2"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, + U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, + U+FEFF, U+FFFD; } /* cyrillic-ext */ @font-face { - font-family: 'Roboto Mono'; + font-family: "Roboto Mono"; font-style: normal; font-weight: 400; font-display: swap; - src: url('~assets/fonts/Roboto_Mono-400-cyrillic-ext17.woff2') format('woff2'); - unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; + src: url("~assets/fonts/Roboto_Mono-400-cyrillic-ext17.woff2") format("woff2"); + unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, + U+FE2E-FE2F; } /* cyrillic */ @font-face { - font-family: 'Roboto Mono'; + font-family: "Roboto Mono"; font-style: normal; font-weight: 400; font-display: swap; - src: url('~assets/fonts/Roboto_Mono-400-cyrillic18.woff2') format('woff2'); + src: url("~assets/fonts/Roboto_Mono-400-cyrillic18.woff2") format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; } /* greek */ @font-face { - font-family: 'Roboto Mono'; + font-family: "Roboto Mono"; font-style: normal; font-weight: 400; font-display: swap; - src: url('~assets/fonts/Roboto_Mono-400-greek19.woff2') format('woff2'); + src: url("~assets/fonts/Roboto_Mono-400-greek19.woff2") format("woff2"); unicode-range: U+0370-03FF; } /* vietnamese */ @font-face { - font-family: 'Roboto Mono'; + font-family: "Roboto Mono"; font-style: normal; font-weight: 400; font-display: swap; - src: url('~assets/fonts/Roboto_Mono-400-vietnamese20.woff2') format('woff2'); - unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; + src: url("~assets/fonts/Roboto_Mono-400-vietnamese20.woff2") format("woff2"); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, + U+01AF-01B0, U+1EA0-1EF9, U+20AB; } /* latin-ext */ @font-face { - font-family: 'Roboto Mono'; + font-family: "Roboto Mono"; font-style: normal; font-weight: 400; font-display: swap; - src: url('~assets/fonts/Roboto_Mono-400-latin-ext21.woff2') format('woff2'); - unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; + src: url("~assets/fonts/Roboto_Mono-400-latin-ext21.woff2") format("woff2"); + unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, + U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; } /* latin */ @font-face { - font-family: 'Roboto Mono'; + font-family: "Roboto Mono"; font-style: normal; font-weight: 400; font-display: swap; - src: url('~assets/fonts/Roboto_Mono-400-latin22.woff2') format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + src: url("~assets/fonts/Roboto_Mono-400-latin22.woff2") format("woff2"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, + U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, + U+FEFF, U+FFFD; } .material-icons { - font-family: 'Material Icons'; + font-family: "Material Icons"; /* stylelint-disable-line font-family-no-missing-generic-family-keyword */ font-weight: normal; font-style: normal; font-size: 24px; @@ -229,6 +254,6 @@ white-space: nowrap; word-wrap: normal; direction: ltr; - -webkit-font-feature-settings: 'liga'; + -webkit-font-feature-settings: "liga"; -webkit-font-smoothing: antialiased; } diff --git a/assets/css/tailwind.css b/assets/css/tailwind.css index b63c4592c..bbde77bc2 100644 --- a/assets/css/tailwind.css +++ b/assets/css/tailwind.css @@ -1,5 +1,6 @@ /* purgecss start ignore */ @tailwind base; @tailwind components; + /* purgecss end ignore */ @tailwind utilities; diff --git a/components/history/index.vue b/components/history/index.vue index 9ba9b614f..fc55283fa 100644 --- a/components/history/index.vue +++ b/components/history/index.vue @@ -92,14 +92,14 @@