Mirror of PeerTube
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

about-peertube-contributors.component.ts 634B

12345678910111213141516171819
  1. import { Component, OnInit } from '@angular/core'
  2. import { MarkdownService } from '@app/shared/renderer'
  3. @Component({
  4. selector: 'my-about-peertube-contributors',
  5. templateUrl: './about-peertube-contributors.component.html',
  6. styleUrls: [ './about-peertube-contributors.component.scss' ]
  7. })
  8. export class AboutPeertubeContributorsComponent implements OnInit {
  9. creditsHtml: string
  10. private markdown = require('raw-loader!../../../../../CREDITS.md')
  11. constructor (private markdownService: MarkdownService) { }
  12. async ngOnInit () {
  13. this.creditsHtml = await this.markdownService.completeMarkdownToHTML(this.markdown)
  14. }
  15. }