started-new-blog

This commit is contained in:
Rick van Lieshout 2022-09-04 23:58:49 +02:00
parent fb52855297
commit 1ec208cf70
37 changed files with 20789 additions and 13298 deletions

View File

@ -1,81 +0,0 @@
version: 2
defaults: &defaults
docker:
- image: cimg/node:18.4.0
working_directory: ~/gatsby-starter-lumen
jobs:
install:
<<: *defaults
steps:
- checkout
- restore_cache:
keys:
- dependencies-{{ checksum "package-lock.json" }}
- run: npm ci
- save_cache:
paths:
- node_modules
key: dependencies-{{ checksum "package-lock.json" }}
lint:
<<: *defaults
steps:
- checkout
- restore_cache:
keys:
- dependencies-{{ checksum "package-lock.json" }}
- run: npm run lint
test:
<<: *defaults
steps:
- checkout
- restore_cache:
keys:
- dependencies-{{ checksum "package-lock.json" }}
- run: npm run test --runInBand --no-cache
coverage:
<<: *defaults
steps:
- checkout
- restore_cache:
keys:
- dependencies-{{ checksum "package-lock.json" }}
- run: npm run test:coverage --runInBand --no-cache
- save_cache:
key: coverage-{{ .Environment.CIRCLE_SHA1 }}
paths:
- coverage
codecov:
<<: *defaults
steps:
- checkout
- restore_cache:
keys:
- dependencies-{{ checksum "package-lock.json" }}
- restore_cache:
keys:
- coverage-{{ .Environment.CIRCLE_SHA1 }}
- run: npx codecov
workflows:
version: 2
test:
jobs:
- install
- lint:
requires:
- install
- test:
requires:
- install
- coverage:
requires:
- install
- codecov:
requires:
- coverage

View File

@ -1,23 +1,16 @@
{ {
"env": {
"node": true,
"browser": true,
"jasmine": true,
"jest/globals": true
},
"extends": [ "extends": [
"plugin:import/typescript", "plugin:import/typescript",
"plugin:import/errors", "plugin:import/errors",
"airbnb-typescript", "airbnb-typescript",
"@alxshelepenok/eslint-config", "@mastermindzh/eslint-config"
"prettier"
], ],
"parser": "@typescript-eslint/parser", "parser": "@typescript-eslint/parser",
"parserOptions": { "parserOptions": {
"project": "./tsconfig.json" "project": "./tsconfig.json"
}, },
"plugins": [ "plugins": [
"import",
"react", "react",
"jest", "jest",
"@typescript-eslint", "@typescript-eslint",
@ -34,15 +27,6 @@
] ]
} }
], ],
"import/order": ["off"],
"import/no-internal-modules": ["off"],
"import/no-named-as-default": ["off"],
"import/prefer-default-export": ["off"],
"sort-keys": ["off"],
"camelcase": ["off"],
"comma-dangle": ["error", "always-multiline"],
"sort-imports": ["off"],
"no-restricted-globals": ["off"],
"@typescript-eslint/no-unused-vars": ["off"], "@typescript-eslint/no-unused-vars": ["off"],
"@typescript-eslint/no-use-before-define": ["off"], "@typescript-eslint/no-use-before-define": ["off"],
"@typescript-eslint/quotes": ["error", "double"], "@typescript-eslint/quotes": ["error", "double"],
@ -52,21 +36,7 @@
"selector": "parameter" "selector": "parameter"
}], }],
"react/static-property-placement": ["off"], "react/static-property-placement": ["off"],
"react/prop-types": ["off"], "react/prop-types": ["off"]
"simple-import-sort/imports": [
"error",
{
"groups": [
["^(react|path)"],
["^\\u0000"],
["^@?\\w"],
["^[^. ]"],
["^\\."],
["^(images|!!raw-loader)"],
["w*(w*.*css)"]
]
}
]
}, },
"settings": { "settings": {
"import/resolver": { "import/resolver": {

View File

@ -1,38 +0,0 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
**Additional context**
Add any other context about the problem here.

View File

@ -1,20 +0,0 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

View File

@ -1,10 +0,0 @@
## Description
<!-- Write a brief description of the changes introduced by this PR -->
## Related Issues
<!--
Link to the issue that is fixed by this PR (if there is one)
e.g. Fixes #1234, Addresses #1234, Related to #1234, etc.
-->

BIN
.github/logo.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

View File

@ -27,7 +27,7 @@ jobs:
- name: Run tests - name: Run tests
run: npm run test run: npm run test
- name: Release # - name: Release
env: # env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run semantic-release # run: npm run semantic-release

View File

@ -1,4 +0,0 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npm run lint:commit

View File

@ -1,4 +0,0 @@
{
"arrowParens": "always",
"trailingComma": "all"
}

View File

@ -1,59 +0,0 @@
{
"branches": ["master"],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{ "type": "chore", "release": "patch" },
{ "type": "chore", "scope": "release", "release": false },
{ "type": "refactor", "release": "patch" }
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "chore",
"section": "Chores"
},
{
"type": "refactor",
"section": "Refactors"
},
{
"type": "revert",
"section": "Reverts"
}
]
}
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "npm version ${nextRelease.version} --no-git-tag-version --allow-same-version",
}
],
[
"@semantic-release/git",
{
"assets": ["package.json"],
"message": "chore(release): ${nextRelease.version} [skip ci]"
}
]
]
}

View File

@ -1,76 +0,0 @@
# Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project, and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.
## Our Standards
Examples of behavior that contributes to creating a positive environment
include:
- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members
Examples of unacceptable behavior by participants include:
- The use of sexualized language or imagery and unwelcome sexual attention or
advances
- Trolling, insulting/derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or electronic
address, without explicit permission
- Other conduct which could reasonably be considered inappropriate in a
professional setting
## Our Responsibilities
Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.
Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.
## Scope
This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at alxshelepenok@gmail.com. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.
Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
[homepage]: https://www.contributor-covenant.org
For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq

View File

@ -1,79 +0,0 @@
# Contributing
When contributing to this repository, please first discuss the change you wish to make via issue,
email, or any other method with the owners of this repository before making a change.
Please note we have a code of conduct, please follow it in all your interactions with the project.
## Pull Request Process
1. Ensure any install or build dependencies are removed before the end of the layer when doing a
build.
2. Update the README.md with details of changes to the interface, this includes new environment
variables, exposed ports, useful file locations and container parameters.
3. Increase the version numbers in any examples files, and the README.md to the new version that this
Pull Request would represent. The versioning scheme we use is [SemVer](http://semver.org/).
4. You may merge the Pull Request in once you have the sign-off of two other developers, or if you
do not have permission to do that, you may request the second reviewer to merge it for you.
## Code of Conduct
### Our Pledge
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project, and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, gender identity and expression, level of experience,
nationality, personal appearance, race, religion, or sexual identity and
orientation.
### Our Standards
Examples of behavior that contributes to creating a positive environment
include:
- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members
Examples of unacceptable behavior by participants include:
- The use of sexualized language or imagery and unwelcome sexual attention or
advances
- Trolling, insulting/derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or electronic
address, without explicit permission
- Other conduct which could reasonably be considered inappropriate in a
professional setting
### Our Responsibilities
Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.
Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.
### Scope
This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.
### Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at [http://contributor-covenant.org/version/1/4][version]
[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/

23
LICENSE
View File

@ -1,5 +1,28 @@
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2022-now Rick van Lieshout
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
The MIT License (MIT)
Copyright (c) 2016-2022 Alexander Shelepenok Copyright (c) 2016-2022 Alexander Shelepenok
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy

153
README.md
View File

@ -1,145 +1,14 @@
<h1 align="center"> # Rickvanlieshout.com
<img alt="Lumen" title="Lumen" src="https://github.com/alxshelepenok/gatsby-starter-lumen/blob/master/.github/logo.png" width="140"> </br>
Lumen
</h1>
<h4 align="center"> This is the repository for my personal blog/website [rickvanlieshout.com](https://rickvanlieshout.com).
A constantly evolving and thoughtful architecture for creating new static blogs.
</h4>
<p align="center"> ## Todo
<a target="_blank" href="https://circleci.com/gh/alxshelepenok/gatsby-starter-lumen"><img src="https://circleci.com/gh/alxshelepenok/gatsby-starter-lumen.svg?style=svg"></a> <a target="_blank" href="https://codecov.io/gh/alxshelepenok/gatsby-starter-lumen"><img src="https://codecov.io/gh/alxshelepenok/gatsby-starter-lumen/branch/master/graph/badge.svg"></a> <a target="_blank" href="https://www.codacy.com/gh/alxshelepenok/gatsby-starter-lumen/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=alxshelepenok/gatsby-starter-lumen&amp;utm_campaign=Badge_Grade"><img src="https://app.codacy.com/project/badge/Grade/2d21235e36e34b758aaa27fecd3c8048"></a> <a target="_blank" href="https://codeclimate.com/github/alxshelepenok/gatsby-starter-lumen"><img src="https://img.shields.io/codeclimate/maintainability/alxshelepenok/gatsby-starter-lumen.svg"></a> <a href="https://app.fossa.io/projects/git%2Bgithub.com%2Falxshelepenok%2Fgatsby-starter-lumen?ref=badge_shield" alt="FOSSA Status"><img src="https://app.fossa.io/api/projects/git%2Bgithub.com%2Falxshelepenok%2Fgatsby-starter-lumen.svg?type=shield"/></a>
</p>
## Table of contents - Add a dark mode
- width customizations (variables + sidebar.module.scss)
- [Features](http://github.com/alxshelepenok/gatsby-starter-lumen#features) - custom blog header
- [Quick Start](http://github.com/alxshelepenok/gatsby-starter-lumen#quick-start) - migrate resume
- [Folder Structure](http://github.com/alxshelepenok/gatsby-starter-lumen#folder-structure) - migrate projects
- [Sponsors](http://github.com/alxshelepenok/gatsby-starter-lumen#sponsors) - migrate some example blogs
- [Contributors](http://github.com/alxshelepenok/gatsby-starter-lumen#contributors) - set up cookiebar + page
- [License](http://github.com/alxshelepenok/gatsby-starter-lumen#license) - release to sftp or gh-pages
## Features
- Beautiful typography.
- Mobile first approach in development.
- Syntax highlighting in code blocks using PrismJS.
- Pagination support.
## Quick Start
```
$ npm install
$ npm run start
```
## Folder Structure
```
.
├── internal
│   ├── definitions
│   ├── gatsby
│   │   ├── constants
│   │   ├── queries
│   │   ├── types
│   │   └── utils
│   └── testing
│   └── __mocks__
└── src
├── assets
│   └── scss
│   ├── base
│   └── mixins
├── components
│   ├── Feed
│   ├── Icon
│   ├── Image
│   ├── Layout
│   ├── Page
│   ├── Pagination
│   ├── Post
│   │   ├── Author
│   │   ├── Comments
│   │   ├── Content
│   │   ├── Meta
│   │   └── Tags
│   └── Sidebar
│   ├── Author
│   ├── Contacts
│   ├── Copyright
│   └── Menu
├── constants
├── hooks
├── templates
│   ├── CategoriesTemplate
│   ├── CategoryTemplate
│   ├── IndexTemplate
│   ├── NotFoundTemplate
│   ├── PageTemplate
│   ├── PostTemplate
│   ├── TagsTemplate
│   └── TagTemplate
├── types
└── utils
```
## Sponsors
Development efforts are supported by the sponsors. I'm very grateful for their donations, please check them out!
| <a href="https://www.browserstack.com" target="_blank"><img width="250" src="https://gist.githubusercontent.com/alxshelepenok/94cbc6dc4a2cb8167ee188ddab33893a/raw/f869c9a67db7bfd5440a49178195efe811d8f7d8/browserstack.svg"></a> | <a href="https://sentry.io" target="_blank"><img width="250" src="https://gist.githubusercontent.com/alxshelepenok/1a74dbe123b2f7ad538f41c94e2da0a2/raw/aaeb3b38ef0873bae1f23f3605696b4e65362e67/sentry.svg"></a> |
| :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
## Contributors
Thanks to these wonderful people!
| [<img alt="vzhou842" src="https://avatars.githubusercontent.com/u/10209814?v=4&s=117" width="117">](https://github.com/vzhou842) | [<img alt="abisz" src="https://avatars.githubusercontent.com/u/7287780?v=4&s=117" width="117">](https://github.com/abisz) | [<img alt="remi-bruguier" src="https://avatars.githubusercontent.com/u/7031328?v=4&s=117" width="117">](https://github.com/remi-bruguier) | [<img alt="sparklesam" src="https://avatars.githubusercontent.com/u/10287995?v=4&s=117" width="117">](https://github.com/sparklesam) | [<img alt="vinnymac" src="https://avatars.githubusercontent.com/u/1832781?v=4&s=117" width="117">](https://github.com/vinnymac) | [<img alt="mariolopjr" src="https://avatars.githubusercontent.com/u/2067324?v=4&s=117" width="117">](https://github.com/mariolopjr) |
| :------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------: |
| [vzhou842](https://github.com/vzhou842) | [abisz](https://github.com/abisz) | [remi-bruguier](https://github.com/remi-bruguier) | [sparklesam](https://github.com/sparklesam) | [vinnymac](https://github.com/vinnymac) | [mariolopjr](https://github.com/mariolopjr) |
| [<img alt="ihororlovskyi" src="https://avatars.githubusercontent.com/u/7969737?v=4&s=117" width="117">](https://github.com/ihororlovskyi) | [<img alt="rtveitch" src="https://avatars.githubusercontent.com/u/25228001?v=4&s=117" width="117">](https://github.com/rtveitch) | [<img alt="timbroder" src="https://avatars.githubusercontent.com/u/121503?v=4&s=117" width="117">](https://github.com/timbroder) | [<img alt="yodahuang" src="https://avatars.githubusercontent.com/u/11242657?v=4&s=117" width="117">](https://github.com/yodahuang) | [<img alt="axelclark" src="https://avatars.githubusercontent.com/u/16856928?v=4&s=117" width="117">](https://github.com/axelclark) | [<img alt="tonyz0x0" src="https://avatars.githubusercontent.com/u/29159357?v=4&s=117" width="117">](https://github.com/tonyz0x0) |
| :---------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------: |
| [ihororlovskyi](https://github.com/ihororlovskyi) | [rtveitch](https://github.com/rtveitch) | [timbroder](https://github.com/timbroder) | [yodahuang](https://github.com/yodahuang) | [axelclark](https://github.com/axelclark) | [tonyz0x0](https://github.com/tonyz0x0) |
| [<img alt="tranlehaiquan" src="https://avatars.githubusercontent.com/u/17347993?v=4&s=117" width="117">](https://github.com/tranlehaiquan) | [<img alt="seandearnaley" src="https://avatars.githubusercontent.com/u/5084762?v=4&s=117" width="117">](https://github.com/seandearnaley) | [<img alt="stigrune" src="https://avatars.githubusercontent.com/u/1052748?v=4&s=117" width="117">](https://github.com/stigrune) | [<img alt="ybbarng" src="https://avatars.githubusercontent.com/u/1793950?v=4&s=117" width="117">](https://github.com/ybbarng) | [<img alt="marktani" src="https://avatars.githubusercontent.com/u/1780597?v=4&s=117" width="117">](https://github.com/marktani) | [<img alt="concreted" src="https://avatars.githubusercontent.com/u/4016897?v=4&s=117" width="117">](https://github.com/concreted) |
| :----------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------: |
| [tranlehaiquan](https://github.com/tranlehaiquan) | [seandearnaley](https://github.com/seandearnaley) | [stigrune](https://github.com/stigrune) | [ybbarng](https://github.com/ybbarng) | [marktani](https://github.com/marktani) | [concreted](https://github.com/concreted) |
| [<img alt="gipcompany" src="https://avatars.githubusercontent.com/u/130989?v=4&s=117" width="117">](https://github.com/gipcompany) | [<img alt="chmac" src="https://avatars.githubusercontent.com/u/690997?v=4&s=117" width="117">](https://github.com/chmac) | [<img alt="charandas" src="https://avatars.githubusercontent.com/u/542168?v=4&s=117" width="117">](https://github.com/charandas) | [<img alt="ibraheemdev" src="https://avatars.githubusercontent.com/u/34988408?v=4&s=117" width="117">](https://github.com/ibraheemdev) | [<img alt="sladinji" src="https://avatars.githubusercontent.com/u/8300799?v=4&s=117" width="117">](https://github.com/sladinji) | [<img alt="marcelabomfim" src="https://avatars.githubusercontent.com/u/6224547?v=4&s=117" width="117">](https://github.com/marcelabomfim) |
| :--------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------: |
| [gipcompany](https://github.com/gipcompany) | [chmac](https://github.com/chmac) | [charandas](https://github.com/charandas) | [ibraheemdev](https://github.com/ibraheemdev) | [sladinji](https://github.com/sladinji) | [marcelabomfim](https://github.com/marcelabomfim) |
| [<img alt="zollillo" src="https://avatars.githubusercontent.com/u/8833904?v=4&s=117" width="117">](https://github.com/zollillo) | [<img alt="codejet" src="https://avatars.githubusercontent.com/u/802203?v=4&s=117" width="117">](https://github.com/codejet) | [<img alt="reed-jones" src="https://avatars.githubusercontent.com/u/11511864?v=4&s=117" width="117">](https://github.com/reed-jones) | [<img alt="SayakaOno" src="https://avatars.githubusercontent.com/u/33141219?v=4&s=117" width="117">](https://github.com/SayakaOno) | [<img alt="Puterism" src="https://avatars.githubusercontent.com/u/2542730?v=4&s=117" width="117">](https://github.com/Puterism) | [<img alt="swapnilmishra" src="https://avatars.githubusercontent.com/u/875450?v=4&s=117" width="117">](https://github.com/swapnilmishra) |
| :-----------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------: |
| [zollillo](https://github.com/zollillo) | [codejet](https://github.com/codejet) | [reed-jones](https://github.com/reed-jones) | [SayakaOno](https://github.com/SayakaOno) | [Puterism](https://github.com/Puterism) | [swapnilmishra](https://github.com/swapnilmishra) |
| [<img alt="vvasiloud" src="https://avatars.githubusercontent.com/u/5891530?v=4&s=117" width="117">](https://github.com/vvasiloud) | [<img alt="lune-sta" src="https://avatars.githubusercontent.com/u/1887764?v=4&s=117" width="117">](https://github.com/lune-sta) | [<img alt="yaaooo" src="https://avatars.githubusercontent.com/u/16640310?v=4&s=117" width="117">](https://github.com/yaaooo) | [<img alt="vstoms" src="https://avatars.githubusercontent.com/u/22646173?v=4&s=117" width="117">](https://github.com/vstoms) | [<img alt="wichopy" src="https://avatars.githubusercontent.com/u/24414632?v=4&s=117" width="117">](https://github.com/wichopy) | [<img alt="yairmark" src="https://avatars.githubusercontent.com/u/28291977?v=4&s=117" width="117">](https://github.com/yairmark) |
| :-------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------: |
| [vvasiloud](https://github.com/vvasiloud) | [lune-sta](https://github.com/lune-sta) | [yaaooo](https://github.com/yaaooo) | [vstoms](https://github.com/vstoms) | [wichopy](https://github.com/wichopy) | [yairmark](https://github.com/yairmark) |
## License
The MIT License (MIT)
Copyright (c) 2016-2022 Alexander Shelepenok
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -1,11 +1,11 @@
{ {
"title": "Blog by John Doe", "title": "Rick van Lieshout ~ Mastermindzh",
"url": "https://lumen.alxshelepenok.com", "url": "https://rickvanlieshout.com",
"subtitle": "Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu.", "subtitle": "The thoughts, discoveries and murmurings of a Software enthusiast",
"copyright": "© All rights reserved.", "copyright": "© All rights reserved.",
"googleAnalyticsId": "UA-73379983-2", "googleAnalyticsId": "",
"disqusShortname": "", "disqusShortname": "",
"postsLimit": 4, "postsLimit": 10,
"pathPrefix": "/", "pathPrefix": "/",
"menu": [ "menu": [
{ {
@ -16,29 +16,37 @@
"label": "About me", "label": "About me",
"path": "/pages/about" "path": "/pages/about"
}, },
{
"label": "Resume",
"path": "/pages/resume"
},
{
"label": "Portfolio",
"path": "/pages/portfolio"
},
{ {
"label": "Contact me", "label": "Contact me",
"path": "/pages/contacts" "path": "/pages/contacts"
} }
], ],
"author": { "author": {
"name": "John Doe", "name": "Rick van Lieshout",
"photo": "/photo.jpg", "photo": "/me.png",
"bio": "Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu.", "bio": "Passionate about minimalistic software, the Linux philosophy, doing things right and having fun. Currently working as the lead Software Architect @ INFORIT",
"contacts": { "contacts": {
"email": "info@rickvanlieshout.com",
"github": "mastermindzh",
"facebook": "",
"rss": "", "rss": "",
"email": "", "twitter": "mastermindzh",
"github": "#", "linkedin": "rickvanlieshout",
"facebook": "#", "youtube": "RickvanLieshoutt",
"telegram": "#", "instagram": "",
"twitter": "#",
"linkedin": "#",
"instagram": "#",
"line": "", "line": "",
"telegram": "",
"weibo": "", "weibo": "",
"gitlab": "", "gitlab": "",
"medium": "", "medium": "",
"youtube": "",
"codepen": "", "codepen": "",
"soundcloud": "" "soundcloud": ""
} }

BIN
content/me.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

View File

@ -1,13 +1,20 @@
--- ---
title: "About me" title: "Hello, I am Rick van Lieshout!"
template: "page" template: "page"
socialImage: "/notebook.jpg"
--- ---
Some people are bookworms, I am a bitworm.
I fell in love with computing a long time ago and the virus could, fortunately, never be cured.
Little by little, I gained experience in Computer Technology, Programming and IT design.
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. For the past 17 years I've been using Linux which made me appreciate well-written cross-platform software.
Years later I strive to provide a seamless experience by doing just that... creating well-written cross-platform and web software.
My language of choice to do this is Javascript, hated by many, loved by some, adored by me.
![Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi.](/notebook.jpg) Over the years I've seen (and/or tried) a lot of programming languages, technologies, techniques and software products which only made me more eager to progress in this field.
Change is inevitable and I aim to be one of its driving forces.
_Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi._ I've made a habit of openly challenging assumptions / solutions (even though people don't usually like their assumptions challenged).
This mentality drives me to not only get the best out of myself but others too, I like to cooperate with fellow developers to work towards a common goal.
Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. Donec non enim in turpis pulvinar facilisis. Ut felis. Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus Even though software development is my main area of interest I am also passionate about Linux and DevOps.
Besides the two major interests I also love to dabble in hardware, hi-fi and home automation.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

View File

@ -1,31 +1,9 @@
--- ---
title: "Contact me" title: "Contact me"
template: "page" template: "page"
socialImage: "/book.jpg" socialImage: "/contact.jpg"
--- ---
Morbi in sem quis dui placerat ornare. Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu. Cras consequat. ![Contact image with flying envelopes](./contact.jpg)
Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. To contact me you can send me an email at [info@rickvanlieshout.com](mailto:info@rickvanlieshout.com), call at [+31 6 144 36 56 2](tel:+31614436562) or contact me through one of the social media services on the left.
![Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi.](/book.jpg)
_Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi._
## Header Level 2
Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus.
- **Lorem ipsum** dolor sit amet, consectetuer adipiscing elit.
- Aliquam tincidunt mauris eu risus.
- Vestibulum auctor dapibus neque.
### Header Level 3
Phasellus ultrices nulla quis nibh. Quisque a lectus. Donec **consectetuer** ligula vulputate sem tristique cursus. Nam nulla quam, gravida non, commodo a, sodales sit amet, nisi.
Pellentesque fermentum dolor. Aliquam quam lectus, facilisis auctor, ultrices ut, elementum vulputate, nunc.
#### Header Level 4
Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est.

View File

@ -0,0 +1,7 @@
---
title: "Portfolio"
template: "page"
---
Portfolio :O

View File

@ -0,0 +1,7 @@
---
title: "Resume"
template: "page"
socialImage: "/notebook.jpg"
---
My resume

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

View File

@ -152,7 +152,7 @@ export default {
short_name: config.title, short_name: config.title,
theme_color: "hsl(31, 92%, 62%)", theme_color: "hsl(31, 92%, 62%)",
background_color: "hsl(0, 0%, 100%)", background_color: "hsl(0, 0%, 100%)",
icon: "content/photo.jpg", icon: "content/me.png",
display: "standalone", display: "standalone",
start_url: "/", start_url: "/",
}, },
@ -183,13 +183,6 @@ export default {
}, },
}, },
}, },
{
resolve: "@sentry/gatsby",
options: {
dsn: process.env.SENTRY_DSN,
tracesSampleRate: 1,
},
},
"gatsby-plugin-image", "gatsby-plugin-image",
"gatsby-plugin-catch-links", "gatsby-plugin-catch-links",
"gatsby-plugin-react-helmet", "gatsby-plugin-react-helmet",

View File

@ -1,8 +1,8 @@
import contacts from "./contacts"; import contacts from "./contacts";
export default { export default {
photo: "/photo.jpg", photo: "/me.png",
bio: "Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu.", bio: "",
name: "John Doe", name: "Rick van Lieshout",
contacts, contacts,
}; };

3
markdownlint.json Normal file
View File

@ -0,0 +1,3 @@
{
"MD033": false
}

33279
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,12 +1,14 @@
{ {
"name": "gatsby-starter-lumen", "name": "rickvanlieshout-com",
"version": "1.1.306", "version": "0.5.0",
"description": "A constantly evolving and thoughtful architecture for creating static blogs with Gatsby", "description": "My personal blog / website",
"keywords": [ "keywords": [
"gatsby", "gatsby",
"graphql", "graphql",
"react", "react",
"blog" "blog",
"mastermindzh",
"Rick van Lieshout"
], ],
"repository": { "repository": {
"type": "git", "type": "git",
@ -21,7 +23,6 @@
"format:scss": "stylelint \"src/**/*.scss\" --fix", "format:scss": "stylelint \"src/**/*.scss\" --fix",
"format:ts": "eslint \"src\" --ext .tsx,.ts --fix && prettier --write .", "format:ts": "eslint \"src\" --ext .tsx,.ts --fix && prettier --write .",
"lint": "npm run lint:ts && npm run lint:scss", "lint": "npm run lint:ts && npm run lint:scss",
"lint:commit": "commitlint --edit",
"lint:scss": "stylelint \"src/**/*.scss\"", "lint:scss": "stylelint \"src/**/*.scss\"",
"lint:staged": "lint-staged", "lint:staged": "lint-staged",
"lint:ts": "eslint \"src\" --ext .tsx,.ts && prettier --check .", "lint:ts": "eslint \"src\" --ext .tsx,.ts && prettier --check .",
@ -33,11 +34,6 @@
"test:coverage": "jest --coverage --config ./internal/testing/jest-config.ts", "test:coverage": "jest --coverage --config ./internal/testing/jest-config.ts",
"test:watch": "jest --watch --config ./internal/testing/jest-config.ts" "test:watch": "jest --watch --config ./internal/testing/jest-config.ts"
}, },
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": { "lint-staged": {
"*.{tsx?}": [ "*.{tsx?}": [
"npm run format:ts" "npm run format:ts"
@ -47,8 +43,6 @@
] ]
}, },
"dependencies": { "dependencies": {
"@sentry/gatsby": "^7.10.0",
"@sentry/tracing": "^7.10.0",
"classnames": "^2.3.1", "classnames": "^2.3.1",
"disqus-react": "^1.1.3", "disqus-react": "^1.1.3",
"gatsby": "^4.20.0", "gatsby": "^4.20.0",
@ -80,17 +74,15 @@
"react-helmet": "^6.1.0" "react-helmet": "^6.1.0"
}, },
"devDependencies": { "devDependencies": {
"@alxshelepenok/eslint-config": "^1.0.87",
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@jest/globals": "^27.5.1", "@jest/globals": "^27.5.1",
"@mastermindzh/eslint-config": "^1.0.1",
"@semantic-release/exec": "6.0.3", "@semantic-release/exec": "6.0.3",
"@semantic-release/git": "10.0.1", "@semantic-release/git": "10.0.1",
"@swc/core": "^1.2.231", "@swc/core": "^1.2.231",
"@swc/jest": "^0.2.22", "@swc/jest": "^0.2.22",
"@types/gatsby-transformer-remark": "^2.9.1", "@types/gatsby-transformer-remark": "^2.9.1",
"@types/jest": "^27.5.2", "@types/jest": "^28.1.6",
"@types/node": "^17.0.24", "@types/node": "^18.7.3",
"@types/react": "^18.0.17", "@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6", "@types/react-dom": "^18.0.6",
"@types/react-helmet": "^6.1.5", "@types/react-helmet": "^6.1.5",
@ -102,14 +94,12 @@
"browserslist": "^4.21.3", "browserslist": "^4.21.3",
"codecov": "^3.8.3", "codecov": "^3.8.3",
"concurrently": "^7.3.0", "concurrently": "^7.3.0",
"conventional-changelog-conventionalcommits": "5.0.0",
"eslint": "^8.22.0", "eslint": "^8.22.0",
"eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0", "eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0", "eslint-config-prettier": "^8.5.0",
"eslint-config-react-app": "^7.0.1", "eslint-config-react-app": "^7.0.1",
"eslint-import-resolver-typescript": "^3.4.1", "eslint-import-resolver-typescript": "^3.4.1",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.26.0", "eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.8.2", "eslint-plugin-jest": "^26.8.2",
"eslint-plugin-jsx-a11y": "^6.6.1", "eslint-plugin-jsx-a11y": "^6.6.1",
@ -118,9 +108,9 @@
"eslint-plugin-simple-import-sort": "^7.0.0", "eslint-plugin-simple-import-sort": "^7.0.0",
"husky": "8.0.1", "husky": "8.0.1",
"identity-obj-proxy": "3.0.0", "identity-obj-proxy": "3.0.0",
"jest": "^27.5.1", "jest": "^28.1.3",
"jest-cli": "^27.5.1", "jest-cli": "^28.1.3",
"jest-environment-jsdom": "^27.5.1", "jest-environment-jsdom": "^28.1.3",
"jest-svg-transformer": "^1.0.0", "jest-svg-transformer": "^1.0.0",
"lint-staged": "^13.0.3", "lint-staged": "^13.0.3",
"lost": "9.0.0", "lost": "9.0.0",
@ -131,7 +121,6 @@
"react-test-renderer": "^18.2.0", "react-test-renderer": "^18.2.0",
"rimraf": "3.0.2", "rimraf": "3.0.2",
"sass": "^1.54.4", "sass": "^1.54.4",
"semantic-release": "^19.0.3",
"source-map-support": "^0.5.21", "source-map-support": "^0.5.21",
"stylelint": "^14.10.0", "stylelint": "^14.10.0",
"stylelint-config-recommended-scss": "^7.0.0", "stylelint-config-recommended-scss": "^7.0.0",
@ -140,7 +129,5 @@
"ts-node": "^10.9.1", "ts-node": "^10.9.1",
"typescript": "^4.7.4" "typescript": "^4.7.4"
}, },
"engines": { "prettier": "@mastermindzh/prettier-config"
"node": ">=v16.16.0"
}
} }

View File

@ -1,35 +0,0 @@
{
"extends": [
"config:base",
":automergePatch",
":automergeBranch",
":automergePatch",
":automergeBranch",
":automergeLinters",
":automergeTesters",
":automergeTypes"
],
"packageRules": [
{
"packagePatterns": ["^stylelint"],
"groupName": "stylelint"
},
{
"packagePatterns": ["^eslint"],
"groupName": "eslint"
},
{
"packagePatterns": ["gatsby"],
"groupName": "gatsby"
},
{
"packageNames": ["react", "react-dom", "react-test-renderer"],
"groupName": "react"
}
],
"labels": ["renovate"],
"prHourlyLimit": 4,
"prConcurrentLimit": 16,
"rangeStrategy": "bump",
"semanticCommits": "enabled"
}

View File

@ -3,7 +3,7 @@
$color-base: hsl(0, 0%, 13%); $color-base: hsl(0, 0%, 13%);
$color-primary: hsl(220, 100%, 68%); $color-primary: hsl(220, 100%, 68%);
$color-secondary: hsl(31, 92%, 62%); $color-secondary: hsl(220, 100%, 68%);
$color-white: hsl(0, 0%, 100%); $color-white: hsl(0, 0%, 100%);
$color-gray: color.adjust($color-base, $lightness: 40%); $color-gray: color.adjust($color-base, $lightness: 40%);
@ -27,10 +27,11 @@ $typographic-leading: math.round(16 * math.div($typographic-root-font-size, 100)
$button-height: 35px; $button-height: 35px;
$button-border-radius: 20px; $button-border-radius: 20px;
$layout-post-single-width: 945px; $layout-post-single-width: 1100px;
$layout-post-width: $layout-post-single-width - 305px; $layout-post-width: $layout-post-single-width - 305px;
$layout-width: 1070px; // $layout-width: 1070px;
$layout-width: 1300px;
$layout-breakpoint-sm: 685px; $layout-breakpoint-sm: 685px;
$layout-breakpoint-md: 960px; $layout-breakpoint-md: 960px;
$layout-breakpoint-lg: 1100px; $layout-breakpoint-lg: 1100px;

View File

@ -1,7 +1,6 @@
import React from "react"; import React from "react";
import { useSiteMetadata } from "@/hooks"; import { useSiteMetadata } from "@/hooks";
import { getContactHref } from "@/utils";
import * as styles from "./Author.module.scss"; import * as styles from "./Author.module.scss";
@ -11,14 +10,8 @@ const Author = () => {
return ( return (
<div className={styles.author}> <div className={styles.author}>
<p className={styles.bio}> <p className={styles.bio}>
{author.bio} Written by: <a href ="/pages/about">
<a <strong>{author.name}</strong>
className={styles.twitter}
href={getContactHref("twitter", author.contacts.twitter)}
rel="noopener noreferrer"
target="_blank"
>
<strong>{author.name}</strong> on Twitter
</a> </a>
</p> </p>
</div> </div>

View File

@ -39,7 +39,9 @@
@include breakpoint-md { @include breakpoint-md {
.sidebar { .sidebar {
lost-column: 1/3; lost-column: 1/4;
// TODO: column to 1/4?
// lost-column: 1/3;?
.inner { .inner {
@include padding-equal(1.5); @include padding-equal(1.5);

View File

@ -14,7 +14,7 @@ const getContactHref = (name: string, contact: string) => {
facebook: `https://www.facebook.com/${contact}`, facebook: `https://www.facebook.com/${contact}`,
instagram: `https://www.instagram.com/${contact}`, instagram: `https://www.instagram.com/${contact}`,
linkedin: `https://www.linkedin.com/in/${contact}`, linkedin: `https://www.linkedin.com/in/${contact}`,
youtube: `https://www.youtube.com/channel/${contact}`, youtube: `https://www.youtube.com/c/${contact}`,
}; };
return hrefs[name] ?? contact; return hrefs[name] ?? contact;