Skip to content

hackclub/global

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

288 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Hack Club logo

Hack Club Global

Localized & minimalized version of hackclub.com's home page.


Contributing

Quick Start

  1. Download the code to your computer:

    git clone https://github.com/hackclub/global && cd global
  2. Install dependencies:

    bun install
  3. Start running the website on your computer:

    bun run dev
  4. Open up your web browser and go to localhost:3000

  5. To test your locale, go to localhost:3000/[xx], replacing [xx] with the locale code (e.g. ee for Estonian).

Adding a Locale

  1. Go to the locale/ directory, copy en.ts and rename it to your locale code (e.g. fr.ts for French). Follow the ISO 639-1 standard for locale codes.

  2. Test your changes!

  3. Submit a PR to hackclub/dns to add your .hackclub.com subdomain. Add a record to hackclub.com.yaml in the following format:

    xx.hackclub.com:
      - ttl: 300
        type: CNAME
        value: cname.vercel-dns.com.
  4. Once the DNS PR is merged, submit a PR to this repository with your locale/changes! Locales.json is generated automatically, so you don't need to worry about that.

License

Code under MIT License, assets may not be re-used or re-distributed.

About

๐ŸŒ Hack Club's websites translated for a global audience

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors