aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+about/about-peertube/about-peertube-contributors.component.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-09-05 15:39:52 +0200
committerChocobozzz <me@florianbigard.com>2019-09-05 15:40:09 +0200
commit1eb23e12f757dc4e9a6161b1b933f35a761755c3 (patch)
tree1166c2d01d9aa2385c0049a4ae4556249ed1aeb5 /client/src/app/+about/about-peertube/about-peertube-contributors.component.ts
parent5819e694ba238b5e4ee97347c6cf5ee7a82725b5 (diff)
downloadPeerTube-1eb23e12f757dc4e9a6161b1b933f35a761755c3.tar.gz
PeerTube-1eb23e12f757dc4e9a6161b1b933f35a761755c3.tar.zst
PeerTube-1eb23e12f757dc4e9a6161b1b933f35a761755c3.zip
Add contributors in about peertube page
Diffstat (limited to 'client/src/app/+about/about-peertube/about-peertube-contributors.component.ts')
-rw-r--r--client/src/app/+about/about-peertube/about-peertube-contributors.component.ts19
1 files changed, 19 insertions, 0 deletions
diff --git a/client/src/app/+about/about-peertube/about-peertube-contributors.component.ts b/client/src/app/+about/about-peertube/about-peertube-contributors.component.ts
new file mode 100644
index 000000000..fa2c0daa0
--- /dev/null
+++ b/client/src/app/+about/about-peertube/about-peertube-contributors.component.ts
@@ -0,0 +1,19 @@
1import { Component, OnInit } from '@angular/core'
2import { MarkdownService } from '@app/shared/renderer'
3
4@Component({
5 selector: 'my-about-peertube-contributors',
6 templateUrl: './about-peertube-contributors.component.html',
7 styleUrls: [ './about-peertube-contributors.component.scss' ]
8})
9export class AboutPeertubeContributorsComponent implements OnInit {
10 creditsHtml: string
11
12 private markdown = require('raw-loader!../../../../../CREDITS.md')
13
14 constructor (private markdownService: MarkdownService) { }
15
16 async ngOnInit () {
17 this.creditsHtml = await this.markdownService.completeMarkdownToHTML(this.markdown)
18 }
19}