diff --git a/package.json b/package.json index 01db3f6852..c572cd50ca 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "one-army-world", - "version": "0.5.0", + "version": "0.5.1", "private": true, "dependencies": { "@babel/core": "7.2.2", diff --git a/src/pages/Maps/Content/View/Popup.tsx b/src/pages/Maps/Content/View/Popup.tsx index a40f20a4aa..464b74548b 100644 --- a/src/pages/Maps/Content/View/Popup.tsx +++ b/src/pages/Maps/Content/View/Popup.tsx @@ -7,6 +7,8 @@ import { distanceInWords } from 'date-fns' import { IMapPin, IMapPinDetail } from 'src/models/maps.models' import './popup.css' +import { Link } from 'src/components/Links' +import Text from 'src/components/Text' interface IProps { pinDetail?: IMapPin | IMapPinDetail @@ -16,10 +18,11 @@ interface IProps { const HeroImage = styled.img` width: 285px; height: 175px; + object-fit: cover; ` const ProfileImage = styled.img` - width 50px; + width: 50px; height: 50px; border-radius: 50%; margin-top: -25px; @@ -118,12 +121,14 @@ export class Popup extends React.Component { - {name} + + {name} + {pinType.icon} {pinType.displayName} - {shortDescription} + {shortDescription} last active {distanceInWords(lastActive, new Date())} ago diff --git a/src/pages/PageList.tsx b/src/pages/PageList.tsx index 8369fc361f..3dd88b263b 100644 --- a/src/pages/PageList.tsx +++ b/src/pages/PageList.tsx @@ -70,7 +70,7 @@ const admin = { // community pages (various pages hidden on production build) const devCommunityPages = [howTo, events, maps] -const prodCommunityPages = [howTo, events] +const prodCommunityPages = [howTo, events, maps] const communityPages = SITE === 'production' ? prodCommunityPages : devCommunityPages // community 'more' dropdown pages (various pages hidden on production build)