add Block component; copyright refactoring
This commit is contained in:
1 parent
19b54c56e4
commit
01eaffaf14
4 files changed
+46
-27
No files matched your search
@@ -1,5 +1,6 @@
|
||||
import { Copyright } from '../Copyright'
|
||||
import { Author } from './Author'
|
||||
import { Block, Spacer } from '../Block'
|
||||
|
||||
const mailto = email => `mailto:${email}`
|
||||
|
||||
@@ -23,12 +24,18 @@ export const Footer: React.FC<IFooterProps> = props => (
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="copyright">
|
||||
<Block direction={'horizontal'} style={{
|
||||
padding: '1.5em 1em 0.25em',
|
||||
}}>
|
||||
<Copyright />
|
||||
|
||||
{!props.showAuthor ? null : (
|
||||
<Author />
|
||||
<>
|
||||
<Spacer />
|
||||
<Author />
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
</footer>
|
||||
</Block>
|
||||
</footer >
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user