new-leaf Tailwind Templates

New Leaf

GatsbyJS + Tailwind CSS + GraphQL + Prismic

New Leaf Naturopathic Health

New Leaf is a naturopathic surgery based in Marrickville, Sydney.

The production site can be viewed at new-leaf.com.au

This project uses TailwindCSS and React bootstrapped to Gatsby. It pulls data from Prismic.

🚀 Quick start

  1. Make sure you have all the requirements
  1. Install all the project dependencies.

    Navigate into the site’s directory and run:

    npm install
    
  2. Start developing.

    Navigate into the site’s directory and start it up.

    npm run develop
    
  3. Open the code and start customizing!

    Your site is now running at http://localhost:8000!

    Edit src/pages/index.js to see your site update in real-time!

  4. Learn more about Gatsby

Infrastructure

Any time there is a push to main, it will automatically deploy to the production site.

Workflow

When working on an issue please work on a new branch that is forked from main. Naming convnetions for branches are <issue number>_<issue summary>. For example, if you are working on issue "#6 Insert favicon" then please name your branch 6_favicon or something similar.

When writing commit messages, reference the issue number you are working on with #<issue number>. Commit messages should look like <commit message> #<issue number>. So if you are working on "#6 Insert favicon" then your commit message would look something like this: "Add favicon to page head #6". This means that all commits can be viewed on the relevant issue ticket.

Once you have finished work on a branch then please created a pull request and it will be merged into main and deployed.

Top categories

Loading Svelte Themes