Skip to content

Commit 1454fd1

Browse files
authored
Feat: Angular SSG (#249)
Description: To improve load times, the application now serves pre-built HTML pages. Features: * Added Angular SSG for all main pages * Removed Mountain Madness 2026 pages * Update Angular to 21.2.10
1 parent 66a83fd commit 1454fd1

81 files changed

Lines changed: 405 additions & 16017 deletions

Some content is hidden

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

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ https://github.com/CSSS/csss-site-frontend/wiki
55
### Prereqs
66
You will need:
77
- `git`
8-
- `node` v24.14.1
9-
- `npm` v11.11.0
8+
- `node` v24.14
9+
- `npm` v11.11
1010
- Install the Angular CLI globally
1111
```sh
12-
# use Angular v21.0.6
12+
# use Angular v21
1313
npm install -g @angular/cli
1414
```
1515

angular.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,15 @@
3333
"includePaths": ["src/styles", "src/ui/csss-code"]
3434
},
3535
"styles": ["src/styles.scss"],
36-
"scripts": []
36+
"scripts": [],
37+
"server": "src/main.server.ts",
38+
"outputMode": "static",
39+
"security": {
40+
"allowedHosts": []
41+
},
42+
"ssr": {
43+
"entry": "src/server.ts"
44+
}
3745
},
3846
"configurations": {
3947
"production": {

0 commit comments

Comments
 (0)