Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service info style with tachyons! #149

Merged
merged 8 commits into from
Jun 8, 2017
Merged

Service info style with tachyons! #149

merged 8 commits into from
Jun 8, 2017

Conversation

MohamedOmarii
Copy link
Member

@MohamedOmarii MohamedOmarii commented Jun 7, 2017

relates to #104
screenshot from 2017-06-07 16-53-43
screenshot from 2017-06-07 16-53-52

@@ -11,7 +11,8 @@ module.exports = (req, res) => {
else {
res.render('serviceInfo', {
service: service,
latlng: coordinates
latlng: coordinates,
back: req.headers.referer
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can explain what this line do ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

req.headers.referer is the URL of the page before the page that the client is currently on. We send this to handlebars, and use the URL as the href in the anchor link of the back button.

opacity: 0.8;
}

.bg-liwan {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this after results page is merged !

@jbesraa jbesraa merged commit ce40dea into master Jun 8, 2017
@jbesraa jbesraa deleted the serviceInfoStyle branch June 8, 2017 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants