Skip to content

Conversation

@dianawieczorek
Copy link
Contributor

Added img to organizations. For now it's volontulo img -waiting for backend to change to this.organization img.

@dianawieczorek
Copy link
Contributor Author

#1070

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()) });
Copy link
Member

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?

Copy link
Contributor Author

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">
Copy link
Member

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.

Copy link
Contributor Author

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?

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.

2 participants