update - add watch talks button

This commit is contained in:
tree🌴 2023-09-29 11:53:11 +02:00
parent 010f3deeb5
commit 41e1a36d7d
3 changed files with 7 additions and 111 deletions

108
package-lock.json generated
View file

@ -13,7 +13,6 @@
"@web3modal/ethereum": "^2.1.1",
"@web3modal/html": "^2.1.1",
"ethers": "^5.7.2",
"wagmi": "^0.11.7",
"web3": "^1.8.2"
},
"devDependencies": {
@ -2309,80 +2308,6 @@
"node": ">=14.16"
}
},
"node_modules/@tanstack/query-core": {
"version": "4.24.10",
"resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-4.24.10.tgz",
"integrity": "sha512-2QywqXEAGBIUoTdgn1lAB4/C8QEqwXHj2jrCLeYTk2xVGtLiPEUD8jcMoeB2noclbiW2mMt4+Fq7fZStuz3wAQ==",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/tannerlinsley"
}
},
"node_modules/@tanstack/query-persist-client-core": {
"version": "4.24.10",
"resolved": "https://registry.npmjs.org/@tanstack/query-persist-client-core/-/query-persist-client-core-4.24.10.tgz",
"integrity": "sha512-ObE7k4/TN1EgYMrTCkR43UIvviCtT27QcbE14CgdqeOVRSJ+oiIgXlfir69bcgBUW5Ba7S0ezY2SNV6IfSRNrw==",
"dependencies": {
"@tanstack/query-core": "4.24.10"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/tannerlinsley"
}
},
"node_modules/@tanstack/query-sync-storage-persister": {
"version": "4.24.10",
"resolved": "https://registry.npmjs.org/@tanstack/query-sync-storage-persister/-/query-sync-storage-persister-4.24.10.tgz",
"integrity": "sha512-bS/vUHmzlnj7FiUZaPEUsEPitiaX2bzPJ9DuqQf7HCNMgqV/pwie90q90XIpGHUw8cF/6e3RnHF346OkH/XehQ==",
"dependencies": {
"@tanstack/query-persist-client-core": "4.24.10"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/tannerlinsley"
}
},
"node_modules/@tanstack/react-query": {
"version": "4.24.10",
"resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-4.24.10.tgz",
"integrity": "sha512-FY1DixytOcNNCydPQXLxuKEV7VSST32CAuJ55BjhDNqASnMLZn+6c30yQBMrODjmWMNwzfjMZnq0Vw7C62Fwow==",
"dependencies": {
"@tanstack/query-core": "4.24.10",
"use-sync-external-store": "^1.2.0"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/tannerlinsley"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-native": "*"
},
"peerDependenciesMeta": {
"react-dom": {
"optional": true
},
"react-native": {
"optional": true
}
}
},
"node_modules/@tanstack/react-query-persist-client": {
"version": "4.24.10",
"resolved": "https://registry.npmjs.org/@tanstack/react-query-persist-client/-/react-query-persist-client-4.24.10.tgz",
"integrity": "sha512-Ta8PQua5aJK5F1w1ckX1xFnA4ohNpoeLUvApxtpMb3DKfs1XmyeFaddwyhP7La/EdjTtiInBJ2TmEAjG7EqhCw==",
"dependencies": {
"@tanstack/query-persist-client-core": "4.24.10"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/tannerlinsley"
},
"peerDependencies": {
"@tanstack/react-query": "4.24.10"
}
},
"node_modules/@tsconfig/node10": {
"version": "1.0.9",
"resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz",
@ -9773,39 +9698,6 @@
}
}
},
"node_modules/wagmi": {
"version": "0.11.7",
"resolved": "https://registry.npmjs.org/wagmi/-/wagmi-0.11.7.tgz",
"integrity": "sha512-IiB1TxTVn+xvjju3ZNQfiwfiB6EZj1h3CO7Zt8q0PEDRN76jqniaeOV7QAnfBgtbqmVh2co4Miaz1rRtvVPMTQ==",
"funding": [
{
"type": "gitcoin",
"url": "https://wagmi.sh/gitcoin"
},
{
"type": "github",
"url": "https://github.com/sponsors/wagmi-dev"
}
],
"dependencies": {
"@tanstack/query-sync-storage-persister": "^4.14.5",
"@tanstack/react-query": "^4.14.5",
"@tanstack/react-query-persist-client": "^4.14.5",
"@wagmi/core": "0.9.7",
"abitype": "^0.3.0",
"use-sync-external-store": "^1.2.0"
},
"peerDependencies": {
"ethers": ">=5.5.1 <6",
"react": ">=17.0.0",
"typescript": ">=4.9.4"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
}
},
"node_modules/web3": {
"version": "1.8.2",
"resolved": "https://registry.npmjs.org/web3/-/web3-1.8.2.tgz",

View file

@ -1,8 +1,12 @@
import config from '$lib/config.yaml';
export async function load({ params, url, fetch }) {
const resp = await fetch(config.badgesApiUrl + '/badges');
const badges = await resp.json();
let resp;
try {
resp = await fetch(config.badgesApiUrl + '/badges');
} catch {}
const badges = resp ? await resp.json() : [];
return {
config,

View file

@ -24,7 +24,7 @@
external: true
},
{ title: 'Twitter', url: 'https://twitter.com/web3privacy', ico: 'twitter', external: true },
{ title: 'Ticket', url: '#ticket', class: 'button' }
{ title: 'Watch Talks', url: 'https://watch.web3privacy.info/', class: 'button', external: true }
];
const homepageAnimation = () => {