Skip to content

Commit

Permalink
Merge pull request #1 from lovepreetjassal/UI-update
Browse files Browse the repository at this point in the history
UI update
  • Loading branch information
lovepreetjassal authored Apr 21, 2024
2 parents 2ebd7fa + cc9b870 commit c497fed
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 29 deletions.
28 changes: 1 addition & 27 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1 @@
# Bockpit

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.3.3.

## Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.

## Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.

## Build

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
# Bockpit
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 c497fed

Please sign in to comment.