Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 2.61 KB

README.md

File metadata and controls

51 lines (32 loc) · 2.61 KB

Klimatkollen Beta

This is the new version of klimatkollen.se. You'll find our legacy code here. This is where we rebuild our site to be faster, better and stronger using TypeScript, Svelte, Astro and Tailwind. Also, this is the place where our new UX/UI is implemented.

🚀 Project Structure

Astro looks for .astro or .md files in the src/pages/ directory. Each page is exposed as a route based on its file name. There's nothing special about src/components/, but that's where we like to put any Astro/React/Vue/Svelte/Preact components. Any static assets, like images, can be placed in the public/ directory.

🧞 Commands

All commands are run from the root of the project, from a terminal:

Command Action
npm install Installs dependencies
npm run dev Starts local dev server at localhost:4321
npm run build Build your production site to ./dist/
npm run preview Preview your build locally, before deploying
npm run astro ... Run CLI commands like astro add, astro check
npm run astro -- --help Get help using the Astro CLI

We're using shadcn for our components. Learn how to add new components you then can customize.

👩‍💻 Contributing

Do you have an idea for a feature? Jump into the code or head to our Discord server discuss your thoughts. You can also submit an issue explaining your suggestion.

How to Contribute

  • Discuss your idea on our Discord.
  • Submit an issue if you can't find an existing one.
  • Pick up an issue from our open issues (and leave a comment to avoid double work).

📠 Contact

Join our Discord server or send an email to hej@klimatkollen.se.

🫶 Supporters and Partners

This work wouldn't have been possible without the support from Google.org.

We'd also like to thank our current and former partners:

Postkodstiftelsen, ClimateView, Klimatklubben.se, Researcher's Desk, Exponential Roadmap, WWF, We Don't Have Time, Våra Barns Klimat, Argand, StormGeo.

LICENSE

MIT Copyright (c) Klimatbyrån