Skip to content

Commit a6e2c3f

Browse files
committed
feat: got working toolbar
1 parent 832f8ae commit a6e2c3f

File tree

10 files changed

+1084
-457
lines changed

10 files changed

+1084
-457
lines changed

.github/workflows/ci-bun.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
9+
permissions:
10+
actions: read
11+
contents: read
12+
13+
jobs:
14+
main:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
21+
- uses: oven-sh/setup-bun@v1
22+
with:
23+
bun-version: latest
24+
25+
- run: bun install --frozen-lockfile --ignore-scripts
26+
- uses: nrwl/nx-set-shas@v4
27+
28+
- name: Install Playwright Browsers
29+
run: npx playwright install --with-deps
30+
31+
- run: bun nx affected -t lint test build
32+
- run: bun nx affected --parallel 1 -t e2e-ci
33+
- uses: actions/upload-artifact@v4
34+
if: ${{ !cancelled() }}
35+
with:
36+
name: playwright-report
37+
path: dist/.playwright/apps/
38+
retention-days: 30

.github/workflows/ci.yml renamed to .github/workflows/ci-npm.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
node-version: latest
2424

2525
- run: npm ci
26+
2627
- uses: nrwl/nx-set-shas@v4
2728

2829
- name: Install Playwright Browsers

libs/frontend/pages/home/src/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
export * from './lib/lib.routes';
2-
3-
export * from './lib/page-home.component';
1+
export * from './lib.routes';

libs/frontend/pages/home/src/lib/lib.routes.ts renamed to libs/frontend/pages/home/src/lib.routes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Route } from '@angular/router';
2-
import { PageHomeComponent } from './page-home.component';
2+
import { PageHomeComponent } from './components/home/page-home.component';
33

44
export const pageHomeRoutes: Route[] = [
55
{ path: '', component: PageHomeComponent },

libs/frontend/root/src/root/root.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="container" [class.is-mobile]="isHandset()">
2-
<mat-toolbar>
2+
<mat-toolbar class="toolbar">
33
<button mat-icon-button (click)="snav.toggle()">
44
<mat-icon>menu</mat-icon>
55
</button>

libs/frontend/root/src/root/root.component.theme.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
@mixin color($theme) {
77
app-root {
8-
.toolbar {
9-
@include mat.toolbar-color($theme);
10-
8+
mat-toolbar.toolbar {
9+
color: mat.get-theme-color($theme, secondary);
10+
background: mat.get-theme-color($theme, secondary-container);
1111
}
1212
}
1313
}

0 commit comments

Comments
 (0)