Skip to content

Commit 8ff22f7

Browse files
committed
Initial Commit
1 parent 22319f7 commit 8ff22f7

File tree

105 files changed

+3336
-377
lines changed

Some content is hidden

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

105 files changed

+3336
-377
lines changed

angular.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@
3333
"input": "public"
3434
}
3535
],
36-
"styles": [
37-
"src/styles.scss"
36+
"styles": ["src/styles.scss"],
37+
"scripts": [
38+
"node_modules/@dev.spot/css-fusion-g/dist/cssfusion-g/js/cssfusion-g.umd.js"
3839
]
3940
},
4041
"configurations": {
@@ -87,9 +88,7 @@
8788
"input": "public"
8889
}
8990
],
90-
"styles": [
91-
"src/styles.scss"
92-
]
91+
"styles": ["src/styles.scss"]
9392
}
9493
}
9594
}

package-lock.json

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

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,15 @@
2222
},
2323
"private": true,
2424
"dependencies": {
25+
"@angular/cdk": "^20.2.14",
2526
"@angular/common": "^20.3.0",
2627
"@angular/compiler": "^20.3.0",
2728
"@angular/core": "^20.3.0",
2829
"@angular/forms": "^20.3.0",
30+
"@angular/material": "^20.2.14",
2931
"@angular/platform-browser": "^20.3.0",
3032
"@angular/router": "^20.3.0",
33+
"@dev.spot/css-fusion-g": "^1.1.1-beta",
3134
"rxjs": "~7.8.0",
3235
"tslib": "^2.3.0"
3336
},
@@ -44,4 +47,4 @@
4447
"karma-jasmine-html-reporter": "~2.1.0",
4548
"typescript": "~5.9.2"
4649
}
47-
}
50+
}

public/logo.svg

Lines changed: 1 addition & 0 deletions
Loading

public/styles/common.scss

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
// ===== Common reusable styles for notes =====
2+
3+
@mixin pageContainer() {
4+
padding: 16px;
5+
}
6+
7+
.note-header {
8+
margin-bottom: 16px;
9+
}
10+
11+
.note-title {
12+
font-size: 28px;
13+
font-weight: 700;
14+
margin: 0;
15+
}
16+
17+
.note-subtitle {
18+
margin-top: 6px;
19+
font-size: 14px;
20+
opacity: 0.7;
21+
}
22+
23+
.note-card {
24+
background: #ffffff;
25+
border: 1px solid rgba(0, 0, 0, 0.08);
26+
border-radius: 12px;
27+
padding: 16px;
28+
margin-bottom: 14px;
29+
}
30+
31+
.note-heading {
32+
font-size: 18px;
33+
font-weight: 600;
34+
margin: 0 0 10px;
35+
}
36+
37+
.note-text {
38+
margin: 0;
39+
line-height: 1.6;
40+
}
41+
42+
.note-list {
43+
margin: 0;
44+
padding-left: 18px;
45+
font-size: 16px;
46+
47+
li {
48+
margin-bottom: 8px;
49+
}
50+
}
51+
52+
.note-code {
53+
margin-top: 12px;
54+
padding: 12px;
55+
border-radius: 10px;
56+
background: #0f172a;
57+
color: #e2e8f0;
58+
overflow-x: auto;
59+
60+
code {
61+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
62+
"Liberation Mono", "Courier New", monospace;
63+
font-size: 14px;
64+
}
65+
}

src/app/app-module.ts

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
1-
import { NgModule, provideBrowserGlobalErrorListeners, provideZonelessChangeDetection } from '@angular/core';
1+
import {
2+
NgModule,
3+
provideBrowserGlobalErrorListeners,
4+
provideZonelessChangeDetection,
5+
} from '@angular/core';
26
import { BrowserModule } from '@angular/platform-browser';
37

48
import { AppRoutingModule } from './app-routing-module';
59
import { App } from './app';
610

11+
// Modules
12+
import { MatIconModule } from '@angular/material/icon';
13+
714
@NgModule({
8-
declarations: [
9-
App
10-
],
11-
imports: [
12-
BrowserModule,
13-
AppRoutingModule
14-
],
15-
providers: [
16-
provideBrowserGlobalErrorListeners(),
17-
provideZonelessChangeDetection()
18-
],
19-
bootstrap: [App]
15+
declarations: [App],
16+
imports: [BrowserModule, AppRoutingModule, MatIconModule],
17+
providers: [provideBrowserGlobalErrorListeners(), provideZonelessChangeDetection()],
18+
bootstrap: [App],
2019
})
21-
export class AppModule { }
20+
export class AppModule {}

src/app/app-routing-module.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
import { NgModule } from '@angular/core';
22
import { RouterModule, Routes } from '@angular/router';
33

4-
const routes: Routes = [];
4+
const routes: Routes = [
5+
{ path: '', pathMatch: 'full', redirectTo: 'javascript' },
6+
{
7+
path: 'javascript',
8+
loadChildren: () => import('./javascript/javascript-module').then((m) => m.JavascriptModule),
9+
},
10+
];
511

612
@NgModule({
713
imports: [RouterModule.forRoot(routes)],
8-
exports: [RouterModule]
14+
exports: [RouterModule],
915
})
10-
export class AppRoutingModule { }
16+
export class AppRoutingModule {}

0 commit comments

Comments
 (0)