mirror of
https://github.com/davegallant/rfd-fyi.git
synced 2025-08-08 09:32:26 +00:00
Compare commits
27 Commits
renovate/e
...
renovate/n
Author | SHA1 | Date | |
---|---|---|---|
|
2655f17ea5 | ||
|
10a6ae4964 | ||
|
0555770086 | ||
|
fcbdf15180 | ||
|
968a417f60 | ||
|
05fb199525 | ||
|
9e4a84dbbb | ||
|
665edf0c80 | ||
|
ef7448f02f | ||
|
60dfad2c66 | ||
|
f60dd55178 | ||
|
e7a47adca5 | ||
|
d54b07172e | ||
f60e4cf1cf | |||
|
d4253ed8e2 | ||
|
a0ee6bb6c8 | ||
|
5f7e848670 | ||
|
f2c05bce92 | ||
|
0e34c00b99 | ||
|
c20f4fb32a | ||
|
052e2d92d9 | ||
|
b367ad0a46 | ||
|
16ef189fe4 | ||
|
89d3d70ef9 | ||
|
00e3c8ad5e | ||
|
6444cac6ee | ||
b15a4fa107 |
11
Caddyfile
11
Caddyfile
@@ -1,5 +1,8 @@
|
|||||||
rfd.davegallant.ca
|
rfd.davegallant.ca {
|
||||||
|
file_server
|
||||||
|
reverse_proxy /api/* backend:8080
|
||||||
|
}
|
||||||
|
|
||||||
file_server
|
rfd.fyi {
|
||||||
|
redir https://rfd.davegallant.ca{uri} 301
|
||||||
reverse_proxy /api/* backend:8080
|
}
|
||||||
|
@@ -10,7 +10,7 @@ COPY . .
|
|||||||
|
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
FROM caddy:2.9.1-alpine as runtime
|
FROM caddy:2.10.0-alpine as runtime
|
||||||
|
|
||||||
WORKDIR /my-site
|
WORKDIR /my-site
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# rfd.fyi
|
# rfd-fyi
|
||||||
|
|
||||||
This repository provides a simple, less-distracting overlay for hot deals posted on https://forums.redflagdeals.com.
|
This repository provides a simple, less-distracting overlay for hot deals posted on https://forums.redflagdeals.com.
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# syntax=docker/dockerfile:1.14
|
# syntax=docker/dockerfile:1.17
|
||||||
FROM cgr.dev/chainguard/go:latest as build
|
FROM cgr.dev/chainguard/go:latest as build
|
||||||
|
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
1115
package-lock.json
generated
1115
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -10,7 +10,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@github/hotkey": "^3.0.0",
|
"@github/hotkey": "^3.0.0",
|
||||||
"@popperjs/core": "^2.11.8",
|
"@popperjs/core": "^2.11.8",
|
||||||
"axios": "^1.6.0",
|
"axios": "^1.11.0",
|
||||||
"bootstrap": "^5.3.1",
|
"bootstrap": "^5.3.1",
|
||||||
"bootstrap-vue": "^2.22.0",
|
"bootstrap-vue": "^2.22.0",
|
||||||
"core-js": "^3.32.1",
|
"core-js": "^3.32.1",
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
"vue": "^3.3.4",
|
"vue": "^3.3.4",
|
||||||
"vue-github-button": "^3.0.3",
|
"vue-github-button": "^3.0.3",
|
||||||
"vue-loading-overlay": "^6.0.3",
|
"vue-loading-overlay": "^6.0.3",
|
||||||
"vue-router": "4.5.0"
|
"vue-router": "4.5.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.22.10",
|
"@babel/core": "^7.22.10",
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
"@vue/cli-plugin-eslint": "~5.0.0",
|
"@vue/cli-plugin-eslint": "~5.0.0",
|
||||||
"@vue/cli-service": "^5.0.8",
|
"@vue/cli-service": "^5.0.8",
|
||||||
"eslint": "^8.47.0",
|
"eslint": "^8.47.0",
|
||||||
"eslint-plugin-vue": "^10.0.0",
|
"eslint-plugin-vue": "^9.17.0",
|
||||||
"postcss-cli": "^11.0.0"
|
"postcss-cli": "^11.0.0"
|
||||||
},
|
},
|
||||||
"eslintConfig": {
|
"eslintConfig": {
|
||||||
|
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