在Bulma / Angular 9中添加社交媒体共享按钮?

问题描述 投票:0回答:1

关于如何将社交媒体共享按钮合并到Bulma / Angular 9应用程序中,没有任何建议吗?我特别只是希望用户能够将我的网站上的内容共享到其他社交媒体网站(即Facebook,Twitter,LinkedIn等),我试图将其合并到我的页脚组件中,下面的代码:

footer.component.ts:

import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-footer',
  templateUrl: './footer.component.html',
  styleUrls: [
    './footer.component.scss'
  ]
})
export class FooterComponent implements OnInit {

  constructor() { }

  ngOnInit(): void {
  }

}

footer.component.html:

<footer class="footer">
    <p>Made with love. For further inquiries, please reach out via email: 
        <a href="mailto:[email protected]">[email protected].</a>
    </p>
</footer>

我愿意使用诸如FontAwesome等外部API。感谢您的帮助,谢谢。

angular footer bulma social-media wildwebdeveloper
1个回答
0
投票

检查此一项https://ngx-sharebuttons.netlify.app/#/share-buttons-component他们有容易遵循的步骤。

© www.soinside.com 2019 - 2024. All rights reserved.