coderbunker / coderbunker.ca

Coderbunker Canada landing page
MIT License
0 stars 3 forks source link

coderbunker.ca

Coderbunker Canada landing page

Brief: https://docs.google.com/document/d/1xpbedH1DP_uP1s9IhstSerLtQEcD-CYtuRYbqVcE-C8/edit#

Production: coderbunker.ca

Staging: coderbunker-staging.netlify.app

Framework

Asset Attribution

What was completed?

What still needs to be done?

How to deploy?

Production (Netlify)

Continuous Deployment on Netlify of the main branch of this repo (i.e. everytime code got merged onto the main branch, it will trigger a rebuild on Netlify.

Changes can be seen πŸ‘‰ coderbunker.ca

Staging

You can refer to Netlify deploy preview on the pull request.

You can use gh-pages as an alternative πŸ‘‰ coderbunker.github.io/coderbunker.ca

gatsby clean
npm run deploy

or

gatsby clean
gatsby build --prefix-paths && gh-pages -d public -r git@github.com:coderbunker/coderbunker.ca.git

Build

npm run build

or

gatsby build

Structure of code

coderbunker
β”œβ”€β”€ locales
β”œβ”€β”€ src
β”‚   β”œβ”€β”€ assets
β”‚   β”‚   β”œβ”€β”€ content
β”‚   β”‚   β”‚   β”œβ”€β”€ members  πŸ‘ˆ Where team member info is stored
β”‚   β”‚   β”‚   └── partners πŸ‘ˆ Where partners (& clients) info is stored
β”‚   β”‚   β”œβ”€β”€ fonts
β”‚   β”‚   └── images
β”‚   β”œβ”€β”€ components       πŸ‘ˆ reusable components
β”‚Β Β  β”œβ”€β”€ pages
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ 404.js
β”‚Β Β  β”‚Β Β  └── index.js
β”‚Β Β  └── styles
β”œβ”€β”€ gatsby-browser.js
β”œβ”€β”€ gatsvy-config.js
β”œβ”€β”€ gatsby-node.js
β”œβ”€β”€ gatsby-ssr.js
β”œβ”€β”€ postcss.config.js
└── tailwind.config.js

Team Content

Add a team member

Folder Structure

β”œβ”€β”€ src
    β”œβ”€β”€ assets
        └── content
            β”œβ”€β”€ members
            β”‚       β”œβ”€β”€ 01_ricky_ng_adam.jpg  πŸ‘ˆ team member portrait
            β”‚       └── 01_ricky_ng_adam.json πŸ‘ˆ team member info
            └── partners

JSON File Example

{
  "en": {
    "name": "Ricky Ng-Adam",
    "title": "Founder, Coderbunker",
    "linkedin": "https://www.linkedin.com/in/rngadam/",
    "github": "https://github.com/rngadam",
    "image": "01_ricky_ng_adam.jpg",
    "highlights": [
      "25 years experience in software development",
      "Architecture, design, R&D",
      "Team recruitment, building and coaching",
      "Javascript, Python, C/C++, bash, plpgsql",
      "API: REST, Websockets, GraphQL",
      "Deployment (Linux, Ansible, Cloud, Docker)",
      "Database (PostgreSQL)"
    ]
  },
  "fr": {
    "name": "Ricky Ng-Adam",
    "title": "Fondateur, chez Coderbunker",
    "linkedin": "https://www.linkedin.com/in/rngadam/",
    "github": "https://github.com/rngadam",
    "image": "01_ricky_ng_adam.jpg",
    "highlights": [
      "25 ans d'expΓ©rience dans le dΓ©veloppement de logiciels",
      "Architecture, design, R&D",
      "Recrutement d'Γ©quipe, constitution et coaching",
      "Javascript, Python, C/C++, bash, plpgsql",
      "API: REST, Websockets, GraphQL",
      "DΓ©ploiement (Linux, Ansible, Cloud, Docker)",
      "Base de donnΓ©es (PostgreSQL)"
    ]
  }
}
  1. Copy an existing JSON file in the /content/members folder, and rename it following the naming convention i.e. 01_ricky_ng_adam

  2. Add an image to the same folder /content/members, make sure the image file name matched what was specified in the json file.

Please keep the highlights short and sweet, max 7 bullet points.

Partner (& Client) Content

Add a partner

Folder Structure

β”œβ”€β”€ src
    β”œβ”€β”€ assets
        └── content
            β”œβ”€β”€ members
            └── partners
                    β”œβ”€β”€ 01_drave.json πŸ‘ˆ partner info
                    └── 01_drave.png  πŸ‘ˆ partner logo

JSON File Example

{
  "name": "Drave dΓ©veloppement",
  "website": "https://drave.quebec/",
  "logo": "01_drave.png"
}
  1. Copy an existing JSON file in the /content/partners folder, and rename it following the naming convention i.e. 01_drave

  2. Add an image to the same folder /content/partners, make sure the image file name matched what was specified in the json file.

Translation

add/remove translation strings

β”œβ”€β”€ locales
    └── fr
        └── index.json // πŸ‘ˆ non team-member related translation string goes here