diff --git a/README.md b/README.md index a30e213..38cc64e 100644 --- a/README.md +++ b/README.md @@ -1,29 +1 @@ -# New Project - -> ✨ Bootstrapped with Create Snowpack App (CSA). - -## Available Scripts - -### npm start - -Runs the app in the development mode. -Open http://localhost:8080 to view it in the browser. - -The page will reload if you make edits. -You will also see any lint errors in the console. - -### npm test - -Launches the test runner in the interactive watch mode. -See the section about running tests for more information. - -### npm run build - -Builds a static copy of your site to the `build/` folder. -Your app is ready to be deployed! - -**For the best production performance:** Add a build bundler plugin like [@snowpack/plugin-webpack](https://github.com/snowpackjs/snowpack/tree/master/plugins/plugin-webpack) or [snowpack-plugin-rollup-bundle](https://github.com/ParamagicDev/snowpack-plugin-rollup-bundle) to your `snowpack.config.json` config file. - -### Q: What about Eject? - -No eject needed! Snowpack guarantees zero lock-in, and CSA strives for the same. +## 台灣性侵害資料統計 diff --git a/src/App.svelte b/src/App.svelte index f3a2608..00daae5 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -7,12 +7,6 @@
@@ -57,6 +82,13 @@ {/each}
+
+ {#each scaleLabel as label, idx (label[0])} + + {#if idx % 3 === 0} {label[0]} {/if} + + {/each} +
{#key currentYear} -
+
-
+ diff --git a/src/api/fetch.js b/src/api/fetch.js new file mode 100644 index 0000000..e69de29