-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conversation
@@ -11,7 +11,8 @@ module.exports = (req, res) => { | |||
else { | |||
res.render('serviceInfo', { | |||
service: service, | |||
latlng: coordinates | |||
latlng: coordinates, | |||
back: req.headers.referer |
There was a problem hiding this comment.
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 ?
There was a problem hiding this comment.
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.
public/css/main.css
Outdated
opacity: 0.8; | ||
} | ||
|
||
.bg-liwan { |
There was a problem hiding this comment.
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 !
relates to #104