Skip to content

Commit c6e55d5

Browse files
TiranthineDarkView
andauthored
New Design and Rebuild on Tailwind
* Update ng19 * Migrate to standalone components * Update ng20 * Include tailwindcss * Testing button styling * Tailwind overlay/mapinfo * Timer Rounder * Scoreboard / Mapwins / Round Number / Watermark / Round Reasons * Commit before update * update ng core * update ng cli * update ng-eslint * Safety commit * Animation duration Playercard animations * Abilities animation * Health effect * Post rebase * Animation fixes * Make testing buttons less opaque if not hovered * Team color swap * Observing indicator * Captain badge * Fix Scoreboard abilities * Spike indicator + blinking * Playercard Animations V1 * Scoreboard animations V1 * Roundwin Banner * Timeout banner Changes to Endround banner * Fix scoreboard color swap * Endround card head to head animation * Have round counter display OT number * Death animation/HP glow * Connection to live * Roundreasons revamp * Roundreason Swap Icon * Run formatter * Reorder tailwind classes * Make round number one single <p>, add guards and mapban to datamodel * HideAuxiliary PlayerCard animations * Prep translation, deserialize overrides in datamodel * Fix hideAuxiliary bug * Delete debug logs * Minimal mode * Agent select screen + testing * Name Overrides * Playercams * Fix playercams bug * Add translations to new components * Reduce bottom border on rounder * Remove old components, rename some components Co-authored-by: Tiranthine <22277108+Tiranthine@users.noreply.github.com> * Move mapban to css animation * New Player Combat Cards * FIxes for various components * Fix minor bugs * New top bar (pre-svg) * New top bar (svg) * Fix tiny gap at top of SVG * Proper color swap on top * Properly restrict top image size * CSS Colors and cleanup * Component selectors renamed * Fix autoswitch * Changed hardcoded tailwind values * Agent select changes * Fix timeout issue * Change testing buttons positions * Roundreasons glowup * New scoreboard, various fixes * Fix linting errors * Apply Lint and Format --------- Co-authored-by: Dunkel <7890309+DarkView@users.noreply.github.com>
1 parent 0ddbc63 commit c6e55d5

File tree

185 files changed

+7609
-7548
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

185 files changed

+7609
-7548
lines changed

.prettierrc.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@
22
"semi": true,
33
"printWidth": 100,
44
"tabWidth": 2,
5-
"trailingComma": "all"
6-
}
5+
"trailingComma": "all",
6+
"plugins": [
7+
"prettier-plugin-tailwindcss"
8+
]
9+
}

.vscode/settings.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,14 @@
33
"angular-*": {
44
"externalTemplate": true
55
}
6+
},
7+
"files.associations": {
8+
"*.css": "tailwindcss"
9+
},
10+
"symbols.files.associations": {
11+
"*.css": "tailwindcss"
12+
},
13+
"editor.quickSuggestions": {
14+
"strings": "on"
615
}
716
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ After that you can start the frontend by running `docker compose up -d` and the
6363

6464
# DISCLAIMER
6565

66-
Spectra-Client isn't endorsed by Riot Games and doesn't reflect the views or opinions of Riot Games or anyone officially involved in producing or managing Riot Games properties. Riot Games, and all associated properties are trademarks or registered trademarks of Riot Games, Inc.
66+
Spectra-Frontend isn't endorsed by Riot Games and doesn't reflect the views or opinions of Riot Games or anyone officially involved in producing or managing Riot Games properties. Riot Games, and all associated properties are trademarks or registered trademarks of Riot Games, Inc.

package.json

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "spectra-frontend",
3-
"version": "0.2.43",
3+
"version": "0.3.0",
44
"author": {
55
"name": "Purple Shark UG (haftungsbeschränkt)",
66
"url": "https://valospectra.com"
@@ -18,31 +18,33 @@
1818
},
1919
"private": true,
2020
"dependencies": {
21-
"@angular/animations": "^20.0.3",
22-
"@angular/common": "^20.0.3",
23-
"@angular/compiler": "^20.0.3",
24-
"@angular/core": "^20.0.3",
25-
"@angular/forms": "^20.0.3",
26-
"@angular/platform-browser": "^20.0.3",
27-
"@angular/platform-browser-dynamic": "^20.0.3",
28-
"@angular/router": "^20.0.3",
21+
"@angular/animations": "^20.2.1",
22+
"@angular/common": "^20.2.1",
23+
"@angular/compiler": "^20.2.1",
24+
"@angular/core": "^20.2.1",
25+
"@angular/forms": "^20.2.1",
26+
"@angular/platform-browser": "^20.2.1",
27+
"@angular/platform-browser-dynamic": "^20.2.1",
28+
"@angular/router": "^20.2.1",
2929
"@ngx-translate/core": "^17.0.0",
3030
"@ngx-translate/http-loader": "^17.0.0",
3131
"@tailwindcss/postcss": "^4.1.10",
3232
"animejs": "^4.0.2",
3333
"express": "^4.21.2",
34+
"lodash": "^4.17.21",
3435
"rxjs": "~7.8.2",
3536
"socket.io-client": "4.8.1",
3637
"tailwindcss": "^4.1.10",
3738
"tslib": "^2.8.1",
3839
"zone.js": "^0.15.0"
3940
},
4041
"devDependencies": {
41-
"@angular/build": "^20.0.2",
42-
"@angular/cli": "^20.0.2",
43-
"@angular/compiler-cli": "^20.0.3",
42+
"@angular/build": "^20.2.0",
43+
"@angular/cli": "^20.2.0",
44+
"@angular/compiler-cli": "^20.2.1",
4445
"@types/jasmine": "~5.1.7",
45-
"angular-eslint": "20.0.0",
46+
"@types/lodash": "^4",
47+
"angular-eslint": "20.2.0",
4648
"eslint": "^9.28.0",
4749
"eslint-config-prettier": "^9.1.0",
4850
"jasmine-core": "^5.6.0",
@@ -52,6 +54,7 @@
5254
"karma-jasmine": "~5.1.0",
5355
"karma-jasmine-html-reporter": "~2.1.0",
5456
"prettier": "3.5.3",
57+
"prettier-plugin-tailwindcss": "^0.6.14",
5558
"typescript": "~5.8.3",
5659
"typescript-eslint": "^8.33.1"
5760
},

public/assets/config/config.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
22
"serverEndpoint": "http://localhost:5200",
33
"redirectUrl": "https://valospectra.com",
4-
"sponsorImageUrls": [
5-
"/assets/misc/logo.webp"
6-
],
4+
"sponsorImageUrls": ["/assets/misc/logo.webp"],
75
"sponsorImageRotateSpeed": 5000,
86
"attackerColorPrimary": "#b82e3c",
97
"attackerColorSecondary": "#ff4557",

public/assets/misc/crosshair.svg

Lines changed: 9 additions & 0 deletions
Loading

public/assets/misc/swapIcon.svg

Lines changed: 4 additions & 0 deletions
Loading
Lines changed: 2 additions & 1 deletion
Loading

public/langs/de.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@
1010
"mapinfo.live": "Jetzt: {{map}}",
1111
"mapinfo.decider": "Entscheider: {{map}}",
1212
"mapinfo.next": "Nächste: {{map}}",
13-
"topinfo.watermark": "Overlay von Spectra",
13+
"topinfo.watermark": "Powered by Spectra",
1414
"topscore.round": "RUNDE {{rounds}}",
15+
"topscore.overtime": "VLG. {{otNumber}}",
1516
"team.attacker": "ANGREIFER",
1617
"team.defender": "VERTEIDIGER",
1718
"scoreboard.spent": "DIESE RUNDE AUSGEGEBEN",

public/langs/en.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@
1010
"mapinfo.live": "Live: {{map}}",
1111
"mapinfo.decider": "Decider: {{map}}",
1212
"mapinfo.next": "Next: {{map}}",
13-
"topinfo.watermark": "Overlay by Spectra",
13+
"topinfo.watermark": "Powered by Spectra",
1414
"topscore.round": "ROUND {{rounds}}",
15+
"topscore.overtime": "OVERTIME {{otNumber}}",
1516
"team.attacker": "ATTACKER",
1617
"team.defender": "DEFENDER",
1718
"scoreboard.spent": "SPENT THIS ROUND",

0 commit comments

Comments
 (0)