Skip to content

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcgrtz committed Sep 9, 2021
0 parents commit 0f2805c
Show file tree
Hide file tree
Showing 24 changed files with 13,671 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This file is for unifying the coding style for different editors
# and IDEs. EditorConfig is awesome: https://EditorConfig.org

# ######################################################################
# # TOP-MOST .EDITORCONFIG FILE #
# ######################################################################
root = true

# ######################################################################
# # ALL FILES #
# ######################################################################
[*]
# indent using spaces
indent_style = space
indent_size = 2
# Unix-style newlines with a newline ending every file
end_of_line = lf
insert_final_newline = true
# use UTF-8 without BOM
charset = utf-8
# remove any trailing whitespace
trim_trailing_whitespace = true

# ######################################################################
# # MARKDOWN FILES #
# ######################################################################
[*.md]
# do not remove trailing spaces for line-breaks
trim_trailing_whitespace = false

12 changes: 12 additions & 0 deletions .eleventy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = function(eleventyConfig) {
eleventyConfig.addPassthroughCopy({
'src/_static': '.'
});
return {
dir: {
input: 'src',
output: 'public',
layouts: '_layouts',
},
};
};
17 changes: 17 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Automatically normalize line endings for all text-based files
# https://git-scm.com/docs/gitattributes#_end_of_line_conversion
* text=auto

# For the following file types, normalize line endings to LF on
# checkin and prevent conversion to CRLF when they are checked out
# (this is required in order to prevent newline related issues like,
# for example, after the build script is run)
.* text eol=lf
*.css text eol=lf
*.html text eol=lf
*.js text eol=lf
*.json text eol=lf
*.md text eol=lf
*.sh text eol=lf
*.txt text eol=lf
*.xml text eol=lf
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.cache
node_modules
public
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
8 changes: 8 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"recommendations": [
"editorconfig.editorconfig",
"ronnidc.nunjucks",
"samverschueren.linter-xo",
"stylelint.vscode-stylelint"
]
}
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"xo.enable": true,
"xo.format.enable": true
}
15 changes: 15 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Eleventy",
"type": "shell",
"command": "eleventy",
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
24 changes: 24 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# MIT License

Copyright (c) Marc Görtz

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.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Marc‘s Arm

> The latest news on Marc‘s arm – live from the Web!
This is the source code of
[arm.marcgoertz.de](https://arm.marcgoertz.de/), a ”progress
indicator“ for my arm‘s recovery. It is build with
[Eleventy](https://www.11ty.dev/).

Update `./src/status.js` to update the progress, using the
neutral-zero method for joint mobility.

## License

MIT © [Marc Görtz](https://marcgoertz.de/)
Loading

0 comments on commit 0f2805c

Please sign in to comment.