-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add plausible analytics for better privcay
- Loading branch information
1 parent
5e6d8d1
commit ddf4eda
Showing
6 changed files
with
377 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
{ | ||
"hash": "2ac064c2", | ||
"browserHash": "17e02623", | ||
"hash": "fa628c01", | ||
"browserHash": "5d98ddba", | ||
"optimized": { | ||
"vue": { | ||
"src": "../../../../node_modules/.pnpm/[email protected]/node_modules/vue/dist/vue.runtime.esm-bundler.js", | ||
"file": "vue.js", | ||
"fileHash": "28607c0c", | ||
"fileHash": "ebb0ce03", | ||
"needsInterop": false | ||
}, | ||
"vitepress > @vue/devtools-api": { | ||
"src": "../../../../node_modules/.pnpm/@[email protected]/node_modules/@vue/devtools-api/lib/esm/index.js", | ||
"file": "vitepress___@vue_devtools-api.js", | ||
"fileHash": "a477b2a0", | ||
"fileHash": "df8ccb83", | ||
"needsInterop": false | ||
}, | ||
"vitepress > @vueuse/integrations/useFocusTrap": { | ||
"src": "../../../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@vueuse/integrations/useFocusTrap.mjs", | ||
"file": "vitepress___@vueuse_integrations_useFocusTrap.js", | ||
"fileHash": "f7bf987a", | ||
"fileHash": "e7d2521b", | ||
"needsInterop": false | ||
}, | ||
"vitepress > mark.js/src/vanilla.js": { | ||
"src": "../../../../node_modules/.pnpm/[email protected]/node_modules/mark.js/src/vanilla.js", | ||
"file": "vitepress___mark__js_src_vanilla__js.js", | ||
"fileHash": "00fa4d89", | ||
"fileHash": "32fe33db", | ||
"needsInterop": false | ||
}, | ||
"vitepress > minisearch": { | ||
"src": "../../../../node_modules/.pnpm/[email protected]/node_modules/minisearch/dist/es/index.js", | ||
"file": "vitepress___minisearch.js", | ||
"fileHash": "e45c5000", | ||
"fileHash": "74a2d189", | ||
"needsInterop": false | ||
} | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<template> | ||
<div ref="map"></div> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import * as Plot from '@observablehq/plot' | ||
import { onMounted, ref } from 'vue' | ||
const map = ref<HTMLElement | null>(null) | ||
onMounted(() => { | ||
// const plot = Plot.plot({ | ||
// height: 12 * 160, // 160px per month | ||
// width: root.value?.clientWidth, | ||
// marks: [ | ||
// // plot the world map | ||
// Plot.geo({ | ||
// // the data is a topojson file | ||
// data: Plot.topojson( | ||
// "https://vega.github.io/vega-datasets/data/world-110m.json" | ||
// ), | ||
// // the projection is a d3 projection | ||
// projection: "geoNaturalEarth1", | ||
// // the outline of the map is a path | ||
// outline: ({ type }) => type === "Sphere", | ||
// // the land is a filled path | ||
// fill: ({ type }) => type !== "Sphere", | ||
// // the stroke of the land is white | ||
// stroke: ({ type }) => type !== "Sphere" && "#fff", | ||
// // the stroke width of the land is 0.5 | ||
// strokeWidth: ({ type }) => type !== "Sphere" && 0.5, | ||
// // the color of the land is a gradient | ||
// color: { | ||
// // the domain is the min and max of the population | ||
// domain: [0, 1400000000], | ||
// // the range is a color scheme | ||
// range: ["#f0f9e8", "#bae4bc", "#7bccc4", "#43a2ca", "#0868ac"], | ||
// // the value is the population | ||
// value: (d) => d.properties.pop_est, | ||
// }, | ||
// }), | ||
// ], | ||
// }); | ||
// map.value?.lastChild?.remove(); | ||
// map.value?.append(plot); | ||
}) | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.