Skip to content

Astro version of the organisation website. Raw web didn't make sense

Notifications You must be signed in to change notification settings

JS-Hub-ZW/jshub-website-astro

Repository files navigation

JS Hub Zim Website

The site for the JS Hub Zim organisation. It has been swithched to Astro as the initial build would not be easily maintanable.

Tech Stack

  • Astro
  • TailwindCSS

Introduction

I switched it to Astro to make it easier to maintain - raw HTML doesn't make sense. There is better composability with Astro.

Installation

  • Clone the project: git clone https://github.com/JS-Hub-ZW/jshub-website-astro

  • Navigate to the project cd jshub-website-astro

  • Install Dependencies yarn or npm install or pnpm install

  • Run the server yarn dev or npm run dev/start or pnpm dev/start

ℹ Info

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:3000
npm run build Build your production site to ./dist/
npm run preview Preview your build locally, before deploying

Contribution

  • Follow the pattern you see in the project. If you have any questions, please contact us.
  • Please make sure your contribution solves a particular problem.
  • Please make sure your contribution is in a way that is easy to understand. It is not necessary to write a lot of code.
  • Pull requests without proper description are not accepted.
  • Respect others

Shame

  1. Shame on the person who does not respect others
  2. Shame on the person who does not contribute
  3. Shame on the person who does not follow the pattern
  4. Shame on the person who does not follow the rules
  5. Shame on the person who does not follow the guidelines
  6. Shame on the person who abuses the cluster

Blessings

  1. Blessed be the person who respects others
  2. Blessed be the person who contributes
  3. Blessed be the person who follows the pattern
  4. Blessed be the person who follows the rules
  5. Blessed be the person who follows the guidelines
  6. Blessed be the person who does not abuse the cluster

About

Astro version of the organisation website. Raw web didn't make sense

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published