Adding opengraph tags. Fixes #5

This commit is contained in:
Dessalines 2020-09-11 13:09:21 -05:00
parent d909ec8096
commit 89d15c9d09
21 changed files with 246 additions and 165 deletions

View file

@ -1,7 +1,7 @@
import { Component } from 'inferno';
import { Helmet } from 'inferno-helmet';
import { Subscription } from 'rxjs';
import { PrivateMessageForm } from './private-message-form';
import { HtmlTags } from './html-tags';
import { UserService, WebSocketService } from '../services';
import {
Site,
@ -102,7 +102,10 @@ export class CreatePrivateMessage extends Component<
render() {
return (
<div class="container">
<Helmet title={this.documentTitle} />
<HtmlTags
title={this.documentTitle}
path={this.context.router.route.match.url}
/>
{this.state.loading ? (
<h5>
<svg class="icon icon-spinner spin">