pages-tree css

master
Boris Voropaev 2023-11-20 10:50:38 +03:00
parent 337da0b4d7
commit 370267ea86
6 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,5 @@
.item.home .bar .mid .info .logo::before{
background-image: url('~src/assets/images/icons/home_page_24dp.svg');
}

View File

@ -2,6 +2,7 @@
<div class="jumbotron-content layout-corral">
<header-user-bar></header-user-bar>
<h1>{{name}}</h1>
{{currentPage|json}}
<div></div>
</div>
</div>

View File

@ -17,7 +17,7 @@ export class JumbotronComponent {
}
get name(){
return this.currentPage?.h1
return this.currentPage?.h1 || this.currentPage?.name
}
get back(){

View File

@ -40,7 +40,6 @@ export class PagesMenuItemComponent {
}
get nav(){
console.log(this.item)
return this.item.type.name == "nav-page"
}

View File

@ -22,6 +22,8 @@
.item {
flex-direction: column;
align-items: stretch;
.bar {
display: flex;
flex-direction: row;

View File

@ -6,7 +6,7 @@ export const environment = {
production: false,
apiUrl: 'http://api.nircms.lc',
clientId: 2,
clientSecret: 'kzZNPvuxFIhDmJkzdC6ug4b6TplrzGrnCqi0Zgr9',
clientSecret: '2aUob26JoFP8ulT7QWbnBP1kwiooJEauzBhJnlI1',
project: null,
defaultLocale: 'ru'
};