mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
Название сайта вынесено в отдельную строку перевода (а как иначе мы напишем Ёly.by в белорусской версии?)
Исправлен косяк с неимпортнутыми шрифтами при доступе к переменной толстоты шрифта в стилях языковой панели
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import React, { PropTypes } from 'react';
|
||||
|
||||
import { FormattedMessage as Message } from 'react-intl';
|
||||
import { Link } from 'react-router';
|
||||
import classNames from 'classnames';
|
||||
|
||||
@@ -8,6 +9,8 @@ import PopupStack from 'components/ui/popup/PopupStack';
|
||||
|
||||
import styles from './root.scss';
|
||||
|
||||
import messages from './RootPage.intl.json';
|
||||
|
||||
function RootPage(props) {
|
||||
return (
|
||||
<div className={styles.root}>
|
||||
@@ -17,7 +20,7 @@ function RootPage(props) {
|
||||
<div className={styles.header}>
|
||||
<div className={styles.headerContent}>
|
||||
<Link to="/" className={styles.logo}>
|
||||
Ely.by
|
||||
<Message {...messages.siteName} />
|
||||
</Link>
|
||||
<div className={styles.userbar}>
|
||||
<Userbar {...props} onLogout={props.logout} />
|
||||
|
||||
Reference in New Issue
Block a user