mirror of
https://github.com/davegallant/rfd-fyi.git
synced 2025-08-11 10:32:26 +00:00
Compare commits
2 Commits
5b4eed45bd
...
f3ec240acb
Author | SHA1 | Date | |
---|---|---|---|
|
f3ec240acb | ||
f60e4cf1cf |
6
package-lock.json
generated
6
package-lock.json
generated
@@ -5196,9 +5196,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/core-js": {
|
"node_modules/core-js": {
|
||||||
"version": "3.42.0",
|
"version": "3.43.0",
|
||||||
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.42.0.tgz",
|
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.43.0.tgz",
|
||||||
"integrity": "sha512-Sz4PP4ZA+Rq4II21qkNqOEDTDrCvcANId3xpIgB34NDkWc3UduWj2dqEtN9yZIq8Dk3HyPI33x9sqqU5C8sr0g==",
|
"integrity": "sha512-N6wEbTTZSYOY2rYAn85CuvWWkCK6QweMn7/4Nr3w+gDBeBhk/x4EJeY6FPo4QzDoJZxVTv8U7CMvgWk6pOHHqA==",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"funding": {
|
"funding": {
|
||||||
|
29
src/App.vue
29
src/App.vue
@@ -2,7 +2,6 @@
|
|||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
import moment from "moment";
|
import moment from "moment";
|
||||||
import Loading from "vue-loading-overlay";
|
import Loading from "vue-loading-overlay";
|
||||||
import GithubButton from "vue-github-button";
|
|
||||||
import { install } from "@github/hotkey";
|
import { install } from "@github/hotkey";
|
||||||
|
|
||||||
import "vue-loading-overlay/dist/css/index.css";
|
import "vue-loading-overlay/dist/css/index.css";
|
||||||
@@ -118,10 +117,14 @@ export default {
|
|||||||
return v.replace(re, (matchedText) => `<mark>${matchedText}</mark>`);
|
return v.replace(re, (matchedText) => `<mark>${matchedText}</mark>`);
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
showBeforeTargetDate() {
|
||||||
|
const now = new Date();
|
||||||
|
const target = new Date('2025-08-20T00:00:00');
|
||||||
|
return now < target;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
Loading,
|
Loading,
|
||||||
GithubButton,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
@@ -206,21 +209,9 @@ export default {
|
|||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<div v-if="!isMobile()">
|
<div v-if="showBeforeTargetDate">
|
||||||
<footer class="fixed-bottom">
|
<footer class="fixed-bottom">
|
||||||
<small
|
PSA: <a href="https://rfd.fyi">rfd.fyi</a> will not be renewed after 2025-08-20. Please use <a href="https://rfd.davegallant.ca">rfd.davegallant.ca</a>.
|
||||||
>Press '/' to begin filtering (i.e.
|
|
||||||
<a
|
|
||||||
href="/#/filter=costco"
|
|
||||||
onclick="setTimeout(location.reload.bind(location), 1)"
|
|
||||||
>/#/filter=costco</a
|
|
||||||
>)</small
|
|
||||||
>
|
|
||||||
<div class="footer-right">
|
|
||||||
<github-button href="https://github.com/davegallant/rfd-fyi"
|
|
||||||
></github-button
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
@@ -234,4 +225,10 @@ export default {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
color: #2c3e50;
|
color: #2c3e50;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.fixed-bottom {
|
||||||
|
background: #ffc;
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
Reference in New Issue
Block a user