-
Notifications
You must be signed in to change notification settings - Fork 44
[1070] Add img to organization #1071
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
base: master
Are you sure you want to change the base?
[1070] Add img to organization #1071
Conversation
frontend/src/app/metatags.service.ts
Outdated
| this.metaService.updateTag({ property: 'og:description', content: 'Volontulo. Portal dla wolontariuszy'}); | ||
| this.metaService.updateTag({ property: 'og:image', content: this.getCanonicalUrl('/assets/img/banner/volontulo_baner.png') }); | ||
| this.metaService.updateTag({ property: 'fb:app_id', content: environment.fbAppID }); | ||
| this.metaService.updateTag({ name: 'og:url', content: this.getCanonicalUrl(this.locationService.path()) }); |
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.
These metatags should have property defined, not name (see: https://developers.facebook.com/docs/sharing/webmasters/). It was fixed in #1061. Does here merge went wrong?
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.
changed
| @@ -1,4 +1,8 @@ | |||
| <div class="container"> | |||
| <div class="card bg-light mb-3 text-white"> | |||
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.
The whole point of this change was to introduce solution, that will work without any changes when backend API will be developed. You can use loadDefaultImage the way how @juliaanholcer developed it for offerrs or suggest your own solution, but it should be already here, when backend will arrive.
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.
loadDefaultImage is only for offer, should I make other function for organization?
Added img to organizations. For now it's volontulo img -waiting for backend to change to this.organization img.