Skip to content

Commit 44184c3

Browse files
Merge pull request #1 from ferronicardoso/main
social media, libs, configs
2 parents e8888ed + e93b91e commit 44184c3

File tree

8 files changed

+96
-57
lines changed

8 files changed

+96
-57
lines changed

Gemfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
source "https://rubygems.org"
22

3-
gem "github-pages", "~> 231", group: :jekyll_plugins
3+
gem "github-pages", "~> 232", group: :jekyll_plugins
44

55
group :jekyll_plugins do
66
gem "jekyll-paginate"
7-
gem "jekyll-feed", "~> 0.12"
7+
gem "jekyll-feed", "~> 0.17"
88
end
99

1010
platforms :mingw, :x64_mingw, :mswin, :jruby do
@@ -15,4 +15,4 @@ end
1515
gem 'jekyll-seo-tag'
1616
gem "webrick"
1717
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
18-
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
18+
gem "http_parser.rb", "~> 0.8.0", :platforms => [:jruby]

Gemfile.lock

Lines changed: 50 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
activesupport (7.1.3.3)
4+
activesupport (7.2.1)
55
base64
66
bigdecimal
7-
concurrent-ruby (~> 1.0, >= 1.0.2)
7+
concurrent-ruby (~> 1.0, >= 1.3.1)
88
connection_pool (>= 2.2.5)
99
drb
1010
i18n (>= 1.6, < 2)
11+
logger (>= 1.4.2)
1112
minitest (>= 5.1)
12-
mutex_m
13-
tzinfo (~> 2.0)
14-
addressable (2.8.6)
15-
public_suffix (>= 2.0.2, < 6.0)
13+
securerandom (>= 0.3)
14+
tzinfo (~> 2.0, >= 2.0.5)
15+
addressable (2.8.7)
16+
public_suffix (>= 2.0.2, < 7.0)
1617
base64 (0.2.0)
1718
bigdecimal (3.1.8)
1819
coffee-script (2.4.1)
@@ -21,9 +22,10 @@ GEM
2122
coffee-script-source (1.12.2)
2223
colorator (1.1.0)
2324
commonmarker (0.23.10)
24-
concurrent-ruby (1.2.3)
25+
concurrent-ruby (1.3.4)
2526
connection_pool (2.4.1)
26-
dnsruby (1.72.1)
27+
csv (3.3.0)
28+
dnsruby (1.72.2)
2729
simpleidn (~> 0.2.1)
2830
drb (2.2.1)
2931
em-websocket (0.5.3)
@@ -33,19 +35,22 @@ GEM
3335
ffi (>= 1.15.0)
3436
eventmachine (1.2.7)
3537
execjs (2.9.1)
36-
faraday (2.9.0)
37-
faraday-net_http (>= 2.0, < 3.2)
38-
faraday-net_http (3.1.0)
38+
faraday (2.11.0)
39+
faraday-net_http (>= 2.0, < 3.4)
40+
logger
41+
faraday-net_http (3.3.0)
3942
net-http
40-
ffi (1.16.3)
43+
ffi (1.17.0)
44+
ffi (1.17.0-arm64-darwin)
45+
ffi (1.17.0-x86_64-darwin)
4146
forwardable-extended (2.6.0)
4247
gemoji (4.1.0)
43-
github-pages (231)
48+
github-pages (232)
4449
github-pages-health-check (= 1.18.2)
45-
jekyll (= 3.9.5)
50+
jekyll (= 3.10.0)
4651
jekyll-avatar (= 0.8.0)
4752
jekyll-coffeescript (= 1.2.2)
48-
jekyll-commonmark-ghpages (= 0.4.0)
53+
jekyll-commonmark-ghpages (= 0.5.1)
4954
jekyll-default-layout (= 0.1.5)
5055
jekyll-feed (= 0.17.0)
5156
jekyll-gist (= 1.5.0)
@@ -82,9 +87,10 @@ GEM
8287
liquid (= 4.0.4)
8388
mercenary (~> 0.3)
8489
minima (= 2.5.1)
85-
nokogiri (>= 1.13.6, < 2.0)
90+
nokogiri (>= 1.16.2, < 2.0)
8691
rouge (= 3.30.0)
8792
terminal-table (~> 1.4)
93+
webrick (~> 1.8)
8894
github-pages-health-check (1.18.2)
8995
addressable (~> 2.3)
9096
dnsruby (~> 1.60)
@@ -97,9 +103,10 @@ GEM
97103
http_parser.rb (0.8.0)
98104
i18n (1.14.5)
99105
concurrent-ruby (~> 1.0)
100-
jekyll (3.9.5)
106+
jekyll (3.10.0)
101107
addressable (~> 2.4)
102108
colorator (~> 1.0)
109+
csv (~> 3.0)
103110
em-websocket (~> 0.5)
104111
i18n (>= 0.7, < 2)
105112
jekyll-sass-converter (~> 1.0)
@@ -110,16 +117,17 @@ GEM
110117
pathutil (~> 0.9)
111118
rouge (>= 1.7, < 4)
112119
safe_yaml (~> 1.0)
120+
webrick (>= 1.0)
113121
jekyll-avatar (0.8.0)
114122
jekyll (>= 3.0, < 5.0)
115123
jekyll-coffeescript (1.2.2)
116124
coffee-script (~> 2.2)
117125
coffee-script-source (~> 1.12)
118126
jekyll-commonmark (1.4.0)
119127
commonmarker (~> 0.22)
120-
jekyll-commonmark-ghpages (0.4.0)
121-
commonmarker (~> 0.23.7)
122-
jekyll (~> 3.9.0)
128+
jekyll-commonmark-ghpages (0.5.1)
129+
commonmarker (>= 0.23.7, < 1.1.0)
130+
jekyll (>= 3.9, < 4.0)
123131
jekyll-commonmark (~> 1.4.0)
124132
rouge (>= 2.0, < 5.0)
125133
jekyll-default-layout (0.1.5)
@@ -213,56 +221,64 @@ GEM
213221
listen (3.9.0)
214222
rb-fsevent (~> 0.10, >= 0.10.3)
215223
rb-inotify (~> 0.9, >= 0.9.10)
224+
logger (1.6.1)
216225
mercenary (0.3.6)
217226
minima (2.5.1)
218227
jekyll (>= 3.5, < 5.0)
219228
jekyll-feed (~> 0.9)
220229
jekyll-seo-tag (~> 2.1)
221-
minitest (5.23.1)
222-
mutex_m (0.2.0)
230+
minitest (5.25.1)
223231
net-http (0.4.1)
224232
uri
225-
nokogiri (1.16.5-x86_64-linux)
233+
nokogiri (1.16.7-arm64-darwin)
234+
racc (~> 1.4)
235+
nokogiri (1.16.7-x86_64-darwin)
236+
racc (~> 1.4)
237+
nokogiri (1.16.7-x86_64-linux)
226238
racc (~> 1.4)
227239
octokit (4.25.1)
228240
faraday (>= 1, < 3)
229241
sawyer (~> 0.9)
230242
pathutil (0.16.2)
231243
forwardable-extended (~> 2.6)
232-
public_suffix (5.0.5)
233-
racc (1.8.0)
244+
public_suffix (5.1.1)
245+
racc (1.8.1)
234246
rb-fsevent (0.11.2)
235247
rb-inotify (0.11.1)
236248
ffi (~> 1.0)
237-
rexml (3.2.8)
238-
strscan (>= 3.0.9)
249+
rexml (3.3.7)
239250
rouge (3.30.0)
240251
rubyzip (2.3.2)
241252
safe_yaml (1.0.5)
242253
sass (3.7.4)
243-
listen (~> 3.0)
254+
sass-listen (~> 4.0.0)
255+
sass-listen (4.0.0)
256+
rb-fsevent (~> 0.9, >= 0.9.4)
257+
rb-inotify (~> 0.9, >= 0.9.7)
244258
sawyer (0.9.2)
245259
addressable (>= 2.3.5)
246260
faraday (>= 0.17.3, < 3)
261+
securerandom (0.3.1)
247262
simpleidn (0.2.3)
248-
strscan (3.1.0)
249263
terminal-table (1.8.0)
250264
unicode-display_width (~> 1.1, >= 1.1.1)
251265
typhoeus (1.4.1)
252266
ethon (>= 0.9.0)
253267
tzinfo (2.0.6)
254268
concurrent-ruby (~> 1.0)
255269
unicode-display_width (1.8.0)
256-
uri (0.13.0)
270+
uri (0.13.1)
257271
webrick (1.8.1)
258272

259273
PLATFORMS
274+
arm64-darwin
275+
x86_64-darwin
260276
x86_64-linux
261277

262278
DEPENDENCIES
263-
github-pages (~> 231)
264-
http_parser.rb (~> 0.6.0)
265-
jekyll-feed (~> 0.12)
279+
github-pages (~> 232)
280+
http_parser.rb (~> 0.8.0)
281+
jekyll-feed (~> 0.17)
266282
jekyll-paginate
267283
jekyll-seo-tag
268284
tzinfo (>= 1, < 3)
@@ -271,4 +287,4 @@ DEPENDENCIES
271287
webrick
272288

273289
BUNDLED WITH
274-
2.5.10
290+
2.5.18

_config.yml

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# Site settings
22
title: "C# Brasil"
33
description: "Unindo paixão e código | Blog sobre Tecnologias e Desenvolvimento"
4-
url: "http://csharpbrasil.com.br"
4+
url: "https://csharpbrasil.com.br"
55
author:
66
name: "Raphael Cardoso"
77
8-
url: "http://www.csharpbrasil.com.br"
8+
url: "https://csharpbrasil.com.br"
99

1010
# Jekyll SEO
1111
social:
1212
name: C# Brasil
1313
links:
14-
- https://x.com/csharpbrasil
15-
- https://www.facebook.com/csharpbrasil
16-
- https://github.com/csharpbrasil
14+
- https://x.com/csharpbrasil
15+
- https://facebook.com/csharpbrasil
16+
- https://github.com/csharpbrasil
1717

1818
# Build settings
1919
baseurl: / # Change this to your relative path (ex: /blog/), or leave just a /
@@ -27,19 +27,17 @@ paginate_path: "/page/:num/"
2727

2828
# Default values
2929
defaults:
30-
-
31-
scope:
32-
path: ""
33-
type: "posts"
34-
values:
35-
layout: "post"
30+
- scope:
31+
path: ""
32+
type: "posts"
33+
values:
34+
layout: "post"
3635

3736
markdown: kramdown
3837
highlighter: rouge
3938

4039
kramdown:
41-
input: GFM
42-
# https://github.com/jekyll/jekyll/pull/4090
40+
input: GFM
4341
syntax_highlighter: rouge
4442
syntax_highlighter_opts:
4543
css_class: 'highlight'
@@ -51,9 +49,14 @@ kramdown:
5149

5250
# Plugins
5351
plugins:
54-
- jekyll-paginate
55-
- jekyll-seo-tag
56-
- kramdown-syntax-coderay
52+
- jekyll-paginate
53+
- jekyll-seo-tag
54+
- kramdown-syntax-coderay
5755

5856
# Custom variables
59-
version: "1.0.0"
57+
version: "1.1.0"
58+
github: "csharpbrasil"
59+
facebook: "csharpbrasil"
60+
twitter: "csharpbrasil"
61+
instagram: "csharpbrasil"
62+
whatsapp: "CYW7HUiK70xAmPpFx9mVMR"

_includes/head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
<!-- CSS & fonts -->
1717
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl | replace: '//', '/' }}?{{site.time | date: '%s%N'}}">
1818
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,800" rel="stylesheet" type="text/css">
19-
19+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
2020
<link rel="shortcut icon" href="/images/favicon.png" />
2121
</head>

_includes/menu.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@
33
<a href="{{ site.url }}/">Página inicial</a>
44
<a href="{{ site.url }}/sobre">Sobre o blog</a>
55
</div>
6+
7+
{% include socialmidias.html %}
68
</nav>

_includes/socialmidias.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<div class="social-icons">
2+
<a href="https://github.com/{{ site.github }}" target="_blank"><i class="fab fa-github fa-xl"></i></a>
3+
<a href="https://facebook.com/{{ site.facebook }}" target="_blank"><i class="fab fa-facebook fa-xl"></i></a>
4+
<a href="https://x.com/{{ site.twitter }}" target="_blank"><i class="fab fa-twitter fa-xl"></i></a>
5+
<a href="https://instagram.com/{{ site.instagram }}" target="_blank"><i class="fab fa-instagram fa-xl"></i></a>
6+
<a href="https://chat.whatsapp.com/{{ site.whatsapp }}" target="_blank"><i class="fab fa-whatsapp fa-xl"></i></a>
7+
</div>

_sass/custom.scss

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
11
/*- Custom style -*/
22

3-
// -- Put custom style under this point -- //
3+
/* Estilos dos ícones de redes sociais */
4+
.social-icons {
5+
display: flex;
6+
justify-content: center; /* Centraliza os ícones */
7+
padding: 10px 0;
8+
}
9+
.social-icons a {
10+
text-decoration: none;
11+
color: #333;
12+
margin: 0 15px; /* Espaçamento entre os ícones */
13+
font-size: 24px;
14+
}

_sass/layout.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,4 +285,4 @@ footer {
285285

286286
// .logo{
287287
// width: 200px;
288-
// }
288+
// }

0 commit comments

Comments
 (0)