|
|
|
@ -1,40 +1,24 @@
|
|
|
|
|
/* <--- Imports ---> */
|
|
|
|
|
import { Helmet } from "react-helmet"
|
|
|
|
|
|
|
|
|
|
import React from 'react';
|
|
|
|
|
import BottomBar from './BottomBar';
|
|
|
|
|
import SideContactBar from './SideContactBar';
|
|
|
|
|
import TopNavBar from './TopNavBar';
|
|
|
|
|
|
|
|
|
|
import React from 'react'
|
|
|
|
|
import BottomBar from './BottomBar'
|
|
|
|
|
import SideContactBar from './SideContactBar'
|
|
|
|
|
import TopNavBar from './TopNavBar'
|
|
|
|
|
|
|
|
|
|
/* <--- Resources ---> */
|
|
|
|
|
import '../resources/style.css'
|
|
|
|
|
|
|
|
|
|
import '../resources/style.css';
|
|
|
|
|
import favicon from '../resources/favicon.ico'
|
|
|
|
|
import logo192 from '../resources/logo192.png'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const Layout = ({ pageTitle, children }) => {
|
|
|
|
|
const Layout = ({ children }) => {
|
|
|
|
|
return (
|
|
|
|
|
<div className="Layout">
|
|
|
|
|
<Helmet>
|
|
|
|
|
<meta charSet="utf-8" />
|
|
|
|
|
<title>{pageTitle} - Studentská oborová rada IT PedF UK v Praze</title>
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
|
|
|
<meta name="theme-color" content="#000000" />
|
|
|
|
|
<link rel="icon" href={favicon}></link>
|
|
|
|
|
<link rel="apple-touch-icon" href={logo192} />
|
|
|
|
|
</Helmet>
|
|
|
|
|
|
|
|
|
|
<header>
|
|
|
|
|
<TopNavBar />
|
|
|
|
|
{/* ---TO DO: Banner--- */}
|
|
|
|
|
</header>
|
|
|
|
|
|
|
|
|
|
<div className="FeedWrap">
|
|
|
|
|
|
|
|
|
|
{children}
|
|
|
|
|
|
|
|
|
|
<SideContactBar />
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
@ -45,4 +29,5 @@ import logo192 from '../resources/logo192.png'
|
|
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default Layout
|
|
|
|
|