Skip to content

Commit

Permalink
add logo and hero
Browse files Browse the repository at this point in the history
  • Loading branch information
coolya authored Nov 29, 2020
1 parent d6de4ad commit 567b54e
Show file tree
Hide file tree
Showing 13 changed files with 405 additions and 11 deletions.
2 changes: 1 addition & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ title = "Heavy Meta TV"

# Hero section (from here on is for icon theme)
[params.hero]
img = "images/hero_bg.jpg"
img = "images/hero.jpg"
title = "Tutorials for JetBrains Meta Programming System"
description = "Comprehensive tutorials and information about how to build and design your langauges."

Expand Down
2 changes: 0 additions & 2 deletions content/about.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

# About

Heavy Meta TV hosts an in depth tutorial for JetBrains Meta Programming System (MPS) of about 20 hours. The tutorials
were filmed as part of a series of live streams in 2018/2019. Since then MPS hasn't changed fundamentally so most of the
content is still up to date. The series starts with a general introduction into modeling / language engineering and a
Expand Down
11 changes: 10 additions & 1 deletion layouts/_default/episode.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div id="fh5co-episode" data-section="episodes-{{.Params.id}}">
<div id="fh5co-episode-{{.Params.id}}" data-section="episodes-{{.Params.id}}" class="episode">
<div class="container">
<div class="col-md-6 col-md-offset-3 text-center fh5co-heading">
<h2>{{ .Title}} </h2>
Expand Down Expand Up @@ -44,5 +44,14 @@ <h2>{{ .Title}} </h2>
</div>
{{ end }}

<div class="col-md-12 interact">
<a class="edit" target="_blank"
href="https://github.com/coolya/heavymeta.tv/edit/master/content/episodes/{{ .Params.id }}.md"><img
src="/images/edit.svg" alt="edit this episode on github" /> </a>
<a class="feedback" target="_blank"
href="https://github.com/coolya/heavymeta.tv/issues/new?assignees=&labels=feedback&template=episode-feedback.md&title=Episode%3A+{{.Params.id }}"><img
src="/images/warning.svg" alt="feedback to this episode on github" /></a>
</div>
</div>

</div> <!-- END fh5co-services -->
3 changes: 1 addition & 2 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
</head>
<body>

<!-- Loader -->
<div class="fh5co-loader"></div>

<div class="fh5co-page">
<div id="fh5co-container">

Expand Down
1 change: 1 addition & 0 deletions layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,4 @@
<link rel="stylesheet" href="css/bootstrap.css">
<!-- Theme style -->
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/additional.css">
13 changes: 13 additions & 0 deletions layouts/partials/hero.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<div id="fh5co-home" class="js-fullheight-home" data-section="home" style="background-image: url({{ .Site.Params.hero.img }});" data-stellar-background-ratio="0.5">
<div class="container">
<div class="col-md-6">
<div class="js-fullheight-home fh5co-copy">
<div class="js-fullheight-home fh5co-copy-inner">
<img src="/images/logo.svg" />
<h1>{{ with .Site.Params.hero.title }}{{ . | markdownify }}{{ end }}</h1>
<h2>{{ with .Site.Params.hero.description }}{{ . | markdownify }}{{ end }}</h2>
</div>
</div>
</div>
</div>
</div>
11 changes: 6 additions & 5 deletions layouts/partials/mission.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<div id="fh5co-about" data-section="mission">
<div class="container fh5co-tabs-container">
<div class="fh5co-tab-content active">

<div class="container">
<div class="col-md-6 col-md-offset-3 text-center fh5co-heading">
<h2>About</h2>
</div>
<div class="col-md-12">
{{ with .Site.GetPage "/about.md" }}{{ .Content }}{{ end }}

</div>
</div>
</div>
</div> <!-- END fh5co-about -->
26 changes: 26 additions & 0 deletions static/css/additional.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#fh5co-about {
padding-top: 5%;
padding-bottom: 10%;
}

.fh5co-heading h2 {
font-size: 24px;
}

.episode {
margin-top: 30px;
margin-bottom: 30px;
}

.interact{
text-align: right
}

.interact img {
width: 18px;
}

.fh5co-copy-inner img {
width: 33%;
margin-bottom: 30px;
}
5 changes: 5 additions & 0 deletions static/images/edit.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/hero.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions static/images/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions static/images/warning.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 567b54e

Please sign in to comment.