update layout
This commit is contained in:
parent
0c862fcb8b
commit
1f4f5b6ad2
4 changed files with 13 additions and 9 deletions
|
|
@ -146,9 +146,7 @@
|
||||||
</aside>
|
</aside>
|
||||||
|
|
||||||
<div class="pt-10 sm:ml-64">
|
<div class="pt-10 sm:ml-64">
|
||||||
<div class="p-2 sm:mt-5 md:mt-12">
|
<div class="p-2 sm:mt-5 md:mt-14">
|
||||||
<div class="mb-2">
|
<router-outlet></router-outlet>
|
||||||
<router-outlet></router-outlet>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,6 @@ import * as lodash from 'lodash';
|
||||||
templateUrl: './dashboard.component.html',
|
templateUrl: './dashboard.component.html',
|
||||||
})
|
})
|
||||||
export class DashboardComponent implements OnInit {
|
export class DashboardComponent implements OnInit {
|
||||||
userInfo: User | null = null;
|
|
||||||
recipes: Recipe | null = null;
|
recipes: Recipe | null = null;
|
||||||
recipes01: Recipe01[] | null = null;
|
recipes01: Recipe01[] | null = null;
|
||||||
recipeVersions: string[] = [];
|
recipeVersions: string[] = [];
|
||||||
|
|
@ -90,10 +89,6 @@ export class DashboardComponent implements OnInit {
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
this._userService.currentUser.subscribe((user) => {
|
|
||||||
this.userInfo = user;
|
|
||||||
});
|
|
||||||
|
|
||||||
this._recipeService
|
this._recipeService
|
||||||
.getRecipes({
|
.getRecipes({
|
||||||
offset: this.offset,
|
offset: this.offset,
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
<div>
|
||||||
|
<h1>recipe-details works!</h1>
|
||||||
|
</div>
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-recipe-details',
|
||||||
|
templateUrl: './recipe-details.component.html',
|
||||||
|
standalone: true,
|
||||||
|
})
|
||||||
|
export class RecipeDetailsComponent {}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue