diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts index f4665bc..9ae5a89 100644 --- a/src/app/app.routes.ts +++ b/src/app/app.routes.ts @@ -1,8 +1,10 @@ import { Routes } from '@angular/router'; import { MainComponent } from './components/main/main.component'; import { TrimComponent } from './components/trim/trim.component'; +import { UnixtimeComponent } from './components/unixtime/unixtime.component'; export const routes: Routes = [ { path: '', component: MainComponent }, { path: 'trim', component: TrimComponent }, + { path: 'unixtime', component: UnixtimeComponent }, ]; diff --git a/src/app/components/main/main.component.css b/src/app/components/main/main.component.css index b32d969..6d158ac 100644 --- a/src/app/components/main/main.component.css +++ b/src/app/components/main/main.component.css @@ -1,10 +1,17 @@ #tools{ height: 100vh; + width: 100%; display: flex; justify-content: center; align-items: center; + flex-direction: column; } -#trim{ - width: 80%; +.tools{ + margin:1em; +} +@media only screen and (max-width: 600px) { + #tools{ + width: 40%; + } } \ No newline at end of file diff --git a/src/app/components/main/main.component.html b/src/app/components/main/main.component.html index fe16d2c..3748a26 100644 --- a/src/app/components/main/main.component.html +++ b/src/app/components/main/main.component.html @@ -1,3 +1,4 @@