mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-21 09:50:13 +01:00
fix(landing): add contact section and fix landing image
This commit is contained in:
parent
718f860927
commit
3f1e57e8ae
24 changed files with 351 additions and 19 deletions
|
|
@ -8,6 +8,7 @@ import {
|
|||
NbRequestPasswordComponent,
|
||||
NbResetPasswordComponent,
|
||||
} from '@nebular/auth';
|
||||
import {StarterScreenComponent} from './themes-screen/starter-screen.component';
|
||||
|
||||
const routes: Routes = [
|
||||
{
|
||||
|
|
@ -15,6 +16,11 @@ const routes: Routes = [
|
|||
loadChildren: () => import('app/pages/pages.module')
|
||||
.then(m => m.PagesModule),
|
||||
},
|
||||
{
|
||||
path: 'themes',
|
||||
loadChildren: () => import('app/themes-screen/starter.module')
|
||||
.then(m => m.StarterModule),
|
||||
},
|
||||
{
|
||||
path: 'auth',
|
||||
component: NbAuthComponent,
|
||||
|
|
|
|||
22
src/app/themes-screen/starter-routing.module.ts
Normal file
22
src/app/themes-screen/starter-routing.module.ts
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
import {NgModule} from '@angular/core';
|
||||
import {RouterModule, Routes} from '@angular/router';
|
||||
import {StarterScreenComponent} from './starter-screen.component';
|
||||
import {NgxStarterComponent} from './starter.component';
|
||||
|
||||
const routes: Routes = [{
|
||||
path: '',
|
||||
component: NgxStarterComponent,
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
component: StarterScreenComponent,
|
||||
},
|
||||
],
|
||||
}];
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild(routes)],
|
||||
exports: [RouterModule],
|
||||
})
|
||||
export class StarterRoutingModule {
|
||||
}
|
||||
10
src/app/themes-screen/starter-screen.component.ts
Normal file
10
src/app/themes-screen/starter-screen.component.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'ngx-starter-screen',
|
||||
styleUrls: ['./starter.component.scss'],
|
||||
templateUrl: './starter.component.html',
|
||||
})
|
||||
export class StarterScreenComponent {
|
||||
|
||||
}
|
||||
69
src/app/themes-screen/starter.component.html
Normal file
69
src/app/themes-screen/starter.component.html
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
<nb-layout windowMode>
|
||||
<nb-layout-header fixed>
|
||||
<!-- <div class="header-container">-->
|
||||
<!-- <div class="logo-container">-->
|
||||
<!-- <a class="logo" href="#">ngx-<span>admin</span></a>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
|
||||
<!-- <div class="header-container">-->
|
||||
<!-- <nb-actions size="small">-->
|
||||
<!-- <nb-action class="control-item github-stars">-->
|
||||
<!-- <span class="subtitle text">Support us: </span>-->
|
||||
<!-- <iframe src="https://ghbtns.com/github-btn.html?user=akveo&repo=ngx-admin&type=star&count=true"-->
|
||||
<!-- frameborder="0"-->
|
||||
<!-- scrolling="0"-->
|
||||
<!-- width="170px"-->
|
||||
<!-- height="20px">-->
|
||||
<!-- </iframe>-->
|
||||
<!-- </nb-action>-->
|
||||
<!-- <nb-action class="control-item downloads-count">-->
|
||||
<!-- <nb-icon icon="download"></nb-icon>-->
|
||||
<!-- <span class="subtitle number">470.000</span>-->
|
||||
<!-- </nb-action>-->
|
||||
<!-- <nb-action class="control-item contact-us">-->
|
||||
<!-- <!– (click)="trackEmailClick()"–>-->
|
||||
<!-- <a nbButton ghost href="mailto:contact@akveo.com" >-->
|
||||
<!-- <nb-icon icon="email-outline" pack="eva"></nb-icon>-->
|
||||
<!-- <span>contact@akveo.com</span>-->
|
||||
<!-- </a>-->
|
||||
<!-- </nb-action>-->
|
||||
<!-- </nb-actions>-->
|
||||
<!-- </div>-->
|
||||
</nb-layout-header>
|
||||
|
||||
<nb-layout-column class="small">
|
||||
<nb-card>
|
||||
<nb-card-header>Light</nb-card-header>
|
||||
<nb-card-body>
|
||||
<img src="assets/image/corporate-theme.png"
|
||||
class="swiper-lazy"
|
||||
alt="Corporate Theme" />
|
||||
|
||||
</nb-card-body>
|
||||
</nb-card>
|
||||
<nb-card>
|
||||
<nb-card-header>Light</nb-card-header>
|
||||
</nb-card>
|
||||
<nb-card>
|
||||
<nb-card-header>Light</nb-card-header>
|
||||
</nb-card>
|
||||
</nb-layout-column>
|
||||
|
||||
<nb-layout-column>
|
||||
<nb-card>
|
||||
<nb-card-header>Light</nb-card-header>
|
||||
</nb-card>
|
||||
<nb-card>
|
||||
<nb-card-header>Light</nb-card-header>
|
||||
</nb-card>
|
||||
<nb-card>
|
||||
<nb-card-header>Light</nb-card-header>
|
||||
</nb-card>
|
||||
</nb-layout-column>
|
||||
|
||||
<nb-layout-footer fixed>
|
||||
<ngx-footer></ngx-footer>
|
||||
</nb-layout-footer>
|
||||
|
||||
</nb-layout>
|
||||
127
src/app/themes-screen/starter.component.scss
Normal file
127
src/app/themes-screen/starter.component.scss
Normal file
|
|
@ -0,0 +1,127 @@
|
|||
@import '~bootstrap/scss/mixins/breakpoints';
|
||||
@import '~@nebular/theme/styles/global/breakpoints';
|
||||
@import '../@theme/styles/themes';
|
||||
|
||||
//@include nb-install-component() {
|
||||
// display: flex;
|
||||
// justify-content: space-between;
|
||||
// width: 100%;
|
||||
//
|
||||
// .logo-container {
|
||||
// display: flex;
|
||||
// align-items: center;
|
||||
// width: calc(#{nb-theme(sidebar-width)} - #{nb-theme(header-padding)});
|
||||
// }
|
||||
//
|
||||
// nb-action {
|
||||
// height: auto;
|
||||
// display: flex;
|
||||
// align-content: center;
|
||||
// }
|
||||
//
|
||||
// nb-user {
|
||||
// cursor: pointer;
|
||||
// }
|
||||
//
|
||||
// .subtitle {
|
||||
// font-family: nb-theme(text-subtitle-font-family);
|
||||
// font-size: nb-theme(text-subtitle-font-size);
|
||||
// font-weight: nb-theme(text-subtitle-font-weight);
|
||||
// line-height: nb-theme(text-subtitle-line-height);
|
||||
// }
|
||||
//
|
||||
// .downloads-count .number {
|
||||
// @include nb-ltr(margin-left, 0.5rem);
|
||||
// @include nb-rtl(margin-right, 0.5rem);
|
||||
// }
|
||||
//
|
||||
// ::ng-deep nb-search button {
|
||||
// padding: 0!important;
|
||||
// }
|
||||
//
|
||||
// .contact-us {
|
||||
// padding: 0;
|
||||
//
|
||||
// nb-icon {
|
||||
// font-size: 1.25rem;
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// .header-container {
|
||||
// display: flex;
|
||||
// align-items: center;
|
||||
// width: auto;
|
||||
//
|
||||
// .sidebar-toggle {
|
||||
// @include nb-ltr(padding-right, 1.25rem);
|
||||
// @include nb-rtl(padding-left, 1.25rem);
|
||||
// text-decoration: none;
|
||||
// color: nb-theme(text-hint-color);
|
||||
// nb-icon {
|
||||
// font-size: 1.75rem;
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// .logo {
|
||||
// padding: 0 1.25rem;
|
||||
// font-size: 1.75rem;
|
||||
// @include nb-ltr(border-left, 1px solid nb-theme(divider-color));
|
||||
// @include nb-rtl(border-right, 1px solid nb-theme(divider-color));
|
||||
// white-space: nowrap;
|
||||
// text-decoration: none;
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// .github-stars {
|
||||
// width: 245px;
|
||||
// display: flex;
|
||||
//
|
||||
// iframe {
|
||||
// width: 100px;
|
||||
// @include nb-ltr(margin-left, 1rem);
|
||||
// @include nb-rtl(margin-right, 1rem);
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// @include media-breakpoint-down(xl) {
|
||||
// .control-item.search,
|
||||
// .control-item.notifications,
|
||||
// .control-item.email,
|
||||
// .control-item.github-stars .text {
|
||||
// display: none;
|
||||
// }
|
||||
//
|
||||
// .control-item.github-stars {
|
||||
// width: auto;
|
||||
//
|
||||
// iframe {
|
||||
// margin: 0;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// @include media-breakpoint-down(lg) {
|
||||
// .downloads-count {
|
||||
// display: none;
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// @include media-breakpoint-down(md) {
|
||||
// .theme-select {
|
||||
// display: none;
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// @include media-breakpoint-down(sm) {
|
||||
// .contact-us {
|
||||
// display: none;
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// @include media-breakpoint-down(is) {
|
||||
// .github-stars,
|
||||
// .user-action {
|
||||
// display: none;
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
8
src/app/themes-screen/starter.component.ts
Normal file
8
src/app/themes-screen/starter.component.ts
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import {Component} from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'ngx-starter',
|
||||
templateUrl: './starter.component.html',
|
||||
styleUrls: ['./starter.component.scss'],
|
||||
})
|
||||
export class NgxStarterComponent {}
|
||||
28
src/app/themes-screen/starter.module.ts
Normal file
28
src/app/themes-screen/starter.module.ts
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
import {NgModule} from '@angular/core';
|
||||
import {StarterScreenComponent} from './starter-screen.component';
|
||||
import {StarterRoutingModule} from './starter-routing.module';
|
||||
import {NgxStarterComponent} from './starter.component';
|
||||
import {NbActionsModule, NbButtonModule, NbCardModule, NbIconModule, NbLayoutModule} from '@nebular/theme';
|
||||
import {ThemeModule} from '../@theme/theme.module';
|
||||
|
||||
const NB_MODULES = [
|
||||
NbIconModule,
|
||||
NbLayoutModule,
|
||||
NbCardModule,
|
||||
NbButtonModule,
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
StarterRoutingModule,
|
||||
...NB_MODULES,
|
||||
ThemeModule,
|
||||
NbActionsModule,
|
||||
],
|
||||
declarations: [
|
||||
StarterScreenComponent,
|
||||
NgxStarterComponent,
|
||||
],
|
||||
})
|
||||
export class StarterModule {
|
||||
}
|
||||
BIN
src/assets/images/corporate-theme.png
Normal file
BIN
src/assets/images/corporate-theme.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 403 KiB |
BIN
src/assets/images/cosmic-theme.png
Normal file
BIN
src/assets/images/cosmic-theme.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 455 KiB |
BIN
src/assets/images/dark-theme.png
Normal file
BIN
src/assets/images/dark-theme.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 313 KiB |
BIN
src/assets/images/light-theme.png
Normal file
BIN
src/assets/images/light-theme.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 486 KiB |
BIN
src/assets/images/material-dark-theme.png
Normal file
BIN
src/assets/images/material-dark-theme.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 658 KiB |
BIN
src/assets/images/material-light-theme.png
Normal file
BIN
src/assets/images/material-light-theme.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 656 KiB |
Loading…
Add table
Add a link
Reference in a new issue