1 Commits

Author SHA1 Message Date
renovate[bot]
d517b42491 Update dependency vue to v3.5.17 2025-06-18 15:13:45 +00:00

View File

@@ -2,6 +2,7 @@
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";
@@ -117,14 +118,10 @@ 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>
@@ -209,9 +206,21 @@ export default {
</tr> </tr>
</tbody> </tbody>
</table> </table>
<div v-if="showBeforeTargetDate"> <div v-if="!isMobile()">
<footer class="fixed-bottom"> <footer class="fixed-bottom">
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>. <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>
</footer> </footer>
</div> </div>
</body> </body>
@@ -225,10 +234,4 @@ export default {
text-align: center; text-align: center;
color: #2c3e50; color: #2c3e50;
} }
.fixed-bottom {
background: #ffc;
color: black;
}
</style> </style>