https://austingayler.github.io/do-stuff-outside/
Enabling DABS PDF directly in the site. We'll need a proxy server due to CORS https://www.skybriefing.com/dabs
Rain radar slider: https://www.srf.ch/meteo/radar https://www.srf.ch/meteo/static/map/layer/radar/web/RONMERCATORWEBP.20250117140000.webp?time=1737010976 Also needs a proxy server to re-serve the images due to CORS
Gipfelbuch report embedding: https://www.gipfelbuch.ch/verhaeltnisse/uebersicht Could directly hardcode the regions to care about, such as Bern. On Gipfelbuch that sends a request to https://www.gipfelbuch.ch/conditions/list with some form data that you can see in the network tab.
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
- Configure the top-level
parserOptionsproperty like this:
export default {
// other rules...
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ['./tsconfig.json', './tsconfig.node.json'],
tsconfigRootDir: __dirname,
},
}- Replace
plugin:@typescript-eslint/recommendedtoplugin:@typescript-eslint/recommended-type-checkedorplugin:@typescript-eslint/strict-type-checked - Optionally add
plugin:@typescript-eslint/stylistic-type-checked - Install eslint-plugin-react and add
plugin:react/recommended&plugin:react/jsx-runtimeto theextendslist
Notes: CORS is not enabled on the DABS site, so we can't embed the PDF directly.