mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
Базовый лейаут
This commit is contained in:
29
src/pages/root/RootPage.jsx
Normal file
29
src/pages/root/RootPage.jsx
Normal file
@@ -0,0 +1,29 @@
|
||||
import React from 'react';
|
||||
|
||||
import { Link } from 'react-router';
|
||||
|
||||
import UserBar from 'components/userBar/UserBar';
|
||||
|
||||
import styles from './root.scss';
|
||||
|
||||
export default function RootPage(props) {
|
||||
return (
|
||||
<div className={styles.root}>
|
||||
<div className={styles.header}>
|
||||
<div className={styles.headerContent}>
|
||||
<div className={styles.logo}>
|
||||
<Link to="/">
|
||||
Ely.by
|
||||
</Link>
|
||||
</div>
|
||||
<div className={styles.userbar}>
|
||||
<UserBar />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className={styles.body}>
|
||||
{props.children}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user