1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 09:23:13 +01:00
onion/js/components/eol.js

22 lines
495 B
JavaScript

'use strict';
import React from 'react';
import { getLangText } from '../utils/lang_utils';
import { setDocumentTitle } from '../utils/dom_utils';
const EndOfLife = () =>{
setDocumentTitle(getLangText('EOL Title'));
return (
<div className="ascribe-eol-wrapper">
<h3>{getLangText('EOL Title')}</h3>
<p>{getLangText('EOL Text')} <a href="https://www.ascribe.io">{getLangText('EOL Action')}</a></p>
</div>
);
};
export default EndOfLife;