-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from elite-grub/boxtext
Implement MVP for Map Modal view
- Loading branch information
Showing
16 changed files
with
363 additions
and
83 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import React from 'react'; | ||
import { ModalStyle, CloseStyle } from './style.js'; | ||
|
||
class MapModal extends React.Component { | ||
constructor(props) { | ||
super(props); | ||
this.state = { | ||
|
||
}; | ||
} | ||
|
||
render() { | ||
return ( | ||
|
||
<ModalStyle style={{ display: this.props.toggleMap }}> | ||
<div id="myModal" className="modal"> | ||
|
||
<CloseStyle className="close"> | ||
<a onClick={this.props.closeClick}> | ||
Close × | ||
</a> | ||
</CloseStyle> | ||
<div className="modal-content"> | ||
<img src="https://s3-us-west-1.amazonaws.com/placeholders-kt/mapModal.png" alt="Map Placeholder" height="100%" width="100%" /> | ||
</div> | ||
</div> | ||
</ModalStyle> | ||
); | ||
} | ||
} | ||
|
||
export default MapModal; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
import styled from 'styled-components'; | ||
import { Directions } from 'styled-icons/material/Directions'; | ||
import { LocationOn } from 'styled-icons/material/LocationOn'; | ||
import { Phone } from 'styled-icons/material/Phone'; | ||
import { LinkExternal } from 'styled-icons/boxicons-regular/LinkExternal'; | ||
import { CalendarEvent } from 'styled-icons/boxicons-regular/CalendarEvent'; | ||
import { PhoneIphone } from 'styled-icons/material/PhoneIphone'; | ||
import { Edit } from 'styled-icons/material/Edit'; | ||
|
||
// ICON STYLES | ||
export const GetDirections = styled(Directions)` | ||
color: grey; | ||
`; | ||
|
||
export const GetLocation = styled(LocationOn)` | ||
color: grey; | ||
`; | ||
|
||
export const GetPhone = styled(Phone)` | ||
color: grey; | ||
`; | ||
|
||
export const GetLink = styled(LinkExternal)` | ||
color: grey; | ||
`; | ||
|
||
export const GetCalendar = styled(CalendarEvent)` | ||
color: grey; | ||
`; | ||
|
||
export const GetIphone = styled(PhoneIphone)` | ||
color: grey; | ||
`; | ||
|
||
export const GetEdit = styled(Edit)` | ||
color: grey; | ||
`; | ||
|
||
export const Border = styled.div` | ||
padding: 5px; | ||
background: #fff; | ||
border: 1px solid #ccc; | ||
width: 300px; | ||
height: 353px; | ||
`; | ||
|
||
export const BlueLinks = styled.div` | ||
color: #0073bb; | ||
`; | ||
|
||
export const Font = styled.div` | ||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
`; | ||
|
||
/* The Modal (background) */ | ||
export const ModalStyle = styled.div` | ||
position: fixed; | ||
z-index: 1; | ||
left: 0; | ||
top: 0; | ||
width: 100%; | ||
height: 100%; | ||
overflow: none; | ||
background-color: rgb(0,0,0); | ||
background-color: rgba(0,0,0,0.8); | ||
`; | ||
|
||
/* The Close Button */ | ||
export const CloseStyle = styled.div` | ||
color: white; | ||
font-size: 15px; | ||
font-weight: normal; | ||
padding: .05px; | ||
`; |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.