|
|
@ -1,6 +1,13 @@
|
|
|
|
|
|
|
|
/* <--- Imports ---> */
|
|
|
|
import React from "react"
|
|
|
|
import React from "react"
|
|
|
|
import { graphql } from "gatsby"
|
|
|
|
import { graphql } from "gatsby"
|
|
|
|
import Layout from '../statComponents/Layout';
|
|
|
|
import { Helmet } from "react-helmet"
|
|
|
|
|
|
|
|
import Layout from '../statComponents/Layout'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* <--- Resources ---> */
|
|
|
|
|
|
|
|
import favicon from '../resources/favicon.ico'
|
|
|
|
|
|
|
|
import logo192 from '../resources/logo192.png'
|
|
|
|
|
|
|
|
|
|
|
|
export default function Template({
|
|
|
|
export default function Template({
|
|
|
|
data, // this prop will be injected by the GraphQL query below.
|
|
|
|
data, // this prop will be injected by the GraphQL query below.
|
|
|
@ -8,7 +15,15 @@ export default function Template({
|
|
|
|
const { markdownRemark } = data // data.markdownRemark holds your post data
|
|
|
|
const { markdownRemark } = data // data.markdownRemark holds your post data
|
|
|
|
const { frontmatter, html } = markdownRemark
|
|
|
|
const { frontmatter, html } = markdownRemark
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<Layout pageTitle={frontmatter.pageTitle}>
|
|
|
|
<Layout>
|
|
|
|
|
|
|
|
<Helmet htmlAttributes={{ lang: 'cs',}}>
|
|
|
|
|
|
|
|
<meta charSet="utf-8" />
|
|
|
|
|
|
|
|
<title>{frontmatter.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 rel="apple-touch-icon" href={logo192} />
|
|
|
|
|
|
|
|
</Helmet>
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
className="mainContent"
|
|
|
|
className="mainContent"
|
|
|
|
dangerouslySetInnerHTML={{ __html: html }}
|
|
|
|
dangerouslySetInnerHTML={{ __html: html }}
|
|
|
|