vitrina 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.editorconfig +13 -0
- data/.github/FUNDING.yml +4 -0
- data/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
- data/.github/workflows/gempush.yml +41 -0
- data/.gitignore +7 -0
- data/.travis.yml +8 -0
- data/404.md +5 -0
- data/CHANGELOG.md +59 -0
- data/Gemfile +9 -0
- data/LICENSE +21 -0
- data/README.md +407 -0
- data/_config.yml +39 -0
- data/_data/general.json +133 -0
- data/_data/home.json +316 -0
- data/_data/links.json +34 -0
- data/_data/resume.json +80 -0
- data/_includes/foot.html +6 -0
- data/_includes/footer.html +21 -0
- data/_includes/head.html +13 -0
- data/_includes/header.html +63 -0
- data/_includes/pagination.html +75 -0
- data/_includes/util/grid_columns.html +49 -0
- data/_includes/util/item_content.html +8 -0
- data/_includes/util/items.html +63 -0
- data/_includes/util/navbar_items.html +76 -0
- data/_includes/util/prepend_link.html +5 -0
- data/_includes/util/timeline_cards.html +20 -0
- data/_layouts/blog.html +53 -0
- data/_layouts/compress.html +10 -0
- data/_layouts/contact.html +80 -0
- data/_layouts/default.html +33 -0
- data/_layouts/error.html +10 -0
- data/_layouts/home.html +103 -0
- data/_layouts/papers.html +80 -0
- data/_layouts/post.html +33 -0
- data/_layouts/projects.html +58 -0
- data/_layouts/resume.html +62 -0
- data/_papers/A-systematic-review-on-the-productive-effects-of-hobbies.md +15 -0
- data/_papers/Applications-of-open-collaboration-in-software-development.md +14 -0
- data/_posts/2019-04-03-welcome-human.md +52 -0
- data/_projects/Make.md +5 -0
- data/_projects/Meet.md +5 -0
- data/_projects/Mood.md +5 -0
- data/_projects/Take.md +5 -0
- data/_projects/Think.md +5 -0
- data/_sass/_bulma.scss +3 -0
- data/_sass/_fork_awesome.scss +11 -0
- data/_sass/code.scss +128 -0
- data/_sass/customize.scss +69 -0
- data/_sass/elements.scss +489 -0
- data/assets/css/styles.scss +15 -0
- data/assets/img/card.png +0 -0
- data/assets/img/icon.png +0 -0
- data/assets/img/logo.png +0 -0
- data/assets/img/made-with-bulma.png +0 -0
- data/assets/img/make.png +0 -0
- data/assets/img/meet.png +0 -0
- data/assets/img/mood.png +0 -0
- data/assets/img/take.png +0 -0
- data/assets/img/think.png +0 -0
- data/assets/js/navbar.js +10 -0
- data/assets/js/validate.js +77 -0
- data/blog/index.html +4 -0
- data/contact.md +4 -0
- data/index.md +3 -0
- data/node_modules/.yarn-integrity +18 -0
- data/node_modules/bulma/CHANGELOG.md +1390 -0
- data/node_modules/bulma/LICENSE +21 -0
- data/node_modules/bulma/README.md +130 -0
- data/node_modules/bulma/bulma.sass +9 -0
- data/node_modules/bulma/css/bulma.css +10855 -0
- data/node_modules/bulma/css/bulma.css.map +1 -0
- data/node_modules/bulma/css/bulma.min.css +1 -0
- data/node_modules/bulma/package.json +52 -0
- data/node_modules/bulma/sass/.DS_Store +0 -0
- data/node_modules/bulma/sass/base/_all.sass +5 -0
- data/node_modules/bulma/sass/base/generic.sass +142 -0
- data/node_modules/bulma/sass/base/helpers.sass +281 -0
- data/node_modules/bulma/sass/base/minireset.sass +79 -0
- data/node_modules/bulma/sass/components/_all.sass +15 -0
- data/node_modules/bulma/sass/components/breadcrumb.sass +75 -0
- data/node_modules/bulma/sass/components/card.sass +79 -0
- data/node_modules/bulma/sass/components/dropdown.sass +81 -0
- data/node_modules/bulma/sass/components/level.sass +77 -0
- data/node_modules/bulma/sass/components/list.sass +39 -0
- data/node_modules/bulma/sass/components/media.sass +50 -0
- data/node_modules/bulma/sass/components/menu.sass +57 -0
- data/node_modules/bulma/sass/components/message.sass +99 -0
- data/node_modules/bulma/sass/components/modal.sass +113 -0
- data/node_modules/bulma/sass/components/navbar.sass +441 -0
- data/node_modules/bulma/sass/components/pagination.sass +150 -0
- data/node_modules/bulma/sass/components/panel.sass +119 -0
- data/node_modules/bulma/sass/components/tabs.sass +151 -0
- data/node_modules/bulma/sass/elements/_all.sass +15 -0
- data/node_modules/bulma/sass/elements/box.sass +24 -0
- data/node_modules/bulma/sass/elements/button.sass +323 -0
- data/node_modules/bulma/sass/elements/container.sass +24 -0
- data/node_modules/bulma/sass/elements/content.sass +155 -0
- data/node_modules/bulma/sass/elements/form.sass +1 -0
- data/node_modules/bulma/sass/elements/icon.sass +21 -0
- data/node_modules/bulma/sass/elements/image.sass +71 -0
- data/node_modules/bulma/sass/elements/notification.sass +43 -0
- data/node_modules/bulma/sass/elements/other.sass +39 -0
- data/node_modules/bulma/sass/elements/progress.sass +67 -0
- data/node_modules/bulma/sass/elements/table.sass +127 -0
- data/node_modules/bulma/sass/elements/tag.sass +128 -0
- data/node_modules/bulma/sass/elements/title.sass +70 -0
- data/node_modules/bulma/sass/form/_all.sass +8 -0
- data/node_modules/bulma/sass/form/checkbox-radio.sass +21 -0
- data/node_modules/bulma/sass/form/file.sass +180 -0
- data/node_modules/bulma/sass/form/input-textarea.sass +64 -0
- data/node_modules/bulma/sass/form/select.sass +85 -0
- data/node_modules/bulma/sass/form/shared.sass +55 -0
- data/node_modules/bulma/sass/form/tools.sass +205 -0
- data/node_modules/bulma/sass/grid/_all.sass +4 -0
- data/node_modules/bulma/sass/grid/columns.sass +504 -0
- data/node_modules/bulma/sass/grid/tiles.sass +34 -0
- data/node_modules/bulma/sass/layout/_all.sass +5 -0
- data/node_modules/bulma/sass/layout/footer.sass +9 -0
- data/node_modules/bulma/sass/layout/hero.sass +145 -0
- data/node_modules/bulma/sass/layout/section.sass +13 -0
- data/node_modules/bulma/sass/utilities/.DS_Store +0 -0
- data/node_modules/bulma/sass/utilities/_all.sass +8 -0
- data/node_modules/bulma/sass/utilities/animations.sass +5 -0
- data/node_modules/bulma/sass/utilities/controls.sass +50 -0
- data/node_modules/bulma/sass/utilities/derived-variables.sass +106 -0
- data/node_modules/bulma/sass/utilities/functions.sass +110 -0
- data/node_modules/bulma/sass/utilities/initial-variables.sass +77 -0
- data/node_modules/bulma/sass/utilities/mixins.sass +261 -0
- data/node_modules/fork-awesome/CHANGELOG.md +91 -0
- data/node_modules/fork-awesome/CONTRIBUTORS.md +31 -0
- data/node_modules/fork-awesome/LICENSES +452 -0
- data/node_modules/fork-awesome/README.md +93 -0
- data/node_modules/fork-awesome/css/fork-awesome.css +2573 -0
- data/node_modules/fork-awesome/css/fork-awesome.min.css +12 -0
- data/node_modules/fork-awesome/css/fork-awesome.min.css.map +1 -0
- data/node_modules/fork-awesome/css/v5-compat.css +446 -0
- data/node_modules/fork-awesome/css/v5-compat.min.css +12 -0
- data/node_modules/fork-awesome/css/v5-compat.min.css.map +1 -0
- data/node_modules/fork-awesome/fonts/forkawesome-webfont.eot +0 -0
- data/node_modules/fork-awesome/fonts/forkawesome-webfont.svg +2849 -0
- data/node_modules/fork-awesome/fonts/forkawesome-webfont.ttf +0 -0
- data/node_modules/fork-awesome/fonts/forkawesome-webfont.woff +0 -0
- data/node_modules/fork-awesome/fonts/forkawesome-webfont.woff2 +0 -0
- data/node_modules/fork-awesome/less/animated.less +34 -0
- data/node_modules/fork-awesome/less/bordered-pulled.less +25 -0
- data/node_modules/fork-awesome/less/core.less +12 -0
- data/node_modules/fork-awesome/less/fixed-width.less +6 -0
- data/node_modules/fork-awesome/less/fork-awesome.less +27 -0
- data/node_modules/fork-awesome/less/icons.less +879 -0
- data/node_modules/fork-awesome/less/larger.less +13 -0
- data/node_modules/fork-awesome/less/list.less +19 -0
- data/node_modules/fork-awesome/less/mixins.less +60 -0
- data/node_modules/fork-awesome/less/path.less +15 -0
- data/node_modules/fork-awesome/less/rotated-flipped.less +20 -0
- data/node_modules/fork-awesome/less/screen-reader.less +5 -0
- data/node_modules/fork-awesome/less/stacked.less +20 -0
- data/node_modules/fork-awesome/less/v5-compat.less +176 -0
- data/node_modules/fork-awesome/less/variables.less +890 -0
- data/node_modules/fork-awesome/package.json +49 -0
- data/node_modules/fork-awesome/scss/_animated.scss +34 -0
- data/node_modules/fork-awesome/scss/_bordered-pulled.scss +25 -0
- data/node_modules/fork-awesome/scss/_core.scss +12 -0
- data/node_modules/fork-awesome/scss/_fixed-width.scss +6 -0
- data/node_modules/fork-awesome/scss/_functions.scss +11 -0
- data/node_modules/fork-awesome/scss/_icons.scss +879 -0
- data/node_modules/fork-awesome/scss/_larger.scss +13 -0
- data/node_modules/fork-awesome/scss/_list.scss +19 -0
- data/node_modules/fork-awesome/scss/_mixins.scss +60 -0
- data/node_modules/fork-awesome/scss/_path.scss +15 -0
- data/node_modules/fork-awesome/scss/_rotated-flipped.scss +20 -0
- data/node_modules/fork-awesome/scss/_screen-reader.scss +5 -0
- data/node_modules/fork-awesome/scss/_stacked.scss +20 -0
- data/node_modules/fork-awesome/scss/_variables.scss +890 -0
- data/node_modules/fork-awesome/scss/fork-awesome.scss +28 -0
- data/package.json +32 -0
- data/papers.md +4 -0
- data/projects.md +4 -0
- data/resume.md +4 -0
- data/screenshot.png +0 -0
- data/scripts/build.sh +10 -0
- data/scripts/install.sh +4 -0
- data/scripts/validate.rb +28 -0
- data/vitrina.gemspec +23 -0
- metadata +187 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92ad19de6e43ac4e4504ea39976afa354b0618a62228195bc8a64b1b4304e4e6
|
4
|
+
data.tar.gz: 135e40d594dd1cf47d781905f5022feb501b4f7b3b254bcaf70c70fcbfa5bad4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abf872026591b78c4176ee10515a40c5fc65b879184416b145fc62667129413bc88d451c9de927b9ecc3a907a2f0322d020041faaaae252852eaa8f6da38f1c7
|
7
|
+
data.tar.gz: 6628fefb8b5109535a108685c5d462938a75f481faba5da700cf5a714802f80d29052a2b40571cb42d48d0d05e37cdcd602252ae33a36d95b693a3ee086e5753
|
data/.editorconfig
ADDED
data/.github/FUNDING.yml
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
---
|
2
|
+
name: Bug report
|
3
|
+
about: Report a bug that you saw or experienced
|
4
|
+
title: "[BUG]"
|
5
|
+
labels: bug
|
6
|
+
assignees: oAGoulart
|
7
|
+
|
8
|
+
---
|
9
|
+
|
10
|
+
**Describe the bug**
|
11
|
+
A clear and concise description of what the bug is.
|
12
|
+
|
13
|
+
**To Reproduce**
|
14
|
+
Steps to reproduce the behavior:
|
15
|
+
1. Go to '...'
|
16
|
+
2. Click on '....'
|
17
|
+
3. Scroll down to '....'
|
18
|
+
4. See error
|
19
|
+
|
20
|
+
**Expected behavior**
|
21
|
+
A clear and concise description of what you expected to happen.
|
22
|
+
|
23
|
+
**Screenshots**
|
24
|
+
If applicable, add screenshots to help explain your problem.
|
25
|
+
|
26
|
+
**Desktop (please complete the following information):**
|
27
|
+
- OS: [e.g. iOS]
|
28
|
+
- Browser [e.g. chrome, safari]
|
29
|
+
- Version [e.g. 22]
|
30
|
+
|
31
|
+
**Smartphone (please complete the following information):**
|
32
|
+
- Device: [e.g. iPhone6]
|
33
|
+
- OS: [e.g. iOS8.1]
|
34
|
+
- Browser [e.g. stock browser, safari]
|
35
|
+
- Version [e.g. 22]
|
36
|
+
|
37
|
+
**Additional context**
|
38
|
+
Add any other context about the problem here, such as development environment.
|
@@ -0,0 +1,20 @@
|
|
1
|
+
---
|
2
|
+
name: Feature request
|
3
|
+
about: Suggest an idea for this project
|
4
|
+
title: ''
|
5
|
+
labels: enhancement
|
6
|
+
assignees: oAGoulart
|
7
|
+
|
8
|
+
---
|
9
|
+
|
10
|
+
**Is your feature request related to a problem? Please describe.**
|
11
|
+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
12
|
+
|
13
|
+
**Describe the solution you'd like**
|
14
|
+
A clear and concise description of what you want to happen.
|
15
|
+
|
16
|
+
**Describe alternatives you've considered**
|
17
|
+
A clear and concise description of any alternative solutions or features you've considered.
|
18
|
+
|
19
|
+
**Additional context**
|
20
|
+
Add any other context or screenshots about the feature request here.
|
@@ -0,0 +1,41 @@
|
|
1
|
+
name: Ruby Gem
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
tags:
|
6
|
+
- v*
|
7
|
+
|
8
|
+
jobs:
|
9
|
+
build:
|
10
|
+
name: Build + Publish
|
11
|
+
runs-on: ubuntu-latest
|
12
|
+
|
13
|
+
steps:
|
14
|
+
- uses: actions/checkout@v2
|
15
|
+
- name: Set up Ruby 2.6
|
16
|
+
uses: actions/setup-ruby@v1
|
17
|
+
with:
|
18
|
+
version: 2.6.x
|
19
|
+
|
20
|
+
- name: Publish to GPR
|
21
|
+
run: |
|
22
|
+
mkdir -p $HOME/.gem
|
23
|
+
touch $HOME/.gem/credentials
|
24
|
+
chmod 0600 $HOME/.gem/credentials
|
25
|
+
printf -- "---\n:github: Bearer ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
26
|
+
gem build *.gemspec
|
27
|
+
gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
|
28
|
+
env:
|
29
|
+
GEM_HOST_API_KEY: ${{secrets.GPR_AUTH_TOKEN}}
|
30
|
+
OWNER: oAGoulart
|
31
|
+
|
32
|
+
- name: Publish to RubyGems
|
33
|
+
run: |
|
34
|
+
mkdir -p $HOME/.gem
|
35
|
+
touch $HOME/.gem/credentials
|
36
|
+
chmod 0600 $HOME/.gem/credentials
|
37
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
38
|
+
gem build *.gemspec
|
39
|
+
gem push *.gem
|
40
|
+
env:
|
41
|
+
GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}
|
data/.gitignore
ADDED
data/.travis.yml
ADDED
data/404.md
ADDED
data/CHANGELOG.md
ADDED
@@ -0,0 +1,59 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
All notable changes to this project will be documented in this file.
|
4
|
+
|
5
|
+
## [Unreleased]
|
6
|
+
|
7
|
+
## [0.2.6] - 2020-05-27
|
8
|
+
|
9
|
+
### Changed
|
10
|
+
|
11
|
+
- Gem files registration method
|
12
|
+
|
13
|
+
## [0.2.5] - 2020-05-27
|
14
|
+
|
15
|
+
### Fixed
|
16
|
+
|
17
|
+
- Gem not packing all files
|
18
|
+
|
19
|
+
## [0.2.4] - 2020-05-27
|
20
|
+
|
21
|
+
### Fixed
|
22
|
+
|
23
|
+
- Layouts not available when using as Jekyll theme
|
24
|
+
- Background color of `main`
|
25
|
+
|
26
|
+
## [0.2.2] - 2020-05-27
|
27
|
+
|
28
|
+
### Added
|
29
|
+
|
30
|
+
- 404 error page.
|
31
|
+
- Screenshot image.
|
32
|
+
|
33
|
+
## [0.2.0] - 2020-05-27
|
34
|
+
|
35
|
+
### Added
|
36
|
+
|
37
|
+
- This CHANGELOG file.
|
38
|
+
|
39
|
+
### Changed
|
40
|
+
|
41
|
+
- Resume page now being generated with its own JSON file.
|
42
|
+
|
43
|
+
### Fixed
|
44
|
+
|
45
|
+
- Resume years bar color not using color variables
|
46
|
+
- Color of home page about section button
|
47
|
+
- Task list style
|
48
|
+
|
49
|
+
### Removed
|
50
|
+
|
51
|
+
- Unnecessary files from Jekyll build/serve
|
52
|
+
|
53
|
+
|
54
|
+
[unreleased]: https://github.com/oAGoulart/vitrina/compare/v0.2.6...HEAD
|
55
|
+
[0.2.6]: https://github.com/oAGoulart/vitrina/releases/tag/v0.2.6
|
56
|
+
[0.2.5]: https://github.com/oAGoulart/vitrina/releases/tag/v0.2.5
|
57
|
+
[0.2.4]: https://github.com/oAGoulart/vitrina/releases/tag/v0.2.4
|
58
|
+
[0.2.2]: https://github.com/oAGoulart/vitrina/releases/tag/v0.2.2
|
59
|
+
[0.2.0]: https://github.com/oAGoulart/vitrina/releases/tag/v0.2.0
|
data/Gemfile
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2020 Augusto Goulart
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,407 @@
|
|
1
|
+
[![Vitrina](screenshot.png)]()
|
2
|
+
|
3
|
+
[![Build Status](https://travis-ci.com/oAGoulart/vitrina.svg?branch=master)](https://travis-ci.com/oAGoulart/vitrina)
|
4
|
+
[![Gem](https://img.shields.io/gem/v/vitrina)](https://rubygems.org/gems/vitrina)
|
5
|
+
[![Gem](https://img.shields.io/gem/dt/vitrina)](https://rubygems.org/gems/vitrina)
|
6
|
+
[![License](https://img.shields.io/badge/license-MIT-informational.svg)](https://opensource.org/licenses/MIT)
|
7
|
+
|
8
|
+
A general purpose theme for Jekyll made with Bulma.
|
9
|
+
|
10
|
+
This theme was made with the purpose of being able to generate a site just by editing a few JSON files, this was something I needed for creating multiple pages using scripts.
|
11
|
+
|
12
|
+
# Summary
|
13
|
+
|
14
|
+
+ [Usage](#usage)
|
15
|
+
- [About the layout](#about-the-layout)
|
16
|
+
- [General layout](#general-layout)
|
17
|
+
+ [Header](#header)
|
18
|
+
+ [Footer](#footer)
|
19
|
+
- [Home page layout](#home-page-layout)
|
20
|
+
- [Resume page layout](#resume-page-layout)
|
21
|
+
- [Structure content](#structure-content)
|
22
|
+
- [Links](#links)
|
23
|
+
+ [Contributions](#contributions)
|
24
|
+
|
25
|
+
# Usage
|
26
|
+
|
27
|
+
You can use this theme as a template for creating another one or use it as a *Ruby* gem in your project (just like a plugin):
|
28
|
+
|
29
|
+
```sh
|
30
|
+
gem install vitrina --vendor
|
31
|
+
```
|
32
|
+
|
33
|
+
If you just want to use this theme for a web site, all you need to do is [change your Jekyll project theme](https://jekyllrb.com/docs/themes/#installing-a-theme).
|
34
|
+
|
35
|
+
If you need something else the scripts inside `scripts/` may help you out.
|
36
|
+
|
37
|
+
This theme may be exactly what you need or exactly what you're trying to avoid. So, if using JSON or learning this theme's layout is not what you want, here's some alternatives:
|
38
|
+
|
39
|
+
+ [minimal-mistakes](https://github.com/mmistakes/minimal-mistakes)
|
40
|
+
+ [beautiful-jekyll](https://github.com/daattali/beautiful-jekyll)
|
41
|
+
|
42
|
+
## About the layout
|
43
|
+
|
44
|
+
There are some layouts at `_layouts` which can be used to create an entire page by just making a markdown page, those include:
|
45
|
+
|
46
|
+
+ blog (this one uses pagination, ext. must be `.html`)
|
47
|
+
+ contact
|
48
|
+
+ error
|
49
|
+
+ home
|
50
|
+
+ papers
|
51
|
+
+ post
|
52
|
+
+ projects
|
53
|
+
+ resume
|
54
|
+
|
55
|
+
```md
|
56
|
+
---
|
57
|
+
layout: contact
|
58
|
+
title: Contact
|
59
|
+
---
|
60
|
+
```
|
61
|
+
|
62
|
+
The layout is made by many elements, all elements have global attributes, while some have specific ones.
|
63
|
+
|
64
|
+
Any element **CAN** have the following global attributes:
|
65
|
+
|
66
|
+
`style`: any CSS class to be used for styling, can be a Bulma one.
|
67
|
+
```jsonc
|
68
|
+
"style": "has-text-danger", // Bulma CSS class
|
69
|
+
```
|
70
|
+
|
71
|
+
`icon`: is any ForkAwesome icon in the following format:
|
72
|
+
```jsonc
|
73
|
+
"icon": {
|
74
|
+
"style": "has-text-info", // global attribute
|
75
|
+
"name": "fa-feed" // ForkAwesome icon name
|
76
|
+
}
|
77
|
+
```
|
78
|
+
|
79
|
+
## General layout
|
80
|
+
|
81
|
+
The file at `_data/general.json` can be used to change the site's navbar and footer layout.
|
82
|
+
The `header` is a JSON `object` and the `footer` is an array, see below on how they are structured.
|
83
|
+
|
84
|
+
### Header
|
85
|
+
|
86
|
+
The `header` is divided into two JSON objects, `brand` and `menu`:
|
87
|
+
|
88
|
+
`brand`: Has the following structure:
|
89
|
+
```jsonc
|
90
|
+
{
|
91
|
+
"brand": {
|
92
|
+
"name": "Brand", // brand name
|
93
|
+
"image": "assets/img/logo.png", // path to brand logo
|
94
|
+
"link": "" // brand link
|
95
|
+
}
|
96
|
+
}
|
97
|
+
```
|
98
|
+
|
99
|
+
`menu`: This is divided in two arrays `start` and `end` both are lists to elements, the first one is the left side of the navbar, while the second is the right side of the navbar.
|
100
|
+
These arrays can have the following elements:
|
101
|
+
|
102
|
+
**buttons:** A list of buttons to be generated.
|
103
|
+
```jsonc
|
104
|
+
{
|
105
|
+
"type": "buttons", // define this element as being of type buttons
|
106
|
+
"content": [ // array of buttons
|
107
|
+
{
|
108
|
+
"style": "is-info", // global attribute
|
109
|
+
"content": "Donate", // button text
|
110
|
+
"link": "donate", // button link
|
111
|
+
"icon": { // global attribute
|
112
|
+
"style": "has-text-success",
|
113
|
+
"name": "fa-money"
|
114
|
+
}
|
115
|
+
}
|
116
|
+
]
|
117
|
+
}
|
118
|
+
```
|
119
|
+
|
120
|
+
**link:** A navbar link:
|
121
|
+
```jsonc
|
122
|
+
{
|
123
|
+
"style": "has-text-light", // global attribute
|
124
|
+
"type": "link", // define this element as link
|
125
|
+
"content": "Blog", // link text
|
126
|
+
"link": "blog", // link reference
|
127
|
+
"icon": { // global attribute
|
128
|
+
"style": "has-text-info",
|
129
|
+
"name": "fa-feed"
|
130
|
+
}
|
131
|
+
}
|
132
|
+
|
133
|
+
```
|
134
|
+
|
135
|
+
**text:** A text paragraph:
|
136
|
+
```jsonc
|
137
|
+
{
|
138
|
+
"style": "has-text-light", // global attribute
|
139
|
+
"type": "text", // define this element as text
|
140
|
+
"content": "Some potatoes", // text to be shown
|
141
|
+
}
|
142
|
+
|
143
|
+
```
|
144
|
+
|
145
|
+
**dropdown:** A dropdown with links:
|
146
|
+
```jsonc
|
147
|
+
{
|
148
|
+
"type": "dropdown", // define dropdown element
|
149
|
+
"content": "More", // dropdown name
|
150
|
+
"links": [ // array of links (see above)
|
151
|
+
{
|
152
|
+
"content": "Contact",
|
153
|
+
"link": "contact",
|
154
|
+
},
|
155
|
+
{
|
156
|
+
"divider": true // navbar divider
|
157
|
+
}
|
158
|
+
// ... more links here ...
|
159
|
+
]
|
160
|
+
}
|
161
|
+
|
162
|
+
```
|
163
|
+
|
164
|
+
### Footer
|
165
|
+
|
166
|
+
The `footer` is an array that can generate columns, to use them you need to add a Bulma style. Each column has a `content` attribute, which is an array with any elements defined in [structure content](#structure-content).
|
167
|
+
|
168
|
+
An example of footer would be:
|
169
|
+
```jsonc
|
170
|
+
"footer": [
|
171
|
+
{
|
172
|
+
"style": "is-3", // column of size 3 (see Bulma docs)
|
173
|
+
"content": [
|
174
|
+
// ... put elements here ...
|
175
|
+
]
|
176
|
+
}
|
177
|
+
// ... put other columns here ...
|
178
|
+
]
|
179
|
+
```
|
180
|
+
|
181
|
+
## Home page layout
|
182
|
+
|
183
|
+
The home page `_data/home.json` has an array of structures. Those structures are pre-defined elements that can contain many more elements (but not other structures).
|
184
|
+
|
185
|
+
**hero:** The same as a Bulma hero.
|
186
|
+
```jsonc
|
187
|
+
{
|
188
|
+
"structure": "hero", // define this structure as a hero
|
189
|
+
"name": "Vitrina", // structure name
|
190
|
+
"background": "potato.png", // background image
|
191
|
+
"content": [
|
192
|
+
// ... put the elements here ...
|
193
|
+
]
|
194
|
+
}
|
195
|
+
```
|
196
|
+
|
197
|
+
**level:** A horizontal list of elements:
|
198
|
+
```jsonc
|
199
|
+
{
|
200
|
+
"structure": "level", // define level structure
|
201
|
+
"content": [ // array of items array
|
202
|
+
{
|
203
|
+
"style": "some-class" // global attribute
|
204
|
+
"items": [ // array of elements
|
205
|
+
// ... put elements here ...
|
206
|
+
]
|
207
|
+
}
|
208
|
+
// ... put other items arrays here ...
|
209
|
+
]
|
210
|
+
}
|
211
|
+
```
|
212
|
+
|
213
|
+
**timeline:** A timeline that can be used to display time organized cards:
|
214
|
+
```jsonc
|
215
|
+
{
|
216
|
+
"structure": "timeline", // define timeline structure
|
217
|
+
"title": "Timeline", // timeline title
|
218
|
+
"cards": [
|
219
|
+
{
|
220
|
+
"content": [
|
221
|
+
// ... put elements in here ...
|
222
|
+
]
|
223
|
+
},
|
224
|
+
// ... put more cards here ...
|
225
|
+
]
|
226
|
+
}
|
227
|
+
```
|
228
|
+
|
229
|
+
**section:** A section that can be used for any kind of content (good for text):
|
230
|
+
```jsonc
|
231
|
+
{
|
232
|
+
"structure": "section", // define section structure
|
233
|
+
"title": "About", // section title
|
234
|
+
"content": [
|
235
|
+
// ... put elements in here ...
|
236
|
+
]
|
237
|
+
}
|
238
|
+
```
|
239
|
+
|
240
|
+
**grid:** A grid of cards that is similar to Pinterest's boards:
|
241
|
+
```jsonc
|
242
|
+
{
|
243
|
+
"structure": "grid", // define the grid
|
244
|
+
"title": "Featured", // grid title
|
245
|
+
"cards": [ // array of cards
|
246
|
+
{
|
247
|
+
"title": "Potatoes", // card title
|
248
|
+
"image": "card.png", // card image
|
249
|
+
"content": [
|
250
|
+
// ... put any elements in here ...
|
251
|
+
]
|
252
|
+
}
|
253
|
+
// ... put other cards in here ...
|
254
|
+
]
|
255
|
+
}
|
256
|
+
```
|
257
|
+
|
258
|
+
## Resume page layout
|
259
|
+
|
260
|
+
The resume page `_data/resume.json` has some strict elements. Those elements are similar to the ones found in [structure content](#structure-content).
|
261
|
+
|
262
|
+
**photo:** A link to the resume photo.
|
263
|
+
```jsonc
|
264
|
+
{
|
265
|
+
"photo": "/assets/img/icon.png", // link
|
266
|
+
}
|
267
|
+
```
|
268
|
+
|
269
|
+
**name:** The name of the resume holder.
|
270
|
+
```jsonc
|
271
|
+
{
|
272
|
+
"name": "Vitrina", // name
|
273
|
+
}
|
274
|
+
```
|
275
|
+
|
276
|
+
**title:** The title of the resume holder.
|
277
|
+
```jsonc
|
278
|
+
{
|
279
|
+
"title": "Malding Scientist", // title
|
280
|
+
}
|
281
|
+
```
|
282
|
+
|
283
|
+
**skills:** A list of skills bars.
|
284
|
+
```jsonc
|
285
|
+
{
|
286
|
+
"skills": [
|
287
|
+
{
|
288
|
+
"icon": "fa-html5", // skill bar icon
|
289
|
+
"progress": { // progress bar
|
290
|
+
"value": 90, // progress bar current value
|
291
|
+
"max": 100 // progress bar maximum value
|
292
|
+
}
|
293
|
+
}
|
294
|
+
// ... more skills here ...
|
295
|
+
]
|
296
|
+
}
|
297
|
+
```
|
298
|
+
|
299
|
+
**profile:** A list of informational sections.
|
300
|
+
```jsonc
|
301
|
+
{
|
302
|
+
"profile": [ // array of sections
|
303
|
+
{
|
304
|
+
"title": "Experience", // section title
|
305
|
+
"info": [ // array of information
|
306
|
+
{
|
307
|
+
"years": "1001-1312", // information year
|
308
|
+
"text": "Malder", // information text
|
309
|
+
"list": [ // array of lines (optional)
|
310
|
+
{
|
311
|
+
"text": "Achived malding" // line text
|
312
|
+
}
|
313
|
+
// ... more lines here ...
|
314
|
+
]
|
315
|
+
}
|
316
|
+
// ... more information here ...
|
317
|
+
]
|
318
|
+
}
|
319
|
+
// ... more sections here ...
|
320
|
+
]
|
321
|
+
}
|
322
|
+
```
|
323
|
+
|
324
|
+
## Structure content
|
325
|
+
|
326
|
+
The elements below can be used inside any structure and inside a few other elements:
|
327
|
+
|
328
|
+
**buttons:** A list of buttons to be generated.
|
329
|
+
```jsonc
|
330
|
+
{
|
331
|
+
"type": "buttons", // define buttons element
|
332
|
+
"content": [ // array of buttons
|
333
|
+
{
|
334
|
+
"style": "is-button", // global attribute
|
335
|
+
"content": "See more", // button text
|
336
|
+
"link": "" // button link
|
337
|
+
}
|
338
|
+
// ... put more buttons here ...
|
339
|
+
]
|
340
|
+
}
|
341
|
+
```
|
342
|
+
|
343
|
+
**link:** A link:
|
344
|
+
```jsonc
|
345
|
+
{
|
346
|
+
"style": "is-primary", // global attribute
|
347
|
+
"type:" "link" // define link element
|
348
|
+
"content": "See my resume", // link text
|
349
|
+
"link": "resume" // link reference
|
350
|
+
}
|
351
|
+
```
|
352
|
+
|
353
|
+
**image:** An image:
|
354
|
+
```jsonc
|
355
|
+
{
|
356
|
+
"type": "image", // define image element
|
357
|
+
"name": "Made with Bulma", // image name
|
358
|
+
"link": "https://bulma.io", // image link
|
359
|
+
"file": "bulma.png", // image file
|
360
|
+
"width": "128", // image width
|
361
|
+
"height": "24" // image height
|
362
|
+
}
|
363
|
+
```
|
364
|
+
|
365
|
+
**text:** A text paragraph:
|
366
|
+
```jsonc
|
367
|
+
{
|
368
|
+
"type": "text", // define text element
|
369
|
+
"content": "Except" // text to be shown
|
370
|
+
}
|
371
|
+
```
|
372
|
+
|
373
|
+
**icons:** A list of icons:
|
374
|
+
```jsonc
|
375
|
+
{
|
376
|
+
"style": "is-large", // global attribute
|
377
|
+
"type": "icons", // define icons element
|
378
|
+
"content": [ // icons array
|
379
|
+
{
|
380
|
+
"style": "fa-stack-2x", // global attribute
|
381
|
+
"name": "fa-university" // ForkAwesome icon
|
382
|
+
}
|
383
|
+
// ... put more icons here ...
|
384
|
+
]
|
385
|
+
}
|
386
|
+
```
|
387
|
+
|
388
|
+
## Links
|
389
|
+
|
390
|
+
The links `_data/links.json` are used to generate contact information for the contact page. They are organized inside an array that can have many links organized as such:
|
391
|
+
|
392
|
+
```jsonc
|
393
|
+
[ // array
|
394
|
+
{
|
395
|
+
"reference": "https://twitter.com/", // link reference
|
396
|
+
"icon": "fa-twitter" // link icon
|
397
|
+
}
|
398
|
+
// ... more links here ...
|
399
|
+
]
|
400
|
+
```
|
401
|
+
|
402
|
+
---
|
403
|
+
|
404
|
+
# Contributions
|
405
|
+
|
406
|
+
Feel free to leave your contribution here, I would really appreciate it!
|
407
|
+
Also, if you have any doubts or troubles using this package just contact me or leave an issue.
|