mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 01:36:29 -05:00
added suggested changes from code review
Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
0eb80dbf41
commit
88d7524ec5
3 changed files with 2 additions and 6 deletions
|
@ -1,3 +0,0 @@
|
||||||
footer {
|
|
||||||
color: rgba(255, 255, 255, .5);
|
|
||||||
}
|
|
|
@ -2,11 +2,10 @@ import React from "react";
|
||||||
import {LanguagePicker} from "./language-picker";
|
import {LanguagePicker} from "./language-picker";
|
||||||
import {PoweredByLinks} from "./powered-by-links";
|
import {PoweredByLinks} from "./powered-by-links";
|
||||||
import {SocialLink} from "./social-links";
|
import {SocialLink} from "./social-links";
|
||||||
import "./footer.scss";
|
|
||||||
|
|
||||||
export const Footer: React.FC = () => {
|
export const Footer: React.FC = () => {
|
||||||
return (
|
return (
|
||||||
<footer>
|
<footer className="text-white-50 small">
|
||||||
<LanguagePicker/>
|
<LanguagePicker/>
|
||||||
<PoweredByLinks/>
|
<PoweredByLinks/>
|
||||||
<SocialLink/>
|
<SocialLink/>
|
||||||
|
|
|
@ -11,7 +11,7 @@ const LanguagePicker: React.FC = () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<select className="ui-locale" value={i18n.language} onChange={onChangeLang}>
|
<select className="mb-2" value={i18n.language} onChange={onChangeLang}>
|
||||||
<option value="en">English</option>
|
<option value="en">English</option>
|
||||||
<option value="zh-CN">简体中文</option>
|
<option value="zh-CN">简体中文</option>
|
||||||
<option value="zh-TW">繁體中文</option>
|
<option value="zh-TW">繁體中文</option>
|
||||||
|
|
Loading…
Reference in a new issue