-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
315 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<p>apps works!</p> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { AppsComponent } from './apps.component'; | ||
|
||
describe('AppsComponent', () => { | ||
let component: AppsComponent; | ||
let fixture: ComponentFixture<AppsComponent>; | ||
|
||
beforeEach(async () => { | ||
await TestBed.configureTestingModule({ | ||
imports: [AppsComponent] | ||
}) | ||
.compileComponents(); | ||
|
||
fixture = TestBed.createComponent(AppsComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'app-apps', | ||
standalone: true, | ||
imports: [], | ||
templateUrl: './apps.component.html', | ||
styleUrl: './apps.component.scss' | ||
}) | ||
export class AppsComponent { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,47 @@ | ||
<div class="grid-container"> | ||
<h1 class="mat-h1">Dashboard</h1> | ||
|
||
<mat-card> | ||
<mat-card-header> | ||
<mat-card-title>Read the introduction</mat-card-title> | ||
<mat-card-subtitle | ||
>New to Ariton (alpha)? Check out the introduction.</mat-card-subtitle | ||
> | ||
</mat-card-header> | ||
<mat-card-actions> | ||
<button mat-button [routerLink]="['/introduction']"> | ||
READ INTRODUCTION | ||
</button> | ||
<button mat-button>HIDE</button> | ||
</mat-card-actions> | ||
</mat-card> | ||
|
||
<mat-grid-list cols="2" rowHeight="350px"> | ||
@for (card of cards | async; track card) { | ||
<mat-grid-tile [colspan]="card.cols" [rowspan]="card.rows"> | ||
<mat-card class="dashboard-card"> | ||
<mat-card-header> | ||
<mat-card-title> | ||
{{card.title}} | ||
<button mat-icon-button class="more-button" [matMenuTriggerFor]="menu" aria-label="Toggle menu"> | ||
<mat-icon>more_vert</mat-icon> | ||
</button> | ||
<mat-menu #menu="matMenu" xPosition="before"> | ||
<button mat-menu-item>Expand</button> | ||
<button mat-menu-item>Remove</button> | ||
</mat-menu> | ||
</mat-card-title> | ||
</mat-card-header> | ||
<mat-card-content class="dashboard-card-content"> | ||
<div>Card Content Here</div> | ||
</mat-card-content> | ||
</mat-card> | ||
</mat-grid-tile> | ||
<mat-grid-tile [colspan]="card.cols" [rowspan]="card.rows"> | ||
<mat-card class="dashboard-card"> | ||
<mat-card-header> | ||
<mat-card-title> | ||
{{ card.title }} | ||
<button | ||
mat-icon-button | ||
class="more-button" | ||
[matMenuTriggerFor]="menu" | ||
aria-label="Toggle menu" | ||
> | ||
<mat-icon>more_vert</mat-icon> | ||
</button> | ||
<mat-menu #menu="matMenu" xPosition="before"> | ||
<button mat-menu-item>Expand</button> | ||
<button mat-menu-item>Remove</button> | ||
</mat-menu> | ||
</mat-card-title> | ||
</mat-card-header> | ||
<mat-card-content class="dashboard-card-content"> | ||
<div>Card Content Here</div> | ||
</mat-card-content> | ||
</mat-card> | ||
</mat-grid-tile> | ||
} | ||
</mat-grid-list> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.