Skip to content

techlabsms/techlabs_new

Repository files navigation

Gatsby

Official Website Repository for TechLabs Global

🚀 Quick start

We use Gatsby.js to build our Site

  1. Clone the Repo
  2. Install the Gatsby CLI npm install -g gatsby-cli
  3. Run npm install
  4. Create a .env.development file
  5. Get the contentful access token from passbolt and add a line to the .env.development file, replacing the XXX with the contentful token: CONTENTFUL_ACCESS_TOKEN=XXX
  6. Run gatsby develop to start the project locally

Publish Changes

Staging branch automatically deploys to the staging environment and the production branch automatically to the production environment.

✏️ Content

We use Contentful as a CMS (Content Management System). There you can edit the location page of your TechLabs Community and add the BlogPosts.

Location Pages

Currentliy the only pages that are generated are /location. In the templates folder you could find the template for the pages, which are generated from the gatsby-node file.

Any change in the content of the location pages has to be done through contentful.

Translation

Please make sure to add static text both in german and english. Therefore you have to add a formattedMessage with the key to the json in intl/de.json and intl/en.json.

Example: <FormattedMessage id="about.about.program_hero.headingSecond" />

Technical Setup

  • React as a Frontend Framework (DOCS)
  • Gatsby as static site generator (DOCS)
  • Data Source Contentful

URLS

🐛 Bugs and issues

You found something that has to be different? Something is broken? Please report it here: Report issue

Lighthouse

lighthouse staging

Passbolt

If you want to work on the website please consider to become a part of the techlabs organisation. Currently only TechLabs-Members could support this project. Either message Richard or get in contact with our HR department.

Questions?

Please feel free to write a message to Richard

About

New techlabs website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published