You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/components/PastGeeseTimeline/hooks/geese-images.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ const imgs: Image[] = [
54
54
imgFile: goose5,
55
55
name: 'Goose V',
56
56
desc:
57
-
'Placeholder text'
57
+
'With Goose V, we continued to refine the wheel-less propulsion methods, by implementing a system to convert constant power into three-phase power to maximize thrust and speed.'
Displays text, along with an circular image beside it. Can be configured to also display a title and a button that redirects the user to a link. Used to display the team leads under the "teams" section.
6
+
7
+
## How to create:
8
+
9
+
Pass in **list of JSON data** into the prop parameter _**data**_, with each JSON entry containing the following parameters:
10
+
11
+
```JSON
12
+
{
13
+
"title": "The title to display (optional)",
14
+
"text": "The descriptive text (required)",
15
+
"link": "Link to redirect user to when they click the 'VIEW MORE' button (optional - button hidden when parameter not provided)"
16
+
}
17
+
```
18
+
### IMPORTANT NOTE:
19
+
20
+
Because of the way images are stored, **you also have to manually import the images into the parent component using TextWithImage** from the `static/img` folder and pass them into a `string[]` type variable in the same order as the corresponding JSON entries.
21
+
22
+
23
+
Additionally, you can change the layout to only display text on the **left** or on the **right** by passing either value into the prop parameter _**textPos**_. By default, this is set to **alternate** the text position between left and right.
24
+
25
+
## Notes:
26
+
27
+
1. Please don't use too many words in the title and description.
28
+
29
+
2. Responsive design for (mobile) devices under **500px** width.
30
+
31
+
3. Left and right border padding of the components is assumed to be done by the parent component for the mobile view.
0 commit comments