-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9d9c16b
commit 6ff780b
Showing
70 changed files
with
26,741 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"env": { | ||
"test": { | ||
"presets": [ | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
"targets": { | ||
"node": "current" | ||
} | ||
} | ||
] | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# editorconfig.org | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
module.exports = { | ||
root: true, | ||
env: { | ||
browser: true, | ||
node: true | ||
}, | ||
parserOptions: { | ||
parser: 'babel-eslint' | ||
}, | ||
extends: [ | ||
'@nuxtjs', | ||
'plugin:nuxt/recommended' | ||
], | ||
// add your custom rules here | ||
rules: { | ||
semi: [2, "always"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
# Created by .ignore support plugin (hsz.mobi) | ||
### Node template | ||
# Logs | ||
/logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (https://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# TypeScript v1 declaration files | ||
typings/ | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variables file | ||
.env | ||
|
||
# parcel-bundler cache (https://parceljs.org/) | ||
.cache | ||
|
||
# next.js build output | ||
.next | ||
|
||
# nuxt.js build output | ||
.nuxt | ||
|
||
# Nuxt generate | ||
dist | ||
|
||
# vuepress build output | ||
.vuepress/dist | ||
|
||
# Serverless directories | ||
.serverless | ||
|
||
# IDE / Editor | ||
.idea | ||
|
||
# Service worker | ||
sw.* | ||
|
||
# macOS | ||
.DS_Store | ||
|
||
# Vim swap files | ||
*.swp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# docs-src | ||
|
||
> Documentation for naboris | ||
## Build Setup | ||
|
||
``` bash | ||
# install dependencies | ||
$ npm install | ||
|
||
# serve with hot reload at localhost:3000 | ||
$ npm run dev | ||
|
||
# build for production and launch server | ||
$ npm run build | ||
$ npm run start | ||
|
||
# generate static project | ||
$ npm run generate | ||
``` | ||
|
||
For detailed explanation on how things work, check out [Nuxt.js docs](https://nuxtjs.org). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# ASSETS | ||
|
||
**This directory is not required, you can delete it if you don't want to use it.** | ||
|
||
This directory contains your un-compiled assets such as LESS, SASS, or JavaScript. | ||
|
||
More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/assets#webpacked). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export default { | ||
SET_DARK_MODE: 'TOGGLE_DARK_MODE', | ||
SET_LANGUAGE: 'TOGGLE_LANGUAGE', | ||
DARK_MODE: 'DARK_MODE', | ||
LANG: 'LANG', | ||
SET_LOADING: 'SET_LOADING' | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export default { | ||
MAIN: 'MAIN', | ||
GETTING_STARTED: 'GETTING_STARTED' | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
import * as Cookie from 'js-cookie'; | ||
|
||
import actions from '~/assets/js/main-actions'; | ||
|
||
const { | ||
SET_LANGUAGE, | ||
SET_DARK_MODE, | ||
DARK_MODE, | ||
LANG, | ||
SET_LOADING | ||
} = actions; | ||
|
||
export default { | ||
fetch ({ store }) { | ||
const { | ||
commit, | ||
state | ||
} = store; | ||
const { | ||
language, | ||
darkMode | ||
} = state; | ||
|
||
const storedLanguage = Cookie.get(LANG); | ||
const storedDarkModeStr = Cookie.get(DARK_MODE); | ||
|
||
// eslint-disable-next-line no-console | ||
console.log({ | ||
storedDarkModeStr, | ||
storedLanguage, | ||
state: JSON.stringify(state) | ||
}); | ||
if (storedLanguage !== undefined && storedLanguage !== language) { | ||
commit({ | ||
type: SET_LANGUAGE, | ||
language: storedLanguage | ||
}); | ||
} | ||
|
||
if (storedDarkModeStr) { | ||
try { | ||
const storedDarkMode = JSON.parse(storedDarkModeStr); | ||
if (storedDarkMode !== darkMode) { | ||
commit({ | ||
type: SET_DARK_MODE, | ||
darkMode: storedDarkMode | ||
}); | ||
} | ||
} catch (e) { | ||
// eslint-disable-next-line no-console | ||
console.error(e); | ||
} | ||
} | ||
|
||
commit({ | ||
type: SET_LOADING, | ||
loading: false | ||
}); | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
@charset "utf-8"; | ||
/*! bulma.io v0.8.0 | MIT License | github.com/jgthms/bulma */ | ||
@import "../../node_modules/bulma/sass/utilities/_all"; | ||
@import "../../node_modules/bulma/sass/base/_all"; | ||
@import "../../node_modules/bulma/sass/elements/box.sass"; | ||
@import "../../node_modules/bulma/sass/elements/button.sass"; | ||
@import "../../node_modules/bulma/sass/elements/container.sass"; | ||
@import "../../node_modules/bulma/sass/elements/content.sass"; | ||
@import "../../node_modules/bulma/sass/elements/icon.sass"; | ||
@import "../../node_modules/bulma/sass/elements/image.sass"; | ||
@import "../../node_modules/bulma/sass/elements/notification.sass"; | ||
@import "../../node_modules/bulma/sass/elements/progress.sass"; | ||
@import "../../node_modules/bulma/sass/elements/table.sass"; | ||
@import "../../node_modules/bulma/sass/elements/tag.sass"; | ||
@import "../../node_modules/bulma/sass/elements/title.sass"; | ||
@import "../../node_modules/bulma/sass/form/_all"; | ||
@import "../../node_modules/bulma/sass/components/_all"; | ||
@import "../../node_modules/bulma/sass/grid/_all"; | ||
@import "../../node_modules/bulma/sass/layout/_all"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
$google-font-path: "~static/fonts/google"; | ||
|
||
|
||
/* cyrillic-ext */ | ||
@font-face { | ||
font-family: 'Noto Sans'; | ||
font-style: normal; | ||
font-weight: 400; | ||
font-display: block; | ||
src: local('Noto Sans'), local('NotoSans'), url("#{$google-font-path}/noto-sans-cyrillic-ext.woff2") format('woff2'); | ||
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; | ||
} | ||
/* cyrillic */ | ||
@font-face { | ||
font-family: 'Noto Sans'; | ||
font-style: normal; | ||
font-weight: 400; | ||
font-display: block; | ||
src: local('Noto Sans'), local('NotoSans'), url("#{$google-font-path}/noto-sans-cyrillic.woff2") format('woff2'); | ||
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; | ||
} | ||
/* devanagari */ | ||
@font-face { | ||
font-family: 'Noto Sans'; | ||
font-style: normal; | ||
font-weight: 400; | ||
font-display: block; | ||
src: local('Noto Sans'), local('NotoSans'), url("#{$google-font-path}/noto-sans-devanagari.woff2") format('woff2'); | ||
unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB; | ||
} | ||
/* greek-ext */ | ||
@font-face { | ||
font-family: 'Noto Sans'; | ||
font-style: normal; | ||
font-weight: 400; | ||
font-display: block; | ||
src: local('Noto Sans'), local('NotoSans'), url("#{$google-font-path}/noto-sans-greek-ext.woff2") format('woff2'); | ||
unicode-range: U+1F00-1FFF; | ||
} | ||
/* greek */ | ||
@font-face { | ||
font-family: 'Noto Sans'; | ||
font-style: normal; | ||
font-weight: 400; | ||
font-display: block; | ||
src: local('Noto Sans'), local('NotoSans'), url("#{$google-font-path}/noto-sans-greek.woff2") format('woff2'); | ||
unicode-range: U+0370-03FF; | ||
} | ||
/* vietnamese */ | ||
@font-face { | ||
font-family: 'Noto Sans'; | ||
font-style: normal; | ||
font-weight: 400; | ||
font-display: block; | ||
src: local('Noto Sans'), local('NotoSans'), url("#{$google-font-path}/noto-sans-vietnamese.woff2") format('woff2'); | ||
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; | ||
} | ||
/* latin-ext */ | ||
@font-face { | ||
font-family: 'Noto Sans'; | ||
font-style: normal; | ||
font-weight: 400; | ||
font-display: block; | ||
src: local('Noto Sans'), local('NotoSans'), url("#{$google-font-path}/noto-sans-latin-ext.woff2") format('woff2'); | ||
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; | ||
} | ||
/* latin */ | ||
@font-face { | ||
font-family: 'Noto Sans'; | ||
font-style: normal; | ||
font-weight: 400; | ||
font-display: block; | ||
src: local('Noto Sans'), local('NotoSans'), url("#{$google-font-path}/noto-sans-latin.woff2") format('woff2'); | ||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
.button { | ||
svg { | ||
fill: $white-bis; | ||
height: 100%; | ||
width: 100%; | ||
margin-top: 5px; | ||
} | ||
|
||
svg.is-danger { | ||
fill: $danger; | ||
} | ||
|
||
svg.is-warning { | ||
fill: $warning; | ||
} | ||
} | ||
|
||
.navbar-item { | ||
svg.naboris-svg { | ||
height: 36px; | ||
width: 36px; | ||
margin-right: 5px; | ||
path { | ||
fill: $white-bis; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.frontmatter-markdown { | ||
|
||
h4 { | ||
margin-top: 3em; | ||
} | ||
|
||
} |
Oops, something went wrong.