diff --git a/public/images/markers/goal-image.png b/public/images/markers/goal-image.png new file mode 100644 index 0000000..f337553 Binary files /dev/null and b/public/images/markers/goal-image.png differ diff --git a/public/images/markers/goal.png b/public/images/markers/goal.png new file mode 100644 index 0000000..72b5f5a Binary files /dev/null and b/public/images/markers/goal.png differ diff --git a/public/photos/default/goal-photo.jpg b/public/photos/default/goal-photo.jpg new file mode 100644 index 0000000..e26cfbc Binary files /dev/null and b/public/photos/default/goal-photo.jpg differ diff --git a/src/components/Map/config.ts b/src/components/Map/config.ts index a384376..adeda2f 100644 --- a/src/components/Map/config.ts +++ b/src/components/Map/config.ts @@ -45,5 +45,10 @@ export const DEFAULT_FILTERS: IFilter[] = [ name: 'Missing', type: 'missing', checked: true + }, + { + name: 'Goal', + type: 'goal', + checked: true } ] diff --git a/src/data/places.ts b/src/data/places.ts index 478345a..d5e3ee4 100644 --- a/src/data/places.ts +++ b/src/data/places.ts @@ -143,6 +143,16 @@ export const PLACES: IPin[] = [ date: '2024-06-01', photo: '/photos/AuNedelec/palo_santo.jpg' }, + { + author: 'Auregan Nedelec', + username: 'AuNedelec', + type: EPinType.Goal, + city: 'Helsinki', + country: 'Finland', + coordinates: [60.1674881, 24.9427473], + date: '2024-06-26', + photo: '/photos/default/goal-photo.jpg' + }, { author: 'Auregan Nedelec', username: 'AuNedelec', @@ -301,5 +311,5 @@ export const PLACES: IPin[] = [ coordinates: [45.5256, 4.8743], date: '2022-12-08', photo: '/photos/JuditKaramazov/vienne-saint-maurice.jpg' - } + }, ] diff --git a/src/lib/types/pin.ts b/src/lib/types/pin.ts index d460f20..e313c4b 100644 --- a/src/lib/types/pin.ts +++ b/src/lib/types/pin.ts @@ -5,7 +5,8 @@ export enum EPinType { Event = 'event', Home = 'home', Picture = 'picture', - Missing = 'missing' + Missing = 'missing', + Goal = 'goal' } export interface IPin {