added suggested changes from code review

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2020-05-15 19:36:49 +02:00 committed by Philip Molares
parent 0eb80dbf41
commit 88d7524ec5
3 changed files with 2 additions and 6 deletions

View file

@ -1,3 +0,0 @@
footer {
color: rgba(255, 255, 255, .5);
}

View file

@ -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/>

View file

@ -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>