Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Home updates #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
May 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ ENV BUNDLE_GEMFILE=/app/Gemfile \
BUNDLE_PATH=/bundle

RUN apt-get update
RUN apt-get install --assume-yes default-jre
RUN apt-get install --assume-yes curl
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash
RUN apt-get install --assume-yes nodejs
RUN gem install bundler
RUN bundle install
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Going to use template? Go on! The only thing we ask - let us know at [*lviv@gdg.
| [GDG DevFest Omsk 2014](http://gdg-devfest-omsk.org/) | [2014 南阳 GDG Devfest 大会](http://devfest.gdgny.org) | [DevFest Nordeste 2014](http://2014.devfestne.com.br/) |
| [GDG DevFest The Netherlands](http://www.devfest.nl/) | [DevFest Centro-Oeste 2014](http://www.devfestcentrooeste.com.br/) | [Android DevFest Space Coast](http://gdg-space-coast.github.io/zeppelin/) |
| [DevFest SP 2014](http://sp.devfest.com.br/) | [DevFest in Baroda](http://devfest.gdgbaroda.com/) | [GDG Hi Pic (France)](http://maximemularz.github.io/zeppelin/) |
| [GDG DevFest Córdoba 2014](http://gdgcordoba.github.io/zeppelin/) | [GDG DevFest Düsseldorf 2014](http://www.gdg-dus.de/DevFest2014/) | [GDG Makerere DevFest 2014](http://gdgmakerere.github.io/) |
| [GDG DevFest Cordoba 2014](http://gdgcordoba.github.io/zeppelin/) | [GDG DevFest Düsseldorf 2014](http://www.gdg-dus.de/DevFest2014/) | [GDG Makerere DevFest 2014](http://gdgmakerere.github.io/) |
| [GDG Dublin DevFest 2014](http://gdg-dublin.appspot.com/) | [GDG Busitema DevFest 2014](http://gdgbusitema.github.io/) | [DevFest Vienna 2014](http://www.devfest.at/) |
| [Android Wear DevFest](http://devfest.gdgnorthjersey.com/wear2014/) | [GDG SLAU DevFest 2014](http://gdgslau.github.io/) | [Lima DevFest](http://limadevfest.com/) |
| [GDG Korea DevFair 2014](http://devfair2014.gdg.kr/) | [GDG DevFest Kota Kinabalu 2014](http://devfest.gdgkk.info/) | [GDG DevFest Belgium](http://gdg-brussels.org/DevFest2014/) |
Expand All @@ -112,7 +112,7 @@ Going to use template? Go on! The only thing we ask - let us know at [*lviv@gdg.
| [Women Techmakers Tbilisi 2015](http://womentechmakers.ge/) | [Android Xtended](http://www.androidxtended.com/) |[GDG Bingham University](http://binghamuni.edu.ng/gdg)|
| [JSday Maceio 2015](http://jsday.com.br) | [DevFest Nordeste 2015](http://2015.devfestne.com.br) | [GDG DevFest Vijayawada 2015](http://devfest.gdg-vijayawada.org) |
| [Geek Night Recife](http://geeknightrecife.github.io/) | [IO Extended 2016 Madrid ](http://io.gdg.es/) | [AngularCamp](http://angularcamp.org/) |
| [Mobile Era 2016](http://mobileera.rocks/) | [GDG Francisco Beltrão](http://gdg-fb.github.io) | [Women Techmakers Istanbul 2016](http://2016.wtmistanbul.com) |
| [Mobile Era 2016](http://mobileera.rocks/) | [GDG Francisco Beltrao](http://gdg-fb.github.io) | [Women Techmakers Istanbul 2016](http://2016.wtmistanbul.com) |
| [Droidcon Paris 2015](http://droidcon.fr) | [Android Makers Paris 2017](http://androidmakers.fr) | [Heidelberger Symposium 2017](https://heidelberger-symposium.de/) |
| [DevFest Foumban website](http://devfestfoumban.org) | [NorthSec 2018](https://nsec.io/) | [SwiftFest 2018](http://swiftfest.io) |
| [LASCAR Workshop](http://lascar.sda.tech/) | [Core C++ 2019](https://corecpp.org/) | [RootedCON](https://www.rootedcon.com)|
Expand Down
15 changes: 7 additions & 8 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Plugins
gems:
plugins:
- jekyll-sitemap
safe: false

Expand All @@ -8,12 +8,13 @@ markdown: kramdown
permalink: pretty
exclude: ['/automation/', 'README.md', 'LICENSE.txt', 'CNAME']

encoding: UTF-8

# Site Settings
title: "MenderCon 2020"
email: "[email protected]"
description: "GDG DevFest is a set of events all around the world"
baseurl: "/home"
baseurl: ""
url: "https://mendercon.com"
permalink: "/blog/:title"
googleAnalyticsTrackingId: "UA-43643469-5"
Expand Down Expand Up @@ -62,13 +63,11 @@ rightNavigationButtons:

# Hero Block
heroImage: "hero.jpg"
heroTitle: "GDG DevFest <typeout> 2014"
eventDate: "September - November, 2014"
typeoutTextValues: '"", "Season", "Ukraine", "Germany", "USA"'
typeoutFallback: "Season"
heroTitle: "MenderCon 2020"
eventDate: "May 14, 2020"
heroButtons:
- {link: "https://bit.ly/dfua-c4p", text: "Become a speaker"}
- {permalink: "/#tickets", text: "Buy tickets"}
- {permalink: "#about", text: "Learn more"}
- {link: "https://hopin.to/events/mendercon-2020", text: "Buy tickets"}

# About Block
aboutTitle: "About GDG DevFest"
Expand Down
17 changes: 9 additions & 8 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
<meta name="twitter:description" content="{{ site.description }}">
<meta name="twitter:image:src" content="{{ site.socialImageSrcTwitter | prepend: site.baseurl | prepend: site.url }}">
<!-- Social: Facebook / Open Graph -->
<meta property="og:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}" />
<meta property="og:site_name" content="{{ site.title }}" />
<meta property="og:type" content="website" />
<meta property="og:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}" />
<meta property="og:site_name" content="{{ site.title }}" />
<meta property="og:type" content="website" />
<meta property="og:url" content="{{ site.url }}" />
<meta property="og:image" content="{{ site.socialImageSrcFacebook | prepend: site.baseurl | prepend: site.url }}" />
<meta property="og:description" content="{{ site.description }}" />
<meta property="og:description" content="{{ site.description }}" />

<title>{% if page.title %}{{ page.title }} &bull; {{ site.title }}{% else %}{{ site.title }}{% endif %}</title>
<link rel="shortcut icon" href="{{ "/img/favicons/favicon.ico" | prepend: site.baseurl }}">
<link rel="apple-touch-icon" sizes="152x152" href="{{ "/img/favicons/apple-touch-icon-152x152.png" | prepend: site.baseurl }}">
Expand All @@ -40,10 +40,11 @@
<meta name="msapplication-TileColor" content="#2b5797">
<meta name="msapplication-TileImage" content="{{ "/img/favicons/mstile-144x144.png" | prepend: site.baseurl }}">
<meta name="msapplication-config" content="{{ "/img/favicons/browserconfig.xml" | prepend: site.baseurl }}">

<meta name="theme-color" content="#2b5797">

<link href="{{ "/css/main.css" | prepend: site.baseurl }}" rel="stylesheet">

<link href="https://fonts.googleapis.com/css2?family=VT323&display=swap" rel="stylesheet">
<link href="{{ "/css/main.css" | prepend: site.baseurl }}" rel="stylesheet">

<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
Expand Down
5 changes: 2 additions & 3 deletions _includes/hero.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
<div class="content-wrapper">
<div class="jumbotron">
<div class="animated hiding" data-animation="fadeInDown" data-delay="500">
{% assign heroText = site.heroTitle | split:"<typeout>" %}
<h1>{{ heroText[0] }}<span id="typeout-text" class="hidden-xs"></span><span class="typeout-fallback">{{ site.typeoutFallback }}</span>{{ heroText[1] }}</h1>
<h1>{{ site.heroTitle }}</h1>
<p>{{ site.eventDate }}</p>
{% for button in site.heroButtons %}
<a href="{% if button.permalink != null %} {{ button.permalink | prepend: site.baseurl }} {% else %} {{ button.link }} {% endif %}" class="btn btn-primary waves-effect waves-button waves-light waves-float" {% if button.link != null %}target="_blank"{% endif %}>{{ button.text }}</a>
Expand All @@ -19,4 +18,4 @@ <h1>{{ heroText[0] }}<span id="typeout-text" class="hidden-xs"></span><span clas
</a>
</div>
</section>
<!-- End Hero Section -->
<!-- End Hero Section -->
2 changes: 1 addition & 1 deletion _layouts/compress.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Jekyll layout that compresses HTML
# v0.3.1
# https://github.com/penibelst/jekyll-compress-html
# © 2014 Anatol Broder (http://penibelst.de/)
# (c) 2014 Anatol Broder (http://penibelst.de/)
# MIT License
#
---
Expand Down
14 changes: 7 additions & 7 deletions _plugins/generator_scss.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,23 @@
# Compiles .scss files in ./_scss to .css files in whatever directory you indicated in your config
# Config file placed in ./_sass/config.rb
#

require 'sass'
require 'pathname'
require 'compass'
require 'compass/exec'

module Jekyll

class CompassGenerator < Generator
safe true

def generate(site)
Dir.chdir File.expand_path('../_sass', File.dirname(__FILE__)) do
Compass::Exec::SubCommandUI.new(%w(compile)).run!
end
end

end
end

end
14 changes: 7 additions & 7 deletions _sass/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
end
end

http_path = "/"
sass_dir = "./"
css_dir = "../css"
images_dir = "../img"
javascripts_dir = "../js"
http_path = "/"
sass_dir = "./"
css_dir = "../css"
images_dir = "../img"
javascripts_dir = "../js"

line_comments = false
relative_assets = true
relative_assets = true
output_style = :compressed

# Remove multiline comments - monkey patch
Expand All @@ -25,4 +25,4 @@ class Sass::Tree::Visitors::Perform < Sass::Tree::Visitors::Base
def visit_comment(node)
return []
end
end
end
2 changes: 1 addition & 1 deletion _sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@
@import "partials/about-hackathon";
@import "partials/judges";
@import "partials/prizes";
@import "partials/hackathon-location";
@import "partials/hackathon-location";
4 changes: 2 additions & 2 deletions _sass/partials/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ $base-font-size: 13px;
$base-line-height: 23px;

// Fixed Font
$fixed-font-family: 'Roboto';
$fixed-font-family: 'VT323', monospace;
$fixed-font-size: 85%;
$fixed-line-height: $base-line-height;

Expand Down Expand Up @@ -54,4 +54,4 @@ $image-dir: "../img";
$sprites-dir: $image-dir + "/sprites";
$logos-sprite: $sprites-dir + "/logos.svg";

@import "modules/all";
@import "modules/all";
4 changes: 2 additions & 2 deletions css/main.css

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ services:
- bundle:/bundle
ports:
- "80:80"
environment:
- LANG=C.UTF-8
command:
bundle exec jekyll serve -H 0.0.0.0 -P 80 --future
entrypoint:
Expand Down
Binary file modified img/sections-background/hero.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.