Skip to content

Commit

Permalink
UI Update
Browse files Browse the repository at this point in the history
  • Loading branch information
ice committed Apr 21, 2024
1 parent 2ebd7fa commit f3d64a4
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
10 changes: 10 additions & 0 deletions src/app/components/main/main.component.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#tools{
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}

#trim{
width: 80%;
}
4 changes: 3 additions & 1 deletion src/app/components/main/main.component.html
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
<a style="font-size:4em" routerLink="/trim">Trim</a>
<div id="tools">
<button id="trim" mat-button routerLink="trim">Trim</button>
</div>
3 changes: 2 additions & 1 deletion src/app/components/main/main.component.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import { Component } from '@angular/core';
import { RouterLink, RouterLinkActive, RouterOutlet } from '@angular/router';
import {MatButtonModule} from '@angular/material/button';
@Component({
selector: 'app-main',
standalone: true,
imports: [RouterOutlet,RouterLink, RouterLinkActive],
imports: [RouterOutlet,RouterLink, RouterLinkActive,MatButtonModule],
templateUrl: './main.component.html',
styleUrl: './main.component.css'
})
Expand Down

0 comments on commit f3d64a4

Please sign in to comment.