Skip to content

Commit b5277ef

Browse files
committed
Added Common Eland markers and data
1 parent 0f87943 commit b5277ef

File tree

21 files changed

+58
-14
lines changed

21 files changed

+58
-14
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { forwardRef } from 'react';
2+
import type { ForwardedRef } from 'react';
3+
import { VectorIcon } from '../VectorIcon';
4+
import type { IconProps } from '../types';
5+
import CommonElandSvg from './assets/CommonEland.svg';
6+
7+
export const CommonElandIcon = forwardRef(
8+
(props: IconProps, ref: ForwardedRef<HTMLDivElement>) => (
9+
<VectorIcon component={CommonElandSvg} {...props} ref={ref} />
10+
),
11+
);
12+
13+
CommonElandIcon.displayName = 'CommonElandIcon';
Lines changed: 4 additions & 0 deletions
Loading

src/components/Icon/animals/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { CommonElandIcon } from 'components/Icon/animals/CommonElandIcon';
2+
13
export * from './AlaskaMooseIcon';
24
export * from './AmericanBadgerIcon';
35
export * from './AmericanBlackBearIcon';
@@ -9,6 +11,7 @@ export * from './BlueWildebeestIcon';
911
export * from './BrownBearIcon';
1012
export * from './CapeBuffaloIcon';
1113
export * from './ChamoisIcon';
14+
export * from './CommonElandIcon';
1215
export * from './CommonWarthogIcon';
1316
export * from './EgyptianGooseIcon';
1417
export * from './EurasianBadgerIcon';

src/config/africa/animals.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/config/animals/tier6.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,26 @@ export default [
9797
tier: 6,
9898
type: 'animal:cape buffalo',
9999
},
100+
{
101+
description: 'ANIMAL:COMMONELAND_DESC',
102+
habitatPrimary: ['grasslands and forests', 'savanna'],
103+
habitatSecondary: ['highlands'],
104+
heading: 'ANIMAL:COMMONELAND',
105+
hitEnergy: [3450, 6215],
106+
latin: 'ANIMAL:COMMONELAND_LATIN',
107+
lifeCycle: [
108+
{ activity: 'sleeping', time: 0 },
109+
{ activity: 'feeding', time: 5 },
110+
{ activity: 'drinking', time: 9 },
111+
{ activity: 'sleeping', time: 13 },
112+
{ activity: 'feeding', time: 17 },
113+
{ activity: 'drinking', time: 22 },
114+
],
115+
maps: ['africa'],
116+
slug: 'common-eland',
117+
tier: 6,
118+
type: 'animal:common eland',
119+
},
100120
{
101121
description: 'ANIMAL:EURASIAN_MOOSE_DESCRIPTION',
102122
habitatPrimary: ['swamps'],

src/config/icons.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export const iconComponentMap = new Map<
2020
['animal:brown bear', icons.BrownBearIcon],
2121
['animal:cape buffalo', icons.CapeBuffaloIcon],
2222
['animal:chamois', icons.ChamoisIcon],
23+
['animal:common eland', icons.CommonElandIcon],
2324
['animal:common warthog', icons.CommonWarthogIcon],
2425
['animal:egyptian goose', icons.EgyptianGooseIcon],
2526
['animal:eurasian badger', icons.EurasianBadgerIcon],

src/config/markers.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export const animalMarkerTypes: Array<AnimalMarkerType> = [
1919
'animal:brown bear',
2020
'animal:cape buffalo',
2121
'animal:chamois',
22+
'animal:common eland',
2223
'animal:common warthog',
2324
'animal:egyptian goose',
2425
'animal:eurasian badger',

src/locales/cs/woth.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/locales/de/woth.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/locales/en/woth.json

Lines changed: 2 additions & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)