diff --git a/src/markdown-pages/Doucovani.md b/src/markdown-pages/Doucovani.md new file mode 100644 index 0000000..f37a96d --- /dev/null +++ b/src/markdown-pages/Doucovani.md @@ -0,0 +1,20 @@ +--- +slug: "/Doucovani" +pageTitle: "Doučování" +--- + +## Doučování + +*Doučování Lorem Ipsum...* + +### Why do we use it? + +*It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).* + +### Where does it come from? + +*Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.* + +### Where can I get some? + +*There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.* \ No newline at end of file diff --git a/src/markdown-pages/Home.md b/src/markdown-pages/Home.md new file mode 100644 index 0000000..af98a5b --- /dev/null +++ b/src/markdown-pages/Home.md @@ -0,0 +1,20 @@ +--- +slug: "/" +pageTitle: "Aktuálně" +--- + +## Aktuálně + +*Aktuálně Lorem Ipsum...* + +### Why do we use it? + +*It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).* + +### Where does it come from? + +*Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.* + +### Where can I get some? + +*There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.* \ No newline at end of file diff --git a/src/markdown-pages/Materialy.md b/src/markdown-pages/Materialy.md new file mode 100644 index 0000000..7f2d902 --- /dev/null +++ b/src/markdown-pages/Materialy.md @@ -0,0 +1,20 @@ +--- +slug: "/Materialy" +pageTitle: "Studijní materiály" +--- + +## Studijní materiály + +*Studijní materiály... Lorem Ipsum* + +### Why do we use it? + +*It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).* + +### Where does it come from? + +*Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.* + +### Where can I get some? + +*There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.* \ No newline at end of file diff --git a/src/markdown-pages/O-Nas.md b/src/markdown-pages/O-Nas.md new file mode 100644 index 0000000..bc1b320 --- /dev/null +++ b/src/markdown-pages/O-Nas.md @@ -0,0 +1,20 @@ +--- +slug: "/O-Nas" +pageTitle: "O Radě" +--- + +## O Radě + +*O Radě Lorem Ipsum...* + +### Why do we use it? + +*It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).* + +### Where does it come from? + +*Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.* + +### Where can I get some? + +*There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.* \ No newline at end of file diff --git a/src/markdown-pages/O-Seznamovaku.md b/src/markdown-pages/O-Seznamovaku.md new file mode 100644 index 0000000..ecde94b --- /dev/null +++ b/src/markdown-pages/O-Seznamovaku.md @@ -0,0 +1,20 @@ +--- +slug: "/O-Seznamovaku" +pageTitle: "Seznamováky" +--- + +## Seznamováky + +*Seznamováky Lorem Ipsum...* + +### Why do we use it? + +*It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).* + +### Where does it come from? + +*Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.* + +### Where can I get some? + +*There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.* \ No newline at end of file diff --git a/src/markdown-pages/Vecirky.md b/src/markdown-pages/Vecirky.md new file mode 100644 index 0000000..25052de --- /dev/null +++ b/src/markdown-pages/Vecirky.md @@ -0,0 +1,20 @@ +--- +slug: "/Vecirky" +pageTitle: "Večírky" +--- + +## Večírky + +*Večírky Lorem Ipsum...* + +### Why do we use it? + +*It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).* + +### Where does it come from? + +*Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.* + +### Where can I get some? + +*There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.* \ No newline at end of file diff --git a/src/pages/{MarkdownRemark.frontmatter__slug}.js b/src/pages/{MarkdownRemark.frontmatter__slug}.js new file mode 100644 index 0000000..feb8abc --- /dev/null +++ b/src/pages/{MarkdownRemark.frontmatter__slug}.js @@ -0,0 +1,30 @@ +import React from "react" +import { graphql } from "gatsby" +import Layout from '../statComponents/Layout'; + +export default function Template({ + data, // this prop will be injected by the GraphQL query below. +}) { + const { markdownRemark } = data // data.markdownRemark holds your post data + const { frontmatter, html } = markdownRemark + return ( + +
+ + ) +} + +export const pageQuery = graphql` + query($id: String!) { + markdownRemark(id: { eq: $id }) { + html + frontmatter { + slug + pageTitle + } + } + } +` \ No newline at end of file diff --git a/src/resources/Logo-KITTV.png b/src/resources/Logo-KITTV.png new file mode 100644 index 0000000..7fa5312 Binary files /dev/null and b/src/resources/Logo-KITTV.png differ diff --git a/src/resources/UKZnakTransparent.png b/src/resources/UKZnakTransparent.png new file mode 100644 index 0000000..3e5a711 Binary files /dev/null and b/src/resources/UKZnakTransparent.png differ diff --git a/src/resources/UKZnakTransparentHover.png b/src/resources/UKZnakTransparentHover.png new file mode 100644 index 0000000..4c679c6 Binary files /dev/null and b/src/resources/UKZnakTransparentHover.png differ diff --git a/src/resources/favicon.ico b/src/resources/favicon.ico new file mode 100644 index 0000000..19d3a71 Binary files /dev/null and b/src/resources/favicon.ico differ diff --git a/src/resources/logo192.png b/src/resources/logo192.png new file mode 100644 index 0000000..0453e7f Binary files /dev/null and b/src/resources/logo192.png differ diff --git a/src/resources/logoSORIT.svg b/src/resources/logoSORIT.svg new file mode 100644 index 0000000..046171e --- /dev/null +++ b/src/resources/logoSORIT.svg @@ -0,0 +1,362 @@ + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/resources/style.css b/src/resources/style.css new file mode 100644 index 0000000..9cc43fd --- /dev/null +++ b/src/resources/style.css @@ -0,0 +1,247 @@ +body { + margin: auto; + border: none; + + text-align: center; + + min-height: calc(100% - 200px); + max-width: 1280px; + + color: #4b423c; + background-color: #e9e8e9; + + font-family: "din", -apple-system, system, sans-serif; + font-size: 0.8em; + font-weight: 200; + + line-height: 1.6; +} + +a { + text-decoration: none; + color: #4b423c; +} + +.sleeping { + display: none; +} + +/* <--- Header ---> */ + +header{ + text-decoration: none; + text-transform: uppercase; + line-height: 60px; +} + +.topBar{ + display: flex; + flex-direction: row; +} + +ul.shapeShiftBar li{ + line-height: 60px; + display: inline-block; + position: relative; + padding-inline: 2em; +} + +ul.shapeShiftBar li:hover{ + background-color:#FFA500; + color:#fff; + transform: scale(1.1); +} + +ul.shapeShiftBar li:hover > a{ + color:#fff; +} + +.dropdownContent{ + display: none; + position:absolute; + left: 0px; +} + +.dropdownContent li{ + background-color:#FFA500; + width: 100%; +} + +.dropdown:hover .dropdownContent { + display: block; +} + +.mobileBar { + display: none; + line-height: 60px; + position: relative; + padding-inline: 2em; +} + +ul.mobileBar li:hover > a{ + color:#fff; +} + +/* <--- Headlines ---> */ + +h1 { + font-size: 1.9em; + margin: auto; +} + +h2 { + border-bottom: 1px dashed; + font-size: 1.7em; + margin: 2% 0 0 0; +} + +h3 { + font-size: 1.2em; + margin: 2% 0 2% 0; +} + +/* <--- Unordered List, List items ---> */ + +ul { + line-height: 1.6em; + list-style: none; + text-align: left; + padding: 0; +} + + +/* <--- Main Wrap ---> */ + +.mainContent { + float: left; + margin: 2% 0 2% 0; + width: 64%; + text-align: left; + font-size: medium; + padding: 2%; +} + + +aside { + float: right; + width: 28%; + margin: 2% 0 2% 0; + text-align: left; + font-size: medium; + padding: 2%; +} + +/* <--- Footer ---> */ + +footer { + line-height: 1.2em; + clear: both; +} + +.bottomBar{ + display: flex; + flex-direction: row; + justify-content: space-between; +} + +.bottomNav{ + border-left: 1px solid #4b423c; + padding-left: 40px; +} + +.pri{ + padding-right: 40px; +} + + + /* <--- Misc ---> */ + +a[href^="mailto"] { + text-transform: lowercase; +} + +.bottomLink{ + text-transform: uppercase; +} + +.bottomLink:hover{ + color: #FFA500; +} + + /* <--- Show logo ---> */ + +.card .img-top { + display: none; +} +.card:hover .img-top { + display: inline; +} + +.card:hover .img-bot { + display: none; +} + + /* <--- Spin logo ---> */ + +@media (prefers-reduced-motion: no-preference) { + .SpinLogo:hover { + animation: SpinLogo-spin infinite 20s linear; + } +} + +@keyframes SpinLogo-spin { + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +} + + + + /* <--- Responsive ---> */ + +@media only screen and (max-width: 830px) { + + .mainContent{ + width: 100%; + } + + aside { + float: left; + } + + .shapeShiftBar {display: none;} + .pri {display: none;} + .logoCuni {display: none;} + + .topBar {justify-content: space-between;} + .mobileBar {display: inline-block;} + + + .dropdownContent{ + display: none; + position: fixed; + width: 100%; + line-height: 60px; + text-align: center; + } + + .dropdownContent li{ + background-color:#FFA500; + width: 100%; + } + + .sleeping { + display: block; + } + +} + +@media print { + .mainContent {background-color: transparent; padding: 0; margin: 0;} + .topNavBar {display: none;} + aside {display:none;} + .bottomBar {display: none;} +} \ No newline at end of file diff --git a/src/statComponents/BottomBar.js b/src/statComponents/BottomBar.js new file mode 100644 index 0000000..62ea14e --- /dev/null +++ b/src/statComponents/BottomBar.js @@ -0,0 +1,66 @@ +import { Link } from 'gatsby'; +import React from 'react'; +import logoSORIT from '../resources/logoSORIT.svg'; +import znakUK from '../resources/UKZnakTransparent.png'; +import znakUKHover from '../resources/UKZnakTransparentHover.png'; + +const BottomBar = () => { + return ( + + ); +} + +export default BottomBar; \ No newline at end of file diff --git a/src/statComponents/Layout.js b/src/statComponents/Layout.js new file mode 100644 index 0000000..57ae7a7 --- /dev/null +++ b/src/statComponents/Layout.js @@ -0,0 +1,48 @@ +/* <--- Imports ---> */ +import { Helmet } from "react-helmet" + +import React from 'react'; +import BottomBar from './BottomBar'; +import SideContactBar from './SideContactBar'; +import TopNavBar from './TopNavBar'; + + +/* <--- Resources ---> */ + +import '../resources/style.css'; +import favicon from '../resources/favicon.ico' +import logo192 from '../resources/logo192.png' + + + const Layout = ({ pageTitle, children }) => { + return ( +
+ + + {pageTitle} - Studentská oborová rada IT PedF UK v Praze + + + + + + +
+ + {/* ---TO DO: Banner--- */} +
+ +
+ + {children} + + +
+ +
+
+ +
+
+ ) + } + export default Layout diff --git a/src/statComponents/SideContactBar.js b/src/statComponents/SideContactBar.js new file mode 100644 index 0000000..d3fe1fb --- /dev/null +++ b/src/statComponents/SideContactBar.js @@ -0,0 +1,44 @@ +import React from 'react'; + +const SideContactBar = () => { + return ( + + ); +} + +export default SideContactBar; \ No newline at end of file diff --git a/src/statComponents/TopNavBar.js b/src/statComponents/TopNavBar.js new file mode 100644 index 0000000..c22dbe1 --- /dev/null +++ b/src/statComponents/TopNavBar.js @@ -0,0 +1,59 @@ +import React from 'react'; +import { Link } from 'gatsby'; +import logoSORIT from '../resources/logoSORIT.svg'; + + +const TopNavBar = () => { + return ( +
+
    +
  • + Logo Oborové rady IT +
  • +
  • +
      +
    • +

      Akce

      +
        +
      • Seznamováky

      • +
      • Večírky

      • +
      +
    • +
    • +

      Studijní materiály

      +
    • +
    • +

      Doučování

      +
    • +
    • +

      O Radě

      +
    • + +
    +
  • +
  • +
      +
    • +

      + + + + + +

      +
        +
      • Seznamováky

      • +
      • Večírky

      • +
      • Studijní materiály

      • +
      • Doučování

      • +
      • O Radě

      • +
      +
    • +
    +
  • +
+
+ ); +} + +export default TopNavBar; \ No newline at end of file