mirror of
https://github.com/davegallant/rfd-fyi.git
synced 2026-03-03 09:36:35 +00:00
Add various performance improvements
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<script>
|
||||
import axios from "axios";
|
||||
import moment from "moment";
|
||||
import dayjs from "dayjs";
|
||||
import Loading from "vue-loading-overlay";
|
||||
import { install } from "@github/hotkey";
|
||||
|
||||
@@ -55,7 +55,7 @@ export default {
|
||||
computed: {
|
||||
formatDate() {
|
||||
return (v) => {
|
||||
return moment(String(v)).format("hh:mm A z (MM/DD)");
|
||||
return dayjs(String(v)).format("hh:mm A z (MM/DD)");
|
||||
};
|
||||
},
|
||||
filteredTopics() {
|
||||
|
||||
@@ -1,3 +1,26 @@
|
||||
/* Material Symbols font optimization - prevent flash of unstyled text */
|
||||
@font-face {
|
||||
font-family: 'Material Symbols Outlined';
|
||||
src: url('https://fonts.gstatic.com/s/materialsymbolsoutlined/v211/gok-H7zzDkdnRel8-DQ6KAXJ69wP1tGnf4ZGhQcyWwg.woff2') format('woff2');
|
||||
font-weight: 100 700;
|
||||
font-style: normal;
|
||||
font-display: block;
|
||||
}
|
||||
|
||||
.material-symbols-outlined {
|
||||
font-family: 'Material Symbols Outlined';
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-size: 24px;
|
||||
line-height: 1;
|
||||
letter-spacing: normal;
|
||||
text-transform: none;
|
||||
display: inline-block;
|
||||
white-space: nowrap;
|
||||
word-wrap: normal;
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
body {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user