Commit 54088e85e5901d156b239ff0c750eecc099490de
Merge pull request #2 from romuloalves/sources
SourcesRômulo Alves authored on 9/29/2016, 2:14:05 AM
GitHub committed on 9/29/2016, 2:14:05 AM
Parent: 13dfbefb84c3ed62f21588e2aed94941b52fe7a6
Parent: e799b8d3a0626995bfc7eff7cd3d911625f9ae34
Files changed
.gitignore | added |
gulpfile.js | added |
src/favicon.png | added |
src/index.html | added |
src/style.css | added |
gulpfile.js | ||
---|---|---|
@@ -1,0 +1,19 @@ | ||
1 | +const gulp = require('gulp'); | |
2 | +const minifyHtml = require('gulp-minify-html'); | |
3 | +const cleanCSS = require('gulp-clean-css'); | |
4 | +const usemin = require('gulp-usemin'); | |
5 | +const rev = require('gulp-rev'); | |
6 | + | |
7 | +gulp.task('copy', () => | |
8 | + gulp.src('src/favicon.png') | |
9 | + .pipe(gulp.dest('dist/'))); | |
10 | + | |
11 | +gulp.task('build', ['copy'], function () { | |
12 | + return gulp.src('src/index.html') | |
13 | + .pipe(usemin({ | |
14 | + css: [ rev() ], | |
15 | + html: [ minifyHtml({ empty: true }) ], | |
16 | + inlinecss: [ cleanCSS, 'concat' ] | |
17 | + })) | |
18 | + .pipe(gulp.dest('dist/')); | |
19 | +}); |
src/favicon.png |
---|
src/index.html | ||
---|---|---|
@@ -1,0 +1,43 @@ | ||
1 | + | |
2 | +<html> | |
3 | + <head> | |
4 | + <meta charset="utf-8"> | |
5 | + <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
6 | + <meta name="description" content="@romuloalves - Web Developer"> | |
7 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
8 | + <link rel="icon" type="image/png" href="favicon.png" /> | |
9 | + <title>@romuloalves</title> | |
10 | + <!-- build:inlinecss --> | |
11 | + <link rel="stylesheet" type="text/css" href="style.css"> | |
12 | + <!-- endbuild --> | |
13 | + </head> | |
14 | + <body> | |
15 | + <div class="container"> | |
16 | + <h1>Rômulo Alves</h1> | |
17 | + <h2> | |
18 | + Web Developer at <a href="https://www.cwi.com.br/" title="@cwisoftware" target="_blank">@cwisoftware</a> | |
19 | + </h2> | |
20 | + <aside> | |
21 | + <a href="https://twitter.com/romuloalves" target="_blank" title="Twitter">Twitter</a> | |
22 | + <a href="https://github.com/romuloalves" target="_blank" title="GitHub">GitHub</a> | |
23 | + <a href="mailto:romuloaalv@gmail.com" target="_blank" title="Email">Email</a> | |
24 | + <a href="https://medium.com/@romuloalves" target="_blank" title="Medium">Medium</a> | |
25 | + </aside> | |
26 | + <section class="content"> | |
27 | + <section> | |
28 | + <h1>Where am I?</h1> | |
29 | + <a href=""></a> | |
30 | + <h2> | |
31 | + <a href="https://www.google.com.br/maps/place/Sapiranga,+RS/@-29.6410773,-51.0112617,14z/data=!3m1!4b1!4m5!3m4!1s0x95193f737e8194df:0x571f590faf537198!8m2!3d-29.6353852!4d-51.0069543?hl=en" title="Sapiranga, Rio Grande do Sul, Brazil" target="_blank">Sapiranga, Rio Grande do Sul, Brazil</a> | |
32 | + </h2> | |
33 | + </section> | |
34 | + <section> | |
35 | + <h1>Talks</h1> | |
36 | + <p> | |
37 | + <a href="https://speakerdeck.com/romuloalves/componentizando-suas-views-com-react" title="Dojo React" target="_blank">Dojo React at @cwisoftware</a> | |
38 | + </p> | |
39 | + </section> | |
40 | + </section> | |
41 | + </div> | |
42 | + </body> | |
43 | +</html> |
src/style.css | ||
---|---|---|
@@ -1,0 +1,47 @@ | ||
1 | +* { | |
2 | + font-family: Menlo, Monaco, Consolas; | |
3 | +} | |
4 | + | |
5 | +body { | |
6 | + padding-top: 80px; | |
7 | +} | |
8 | + | |
9 | +.container { | |
10 | + margin: 0 auto; | |
11 | + text-align: center; | |
12 | + width: 90%; | |
13 | +} | |
14 | + | |
15 | +h1, h2 { | |
16 | + padding: 0; | |
17 | + margin: 0; | |
18 | +} | |
19 | + | |
20 | +h1 { | |
21 | + font-size: 25px; | |
22 | +} | |
23 | + | |
24 | +h2 { | |
25 | + color: #888; | |
26 | + font-size: 15px; | |
27 | +} | |
28 | + | |
29 | +aside, | |
30 | +.content { | |
31 | + margin-top: 50px; | |
32 | +} | |
33 | + | |
34 | +.content section { | |
35 | + margin-top: 25px; | |
36 | +} | |
37 | + | |
38 | +aside a, | |
39 | +.content a { | |
40 | + display: inline-block; | |
41 | + font-size: 12px; | |
42 | + margin: 0 15px 15px 0; | |
43 | +} | |
44 | + | |
45 | +.content h1 { | |
46 | + font-size: 20px; | |
47 | +} |
Built with git-ssb-web