Skip to content

Commit

Permalink
Rewrite website
Browse files Browse the repository at this point in the history
  • Loading branch information
bortoz committed Jul 12, 2024
1 parent cf6cb50 commit c3ccc72
Show file tree
Hide file tree
Showing 149 changed files with 6,591 additions and 4,613 deletions.
14 changes: 0 additions & 14 deletions .eslintrc.cjs

This file was deleted.

59 changes: 34 additions & 25 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,33 +1,42 @@
# don't push the JSON data because it's 20+ MB
public/json/*
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# Logs
logs
*.log
# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
.DS_Store
dist
dist-ssr
coverage
*.local

/cypress/videos/
/cypress/screenshots/
# local env files
.env.local
.env.development.local
.env.test.local
.env.production.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

# IDE
.idea
.vscode
8 changes: 0 additions & 8 deletions .prettierrc.json

This file was deleted.

8 changes: 0 additions & 8 deletions .vscode/extensions.json

This file was deleted.

10 changes: 1 addition & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

1. Go to the OIS private task repository.
1. `cd` into the `util/export_stats` folder.
1. `./exporter.py ~/git/www.squadre.olinfo.it/public -a`.
1. `./exporter.py ~/git/www.squadre.olinfo.it/data -a`.

## Project Setup

Expand All @@ -29,11 +29,3 @@ npm run build
```sh
npm run lint
```

## Recommended IDE Setup

[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).

## Customize configuration

See [Vite Configuration Reference](https://vitejs.dev/config/).
64 changes: 64 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"files": {
"include": ["src"]
},
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"formatter": {
"indentStyle": "space",
"lineWidth": 100
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"a11y": {
"useKeyWithClickEvents": "off"
},
"correctness": {
"noConstantMathMinMaxClamp": "error",
"noUndeclaredVariables": "error",
"noUnusedImports": "error",
"noUnusedPrivateClassMembers": "error",
"noUnusedVariables": "error",
"useHookAtTopLevel": "error"
},
"security": {
"noDangerouslySetInnerHtml": "off"
},
"style": {
"noNegationElse": "error",
"noNonNullAssertion": "off",
"useFilenamingConvention": {
"level": "error",
"options": {
"filenameCases": ["kebab-case"],
"requireAscii": true
}
},
"useFragmentSyntax": "error",
"useShorthandArrayType": "error",
"useShorthandAssign": "error"
},
"suspicious": {
"noArrayIndexKey": "off",
"noExplicitAny": "off",
"useAwait": "error"
}
}
},
"javascript": {
"formatter": {
"bracketSameLine": true
}
},
"css": {
"parser": {
"cssModules": true
}
}
}
103 changes: 0 additions & 103 deletions check/index.html

This file was deleted.

76 changes: 0 additions & 76 deletions cms-oscurato/index.html

This file was deleted.

Binary file removed cms-oscurato/sfondo.png
Binary file not shown.
1 change: 1 addition & 0 deletions data/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
json/
18 changes: 0 additions & 18 deletions index.html

This file was deleted.

8 changes: 0 additions & 8 deletions jsconfig.json

This file was deleted.

Loading

0 comments on commit c3ccc72

Please sign in to comment.