@@ -69,39 +69,88 @@ gatsby build
69
69
70
70
## Structure of code
71
71
72
-
73
-
74
72
```
75
73
coderbunker
76
74
βββ locales
77
- β βββ en
78
- β β βββ translation.json // π add EN string here
79
- β βββ fr
80
- β βββ translation.json // π add FR string here
81
75
βββ src
82
76
β βββ assets
83
77
β β βββ content
84
- β β β βββ team.json // π add team member info here
85
78
β β βββ fonts
86
79
β β βββ images
87
80
βΒ Β βΒ Β βΒ Β βββ team // π add team member image here
88
- βΒ Β βΒ Β βΒ Β βββ 001_ricky_ng_adam.jpg
89
- βΒ Β βΒ Β βΒ Β βββ 002_etc...
90
81
β β βββ pdfs // π add the Retainer Agreement here
91
82
β βββ components
92
83
βΒ Β βΒ Β βββ button.js
93
- βΒ Β βΒ Β βββ // reusable components, etc...
84
+ βΒ Β βΒ Β βββ // π add reusable components, etc...
94
85
βΒ Β βββ pages
95
86
βΒ Β βΒ Β βββ 404.js
96
87
βΒ Β βΒ Β βββ index.js
97
88
βΒ Β βββ pdfs
98
89
βΒ Β βΒ Β βββ placeholder.pdf
99
90
βΒ Β βββ styles
100
- βββ gatsby-browser.js
91
+ βββ gatsby-browser.js
92
+ βββ gatsvy-config.js
93
+ βββ gatsby-node.js
94
+ βββ gatsby-ssr.js
95
+ βββ postcss.config.js
96
+ βββ tailwind.config.js
101
97
102
98
```
103
99
104
100
## Team Content
105
101
102
+ #### Add a team member
103
+
104
+ 1 . Add an image in the ` team ` folder.
105
+
106
+ - Name the images following the format starting with ` 002 `
107
+ - it will be displayed as part of the stacked avatar and the team carousel if included in the team.json.
108
+
109
+ ```
110
+ βββ src
111
+ βββ assets
112
+ βββ content
113
+ β βββ team.json // π add team member info here
114
+ βββ images
115
+ Β Β Β Β Β Β βββ team // π add team member image here
116
+ Β Β Β Β Β Β βββ 001_ricky_ng_adam.jpg
117
+ Β Β Β Β Β Β βββ 002_etc...
118
+ ```
119
+
120
+ 2 . Add a slide to the team carousel
121
+
122
+ ```
123
+ {
124
+ "content": [
125
+ {
126
+ "name": "Ricky Ng-Adam",
127
+ "title": "Founder, CoderBunker",
128
+ "linkedin": "https://www.linkedin.com/in/rngadam/",
129
+ "github": "https://github.com/rngadam",
130
+ "image": "001_ricky_ng_adam.jpg", // π reference the image in the `team` folder
131
+ "highlights": [ // π optimal length <= 7
132
+ "25 years experience in software development",
133
+ "Architecture, design, R&D",
134
+ "Team recruitment, building and coaching",
135
+ "Javascript, Python, C/C++, bash, plpgsql",
136
+ "API: REST, Websockets, GraphQL",
137
+ "Deployment (Linux, Ansible, Cloud, Docker)",
138
+ "Database (PostgreSQL)"
139
+ ]
140
+ },
141
+ { ...next member }
142
+ ]
143
+ }
144
+ ```
106
145
107
146
## Translation
147
+
148
+ #### add/remove translation strings
149
+
150
+ ```
151
+ βββ locales
152
+ βββ en
153
+ β βββ translation.json // π add EN string here
154
+ βββ fr
155
+ βββ translation.json // π add FR string here
156
+ ```
0 commit comments