Skip to content

Commit

Permalink
V0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
clampr committed Oct 14, 2021
1 parent 68691eb commit 3dfe974
Show file tree
Hide file tree
Showing 23 changed files with 2,915 additions and 239 deletions.
15 changes: 15 additions & 0 deletions functions/props/About.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import type { EdgeProps } from 'vitedge'

export default <EdgeProps>{
async handler() {
return {
data: {},
}
},
options: {
cache: {
api: 60*60*24*14,
html: 60*60*24*14
},
},
}
1 change: 1 addition & 0 deletions functions/props/PlaceClimate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export default <EdgeProps>{
.then(data => {
place = data.data
})
.catch(() => console.log('Place Not Found'))
return {
data: {
status: place === null ? 404 : 200,
Expand Down
1 change: 1 addition & 0 deletions functions/props/PlaceHistory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export default <EdgeProps>{
.then(data => {
place = data.data
})
.catch(() => console.log('Place Not Found'))
return {
data: {
status: place === null ? 404 : 200,
Expand Down
15 changes: 15 additions & 0 deletions functions/props/Support.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import type { EdgeProps } from 'vitedge'

export default <EdgeProps>{
async handler() {
return {
data: {},
}
},
options: {
cache: {
api: 60*60*24*14,
html: 60*60*24*14
},
},
}
224 changes: 17 additions & 207 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"pinia": "^2.0.0-rc.12",
"prismjs": "^1.25.0",
"v-calendar": "^3.0.0-alpha.6",
"vitedge": "^0.16.4",
"vitedge": "^0.17.0",
"vue": "^3.2.20",
"vue-i18n": "^9.1.9",
"vue-router": "^4.0.11"
Expand All @@ -63,7 +63,7 @@
"sass-loader": "^10.0.0",
"ts-node": "^9.1.1",
"typescript": "^4.4.3",
"vite": "^2.6.5",
"vite": "2.5.x",
"vue-tsc": "^0.0.24"
}
}
3 changes: 3 additions & 0 deletions src/components/Donation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
class="icon-link mb-2"
href="https://www.patreon.com/meteostat"
target="_blank"
rel="noreferrer"
>
<span class="box fs-5">
<icon :icon="['fab', 'patreon']" />
Expand All @@ -37,6 +38,7 @@
class="icon-link mb-2"
href="https://www.paypal.com/donate?hosted_button_id=MQ67WRDC8EW38"
target="_blank"
rel="noreferrer"
>
<span class="box fs-5">
<icon :icon="['fab', 'paypal']" />
Expand All @@ -47,6 +49,7 @@
class="icon-link mb-4"
href="https://github.com/sponsors/clampr"
target="_blank"
rel="noreferrer"
>
<span class="box fs-5">
<icon :icon="['fab', 'github']" />
Expand Down
Loading

0 comments on commit 3dfe974

Please sign in to comment.