Skip to content

Commit 2301674

Browse files
committed
Criado cards para agenda de eventos e página sobre o gdg
1 parent 4366afd commit 2301674

File tree

6 files changed

+66
-42
lines changed

6 files changed

+66
-42
lines changed

_config.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,27 @@ description: > # this means to ignore newlines until "baseurl:"
55
Google Developer Group Salvador.
66
baseurl: "" # the subpath of your site, e.g. /blog/
77
url: "http://gdg-salvador.github.io" # the base hostname & protocol for your site
8+
url_dev: "http://localhost:4000"
89
twitter_username: gdgssa
910
github_username: GDG-Salvador
1011

1112
# Build settings
1213
markdown: kramdown
1314
permalink: /:title/
1415

16+
# html minify
17+
compress_html:
18+
clippings: all
19+
comments: all
20+
endings: []
21+
profile: false
22+
23+
pages:
24+
- title: Home
25+
url: /
26+
- title: Eventos
27+
url: /eventos
28+
- title: Sobre GDG
29+
url: /sobre
30+
1531
exclude: ['package.json', '_src', 'node_modules', 'vendor/bundle/ruby']

_includes/header.html

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,17 @@
1-
<header class="site-header">
2-
<!-- <div class="wrapper">
3-
<a class="site-title" href="{{ site.baseurl }}/">{{ site.title }}</a>
4-
</div> -->
1+
<header class="site-header" role="header">
52
<div class="navbar-fixed">
63
<nav class="light-blue lighten-1" role="navigation">
74
<div class="nav-wrapper container">
8-
<a id="logo-container" href="{{ site.baseurl }}" class="brand-logo">{{ site.title }}</a>
5+
<a id="logo-container" href="/" class="brand-logo">{{ site.title }}</a>
96
<ul class="right hide-on-med-and-down">
10-
<li><a href="#">Sobre</a></li>
11-
<li><a href="#">Eventos</a></li>
12-
<!-- <li><a href="#">Blog</a></li> -->
13-
<li><a href="#">Projetos</a></li>
14-
<li><a href="#">Código de Conduta</a></li>
7+
{% for page in site.pages %}
8+
<li><a href="{{ site.url_dev }}{{ page.url }}">{{ page.title }}</a></li>
9+
{% endfor %}
1510
</ul>
1611
<ul id="nav-mobile" class="side-nav">
17-
<li><a href="#">Sobre</a></li>
18-
<li><a href="#">Eventos</a></li>
19-
<!-- <li><a href="#">Blog</a></li> -->
20-
<li><a href="#">Projetos</a></li>
21-
<li><a href="#">Código de Conduta</a></li>
12+
{% for page in site.pages %}
13+
<li><a href="{{ site.url_dev }}{{ page.url }}">{{ page.title }}</a></li>
14+
{% endfor %}
2215
</ul>
2316
<a href="#" data-activates="nav-mobile" class="button-collapse"><i class="material-icons">menu</i></a>
2417
</div>

_layouts/page.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
layout: default
33
---
4-
<article class="post">
4+
<div class="post">
55

66
<header class="post-header">
77
<h1 class="post-title">{{ page.title }}</h1>
88
</header>
99

10-
<div class="post-content">
10+
<article class="post-content">
1111
{{ content }}
12-
</div>
12+
</article>
1313

14-
</article>
14+
</div>

about.html

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
layout: default
3+
title: "Sobre GDG"
4+
permalink: /sobre/index.html
5+
description: "Google Developer Group"
6+
---
7+
<div class="row separator">
8+
<div class="container">
9+
<div class="row">
10+
<div class="col center s12 m12">
11+
<h3>Google Developer Group (GDG) Salvador</h3>
12+
<hr>
13+
<p class="flow-text">É o primeiro grupo do nordeste brasileiro a surgir.
14+
Nosso objetivo é difundir as tecnologias do Google em nossa cidade, através de eventos técnicos, palestras, cursos, oficinas e etc!
15+
16+
Esteja sempre atento às publicações do nosso grupo para ficar por dentro dos próximos eventos!
17+
Aviso: GDG Salvador é um grupo independente; nossas atividades e opiniões aqui expressadas não são, de forma nenhuma, associadas ao Google.
18+
19+
Disclaimer: GDG Salvador is an independent group; our activities and the opinions expressed here should in no way be linked to Google, the corporation.</p>
20+
</div>
21+
</div>
22+
</div>
23+
</div>

about.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

index.html

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
11
---
22
layout: default
33
---
4-
54
<div class="home">
6-
7-
8-
9-
<ul class="post-list">
5+
<div class="row">
106
{% for post in site.posts %}
11-
<li>
12-
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
13-
14-
<h2>
15-
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
16-
</h2>
17-
</li>
7+
<div class="col s12 m6">
8+
<div class="card blue-grey darken-1">
9+
<div class="card-content white-text">
10+
<span class="card-title yellow-text">{{ post.title }}</span>
11+
<p>{{ post.description }}</p>
12+
</div>
13+
<div class="card-action">
14+
<a href="#">Compartilhar no Twitter</a>
15+
<a href="#">Inscrições</a>
16+
</div>
17+
</div>
18+
</div>
1819
{% endfor %}
19-
</ul>
20-
21-
22-
23-
</div>
20+
</div>
21+
</div>

0 commit comments

Comments
 (0)