Skip to content

Commit

Permalink
Merge pull request #19 from AuNedelec/an/EPinType.Goal
Browse files Browse the repository at this point in the history
Add new EPinType.Goal
  • Loading branch information
JuditKaramazov authored Jun 26, 2024
2 parents b912692 + d793877 commit a2c71fa
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 2 deletions.
Binary file added public/images/markers/goal-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/markers/goal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/photos/default/goal-photo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/components/Map/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,10 @@ export const DEFAULT_FILTERS: IFilter[] = [
name: 'Missing',
type: 'missing',
checked: true
},
{
name: 'Goal',
type: 'goal',
checked: true
}
]
12 changes: 11 additions & 1 deletion src/data/places.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -301,5 +311,5 @@ export const PLACES: IPin[] = [
coordinates: [45.5256, 4.8743],
date: '2022-12-08',
photo: '/photos/JuditKaramazov/vienne-saint-maurice.jpg'
}
},
]
3 changes: 2 additions & 1 deletion src/lib/types/pin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ export enum EPinType {
Event = 'event',
Home = 'home',
Picture = 'picture',
Missing = 'missing'
Missing = 'missing',
Goal = 'goal'
}

export interface IPin {
Expand Down

0 comments on commit a2c71fa

Please sign in to comment.