1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-05 00:43:53 +00:00

Add hu berlin requirement (#4500)

* add new requirement

* update demo copyright

* update sf-font

* optimize code

* improve variables naming
This commit is contained in:
杨顺强
2020-03-25 18:03:04 +08:00
committed by GitHub
parent c97e901a73
commit 011cb33fbb
16 changed files with 200 additions and 55 deletions

View File

@@ -0,0 +1,18 @@
import React from 'react';
import { siteRoot, gettext } from '../../utils/constants'
export default function Logout() {
const style = {
width: '32px',
height: '32px',
marginLeft: '8px',
color: '#bbb',
textDecoration: 'none'
};
const classname = "d-flex align-items-center justify-content-center"
return (
<a className={classname} style={style} href={`${siteRoot}accounts/logout/`} title={gettext('Logout')}>
<i className="sf3-font sf3-font-logout" style={{fontSize: '24px'}}></i>
</a>
)
}