diff --git a/.eslintrc.json b/.eslintrc.json index bffb357..2d568bf 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,3 +1,9 @@ { - "extends": "next/core-web-vitals" + "extends": ["next/core-web-vitals", "next/typescript"], + "rules": { + "no-mixed-spaces-and-tabs": "off", + "no-restricted-syntax": ["error", "WithStatement"], + "@typescript-eslint/no-shadow": "error", + "@typescript-eslint/no-empty-function": "error" + } } diff --git a/.prettierrc.toml b/.prettierrc.toml new file mode 100644 index 0000000..8fda410 --- /dev/null +++ b/.prettierrc.toml @@ -0,0 +1,7 @@ +trailingComma = "all" +semi = true +singleQuote = false + +bracketSpacing = true +bracketSameLine = false +arrowParens = "always" diff --git a/LICENSE b/LICENSE index 4ff90f1..1626fd4 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2021 Nilay Majorwar +Copyright (c) 2024 mark@betalupi.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -18,4 +18,4 @@ 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. +SOFTWARE. \ No newline at end of file diff --git a/ui/assets/generate-ico.sh b/ui/assets/generate-ico.sh new file mode 100644 index 0000000..218aa3d --- /dev/null +++ b/ui/assets/generate-ico.sh @@ -0,0 +1,9 @@ +#!/bin/bash +SOURCE="$1" + +inkscape -w 16 -h 16 -o 16.png "$SOURCE" +inkscape -w 32 -h 32 -o 32.png "$SOURCE" +inkscape -w 64 -h 128 -o 64.png "$SOURCE" +inkscape -w 128 -h 128 -o 128.png "$SOURCE" + +magick 16.png 32.png 64.png 128.png favicon.ico