Skip to content

A movement reclaim the streets, build community, and advocate for safer, more bike-friendly cities.

Notifications You must be signed in to change notification settings

afonsojramos/critical-mass

Repository files navigation

πŸš΄β€β™€οΈ Critical Mass Portugal

Reclaiming the streets, one pedal at a time 🌟

Welcome to the official website for Critical Mass Portugal - a grassroots movement uniting cyclists across Portuguese cities to advocate for sustainable transportation, safer streets, and vibrant cycling communities.

Critical Mass is a worldwide cycling event where cyclists gather monthly to ride together through city streets, demonstrating that bicycles are a viable form of transportation and advocating for better cycling infrastructure. Born in San Francisco in 1992, the movement has spread globally, and now thrives in cities across Portugal including Porto, Lisboa, Coimbra, and more.

🌍 What is Critical Mass?

Critical Mass is not a protest, but a celebration - a monthly gathering that:

  • 🚲 Promotes cycling as sustainable urban mobility
  • πŸ›‘οΈ Advocates for cyclist safety and infrastructure
  • 🀝 Builds community among cycling enthusiasts
  • 🌱 Raises awareness about environmental issues
  • πŸŽ‰ Creates joyful, inclusive experiences for all skill levels

Join us on the last Friday of every month as we ride together through Portuguese cities, creating positive change one revolution at a time!

🧞 Commands

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

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

✨ Features

🌐 Multilingual Experience

  • Portuguese and English support with seamless language switching
  • Auto-translation capabilities for rapid content localization
  • SEO-optimized

πŸ“ Dynamic Content

  • Blog system for movement updates and cycling advocacy
  • Content management with i18n thanks to sveltia-cms through intuitive web interface
  • Community-driven event submissions via CMS

🎨 Modern Web Experience

  • Lightning-fast performance with server-side rendering
  • Responsive design optimized for mobile and desktop

πŸ› οΈ Tech Stack

This project leverages modern web technologies for optimal performance and developer experience:

Frontend Framework

  • Astro - Fast, content-focused static site generator
  • TailwindCSS - Utility-first CSS framework for rapid styling

Internationalization

  • Paraglide.js - Type-safe i18n with compile-time optimization
  • Inlang - Modern localization ecosystem with machine translation

Content Management

  • Sveltia CMS - A DecapCMS (formerly Netlify CMS) compatible git-based headless CMS
  • Astro Content Collections - Type-safe content with automatic validation

Infrastructure

  • Cloudflare - Global CDN with edge rendering
  • Bun - Fast JavaScript runtime and package manager
  • Server-Side Rendering (SSR) - Dynamic content with optimal performance

Code Quality

  • Biome - Fast linter and formatter for consistent code style
  • TypeScript - Type safety and enhanced developer experience

🀝 Contributing

We welcome contributions from the cycling community! Here's how you can help:

For Cyclists & Community Organizers

  • πŸ“ Submit ride reports and community stories through the website
  • πŸ“Έ Share photos from your local Critical Mass events
  • πŸ—£οΈ Help improve translations for better accessibility
  • πŸ“’ Spread the word about upcoming rides

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

A movement reclaim the streets, build community, and advocate for safer, more bike-friendly cities.

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

 

Contributors 2

  •  
  •