mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 15:40:11 +01:00
fix(demo): improved code
This commit is contained in:
parent
ab4d64f1d1
commit
dbd2d99f9e
12 changed files with 12 additions and 34 deletions
|
|
@ -26,7 +26,7 @@
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
::ng-deep & *:last-child {
|
::ng-deep :last-child {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -52,13 +52,6 @@
|
||||||
|
|
||||||
.diagram-container {
|
.diagram-container {
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
::ng-deep ngx-backend-integration-diagram {
|
|
||||||
padding-top: 0;
|
|
||||||
|
|
||||||
& > * {
|
|
||||||
position: static !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ import { Component } from '@angular/core';
|
||||||
})
|
})
|
||||||
export class DotNetCoreIntegrationDescriptionComponent {
|
export class DotNetCoreIntegrationDescriptionComponent {
|
||||||
|
|
||||||
buttonText: string = 'Get Backend From 49$';
|
buttonText = 'Get Backend From 49$';
|
||||||
url = 'https://store.akveo.com/collections/net-core-bundles?utm_campaign=akveo_store%20-%20all%20bundles%20-%20ngx_admin_demo&utm_source=ngx_admin&utm_medium=referral&utm_content=sidebar_link_dotnetcore';
|
url = 'https://store.akveo.com/collections/net-core-bundles?utm_campaign=akveo_store%20-%20all%20bundles%20-%20ngx_admin_demo&utm_source=ngx_admin&utm_medium=referral&utm_content=sidebar_link_dotnetcore';
|
||||||
|
|
||||||
features: string[] = [
|
features: string[] = [
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ import { Component } from '@angular/core';
|
||||||
})
|
})
|
||||||
export class DotNetIntegrationDescriptionComponent {
|
export class DotNetIntegrationDescriptionComponent {
|
||||||
|
|
||||||
buttonText: string = 'Get Backend From 49$';
|
buttonText = 'Get Backend From 49$';
|
||||||
url = 'https://store.akveo.com/collections/net-bundles?utm_campaign=akveo_store%20-%20all%20bundles%20-%20ngx_admin_demo&utm_source=ngx_admin&utm_medium=referral&utm_content=sidebar_link_dotnet';
|
url = 'https://store.akveo.com/collections/net-bundles?utm_campaign=akveo_store%20-%20all%20bundles%20-%20ngx_admin_demo&utm_source=ngx_admin&utm_medium=referral&utm_content=sidebar_link_dotnet';
|
||||||
|
|
||||||
features: string[] = [
|
features: string[] = [
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ import { Component } from '@angular/core';
|
||||||
})
|
})
|
||||||
export class EcommerceIntegrationDescriptionComponent {
|
export class EcommerceIntegrationDescriptionComponent {
|
||||||
|
|
||||||
buttonText: string = 'Get Backend From 49$';
|
buttonText = 'Get Backend From 49$';
|
||||||
url = 'https://store.akveo.com/collections/e-commerce-bundles?utm_campaign=akveo_store%20-%20all%20bundles%20-%20ngx_admin_demo&utm_source=ngx_admin&utm_medium=referral&utm_content=sidebar_link_e-commerce';
|
url = 'https://store.akveo.com/collections/e-commerce-bundles?utm_campaign=akveo_store%20-%20all%20bundles%20-%20ngx_admin_demo&utm_source=ngx_admin&utm_medium=referral&utm_content=sidebar_link_e-commerce';
|
||||||
|
|
||||||
features: string[] = [
|
features: string[] = [
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ import { Component } from '@angular/core';
|
||||||
})
|
})
|
||||||
export class IotIntegrationDescriptionComponent {
|
export class IotIntegrationDescriptionComponent {
|
||||||
|
|
||||||
buttonText: string = 'Get Backend From 49$';
|
buttonText = 'Get Backend From 49$';
|
||||||
url = 'https://store.akveo.com/collections/iot-bundles?utm_campaign=akveo_store%20-%20all%20bundles%20-%20ngx_admin_demo&utm_source=ngx_admin&utm_medium=referral&utm_content=sidebar_link_iot';
|
url = 'https://store.akveo.com/collections/iot-bundles?utm_campaign=akveo_store%20-%20all%20bundles%20-%20ngx_admin_demo&utm_source=ngx_admin&utm_medium=referral&utm_content=sidebar_link_iot';
|
||||||
|
|
||||||
features: string[] = [
|
features: string[] = [
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ import { Component } from '@angular/core';
|
||||||
})
|
})
|
||||||
export class JavaIntegrationDescriptionComponent {
|
export class JavaIntegrationDescriptionComponent {
|
||||||
|
|
||||||
buttonText: string = 'Get Backend From 49$';
|
buttonText = 'Get Backend From 49$';
|
||||||
url = 'https://store.akveo.com/collections/java-bundles?utm_campaign=akveo_store%20-%20all%20bundles%20-%20ngx_admin_demo&utm_source=ngx_admin&utm_medium=referral&utm_content=sidebar_link_java';
|
url = 'https://store.akveo.com/collections/java-bundles?utm_campaign=akveo_store%20-%20all%20bundles%20-%20ngx_admin_demo&utm_source=ngx_admin&utm_medium=referral&utm_content=sidebar_link_java';
|
||||||
|
|
||||||
features: string[] = [
|
features: string[] = [
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ import { Component } from '@angular/core';
|
||||||
})
|
})
|
||||||
export class NodeJsIntegrationDescriptionComponent {
|
export class NodeJsIntegrationDescriptionComponent {
|
||||||
|
|
||||||
buttonText: string = 'Get Backend From 49$';
|
buttonText = 'Get Backend From 49$';
|
||||||
url = 'https://store.akveo.com/collections/nodejs-bundles?utm_campaign=akveo_store%20-%20all%20bundles%20-%20ngx_admin_demo&utm_source=ngx_admin&utm_medium=referral&utm_content=sidebar_link_nodejs';
|
url = 'https://store.akveo.com/collections/nodejs-bundles?utm_campaign=akveo_store%20-%20all%20bundles%20-%20ngx_admin_demo&utm_source=ngx_admin&utm_medium=referral&utm_content=sidebar_link_nodejs';
|
||||||
|
|
||||||
features: string[] = [
|
features: string[] = [
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ import { Component } from '@angular/core';
|
||||||
})
|
})
|
||||||
export class PhpIntegrationDescriptionComponent {
|
export class PhpIntegrationDescriptionComponent {
|
||||||
|
|
||||||
buttonText: string = 'Get Backend From 49$';
|
buttonText = 'Get Backend From 49$';
|
||||||
url = 'https://store.akveo.com/products/material-php-starter-bundle?utm_campaign=akveo_store%20-%20all%20bundles%20-%20ngx_admin_demo&utm_source=ngx_admin%20&utm_medium=referral%20&utm_content=sidebar_link_php';
|
url = 'https://store.akveo.com/products/material-php-starter-bundle?utm_campaign=akveo_store%20-%20all%20bundles%20-%20ngx_admin_demo&utm_source=ngx_admin%20&utm_medium=referral%20&utm_content=sidebar_link_php';
|
||||||
|
|
||||||
features: string[] = [
|
features: string[] = [
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ import { Component } from '@angular/core';
|
||||||
})
|
})
|
||||||
export class PythonIntegrationDescriptionComponent {
|
export class PythonIntegrationDescriptionComponent {
|
||||||
|
|
||||||
buttonText: string = 'Get Backend From 49$';
|
buttonText = 'Get Backend From 49$';
|
||||||
url = 'https://store.akveo.com/collections/python-bundles?utm_campaign=akveo_store%20-%20all%20bundles%20-%20ngx_admin_demo&utm_source=ngx_admin&utm_medium=referral&utm_content=sidebar_link_python';
|
url = 'https://store.akveo.com/collections/python-bundles?utm_campaign=akveo_store%20-%20all%20bundles%20-%20ngx_admin_demo&utm_source=ngx_admin&utm_medium=referral&utm_content=sidebar_link_python';
|
||||||
|
|
||||||
features: string[] = [
|
features: string[] = [
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,2 @@
|
||||||
<div class="image" [inlineSVG]="'assets/images/backend-integration-diagram.svg'">
|
<div inlineSVG="assets/images/backend-integration-diagram.svg">
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -2,22 +2,6 @@
|
||||||
|
|
||||||
@include nb-install-component() {
|
@include nb-install-component() {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: relative;
|
|
||||||
padding-top: 80%; /* Aspect Ratio */
|
|
||||||
|
|
||||||
& > div {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
bottom: 0;
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.canvas {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
::ng-deep svg {
|
::ng-deep svg {
|
||||||
path.card-header, path.subcard-header, path.diagram-header {
|
path.card-header, path.subcard-header, path.diagram-header {
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
width: fit-content;
|
width: auto;
|
||||||
|
align-self: flex-start;
|
||||||
margin-top: 2rem;
|
margin-top: 2rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue