chore: set up sonarcloud (#7)

### Explanation

_No response_

### Issue

_No response_

### Attestations

- [ ] I have read and agree to the [Code of Conduct](https://docs.nhcarrigan.com/community/coc/)
- [ ] I have read and agree to the [Community Guidelines](https://docs.nhcarrigan.com/community/guide/).
- [ ] My contribution complies with the [Contributor Covenant](https://docs.nhcarrigan.com/dev/covenant/).

### Dependencies

- [ ] I have pinned the dependencies to a specific patch version.

### Style

- [ ] I have run the linter and resolved any errors.
- [ ] My pull request uses an appropriate title, matching the conventional commit standards.
- [ ] My scope of feat/fix/chore/etc. correctly matches the nature of changes in my pull request.

### Tests

- [ ] My contribution adds new code, and I have added tests to cover it.
- [ ] My contribution modifies existing code, and I have updated the tests to reflect these changes.
- [ ] All new and existing tests pass locally with my changes.
- [ ] Code coverage remains at or above the configured threshold.

### Documentation

_No response_

### Versioning

_No response_

Reviewed-on: https://codeberg.org/nhcarrigan/website-headers/pulls/7
Co-authored-by: Naomi Carrigan <commits@nhcarrigan.com>
Co-committed-by: Naomi Carrigan <commits@nhcarrigan.com>
This commit is contained in:
Naomi Carrigan 2024-12-26 22:05:35 +00:00 committed by Naomi the Technomancer
parent d3e598e171
commit c39652a148
3 changed files with 7 additions and 2 deletions

3
.gitignore vendored
View File

@ -1,2 +1,3 @@
node_modules node_modules
prod prod
.scannerwork

View File

@ -11,7 +11,8 @@
"build:watch": "tsc --watch", "build:watch": "tsc --watch",
"lint": "eslint src --max-warnings 0", "lint": "eslint src --max-warnings 0",
"start": "node --watch prod/develop.js", "start": "node --watch prod/develop.js",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1",
"scan": "SONAR_TOKEN='op://Environment Variables - Development/SonarCloud/website-headers' op run -- sonar-scanner -Dsonar.organization=nhcarrigan -Dsonar.projectKey=nhcarrigan_website-headers -Dsonar.sources=. -Dsonar.host.url=https://sonarcloud.io"
}, },
"keywords": [], "keywords": [],
"author": "", "author": "",

View File

@ -218,6 +218,9 @@ videoOverlay.style.position = "fixed";
videoOverlay.style.top = "0"; videoOverlay.style.top = "0";
videoOverlay.style.left = "0"; videoOverlay.style.left = "0";
videoOverlay.style.opacity = "0.25"; videoOverlay.style.opacity = "0.25";
videoOverlay.style.width = "100vw";
videoOverlay.style.height = "100vh";
videoOverlay.style.objectFit = "cover";
// #endregion // #endregion