mirror of
https://github.com/davegallant/rfd-fyi.git
synced 2025-08-10 01:52:27 +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": {
|
||||
"version": "3.42.0",
|
||||
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.42.0.tgz",
|
||||
"integrity": "sha512-Sz4PP4ZA+Rq4II21qkNqOEDTDrCvcANId3xpIgB34NDkWc3UduWj2dqEtN9yZIq8Dk3HyPI33x9sqqU5C8sr0g==",
|
||||
"version": "3.43.0",
|
||||
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.43.0.tgz",
|
||||
"integrity": "sha512-N6wEbTTZSYOY2rYAn85CuvWWkCK6QweMn7/4Nr3w+gDBeBhk/x4EJeY6FPo4QzDoJZxVTv8U7CMvgWk6pOHHqA==",
|
||||
"hasInstallScript": true,
|
||||
"license": "MIT",
|
||||
"funding": {
|
||||
|
29
src/App.vue
29
src/App.vue
@@ -2,7 +2,6 @@
|
||||
import axios from "axios";
|
||||
import moment from "moment";
|
||||
import Loading from "vue-loading-overlay";
|
||||
import GithubButton from "vue-github-button";
|
||||
import { install } from "@github/hotkey";
|
||||
|
||||
import "vue-loading-overlay/dist/css/index.css";
|
||||
@@ -118,10 +117,14 @@ export default {
|
||||
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: {
|
||||
Loading,
|
||||
GithubButton,
|
||||
},
|
||||
};
|
||||
</script>
|
||||
@@ -206,21 +209,9 @@ export default {
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div v-if="!isMobile()">
|
||||
<div v-if="showBeforeTargetDate">
|
||||
<footer class="fixed-bottom">
|
||||
<small
|
||||
>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>
|
||||
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>.
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
@@ -234,4 +225,10 @@ export default {
|
||||
text-align: center;
|
||||
color: #2c3e50;
|
||||
}
|
||||
|
||||
.fixed-bottom {
|
||||
background: #ffc;
|
||||
color: black;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user