Skip to content

Commit e04b60b

Browse files
committed
feat(layout/header): 🎨 add NasalizationRg OTF font
Add binary font asset at src/pages/layout/header/nasalization-rg.otf to provide the Nasalization Regular typeface for header typography. The font bundle contains metadata (NasalizationRg-Regular, Version 5.002) and copyright information from Typodermic Fonts Inc. Notes: - This is a large binary asset committed to the repo; consider using appropriate asset hosting or .gitattributes if needed - Update CSS/asset pipeline to reference the new font where the header uses it
1 parent 923feb9 commit e04b60b

12 files changed

Lines changed: 158 additions & 4 deletions

File tree

package-lock.json

Lines changed: 145 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"babel-jest": "^30.2.0",
3030
"babel-plugin-transform-import-meta": "^2.3.3",
3131
"case-sensitive-paths-webpack-plugin": "^2.4.0",
32+
"copy-webpack-plugin": "^13.0.1",
3233
"css-loader": "^6.8.1",
3334
"eslint": "^8.57.0",
3435
"eslint-plugin-import": "^2.32.0",
-20.6 KB
Binary file not shown.
-20.8 KB
Binary file not shown.
File renamed without changes.

public/patch.png

-56.6 KB
Binary file not shown.

public/patch192.png

-15 KB
Binary file not shown.

src/pages/layout/header/header.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@font-face {
22
font-family: 'Nasa';
3-
src: url('../../../../public/nasalization-rg.otf') format('opentype');
3+
src: url('./nasalization-rg.otf') format('opentype');
44
}
55

66
.header {
File renamed without changes.

src/router.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ export class Router {
4545

4646
// Show the appropriate page
4747
switch (path) {
48+
case '/':
4849
case '/student':
4950
this.showPage('student-page');
5051
break;
5152
case '/instructor':
5253
this.showPage('instructor-page');
5354
break;
5455
case '/login':
55-
case '/':
5656
default:
5757
this.showPage('login-page');
5858
break;

0 commit comments

Comments
 (0)