Author component extraction

This commit is contained in:
tmshv committed 2020-02-18 14:32:50 +03:00
1 parent 5b19a6a359
commit add6b15265
2 files changed
+9 -8

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
export const Author: React.FC = () => (
<span>
Разработка и поддержка сайта —
<a href="http://tmshv.ru?utm_source=artshburg&utm_medium=developer&utm_campaign=tmshv_ru">
www.tmshv.ru
</a>
</span>
)
+1 -8
View File
@@ -1,4 +1,5 @@
import { Copyright } from '../Copyright'
import { Author } from './Author'
const mailto = email => `mailto:${email}`
@@ -31,11 +32,3 @@ export const Footer: React.FC<IFooterProps> = props => (
</footer>
)
const Author = () => (
<span>
Разработка и поддержка сайта —
<a href="http://tmshv.ru?utm_source=artshburg&utm_medium=developer&utm_campaign=tmshv_ru">
www.tmshv.ru
</a>
</span>
)