init
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<div class="flex flex-col items-center justify-center w-full h-full cool-gray-900">
|
||||
<div class="flex flex-col items-center max-w-lg rich-text">
|
||||
<img class="w-20"
|
||||
src="assets/images/logo/scrutiny-logo-white.svg">
|
||||
<h2>Landing Module</h2>
|
||||
<p>
|
||||
This can be the landing or the welcome page of your application. If you have an SSR (Server Side Rendering) setup, or if you don't need to have Search engine
|
||||
visibility and optimizations, you can even use this page as your primary landing page.
|
||||
</p>
|
||||
<p>
|
||||
This is a separate "module", it has its own directory and routing setup and also it's completely separated from the actual application. This is also a simple example of
|
||||
multiple applications setup. You can have different entry points and essentially have different applications within the same codebase.
|
||||
</p>
|
||||
<a class="mt-10 no-underline"
|
||||
mat-raised-button
|
||||
[color]="'primary'"
|
||||
[routerLink]="'/apps/analytics-dashboard'">
|
||||
Launch the App
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,12 @@
|
||||
@import 'treo';
|
||||
|
||||
landing-home {
|
||||
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
// @ Theming
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
@include treo-theme {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
import { Component, ViewEncapsulation } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector : 'landing-home',
|
||||
templateUrl : './home.component.html',
|
||||
styleUrls : ['./home.component.scss'],
|
||||
encapsulation: ViewEncapsulation.None
|
||||
})
|
||||
export class LandingHomeComponent
|
||||
{
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
constructor()
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule } from '@angular/router';
|
||||
import { MatButtonModule } from '@angular/material/button';
|
||||
import { SharedModule } from 'app/shared/shared.module';
|
||||
import { LandingHomeComponent } from 'app/modules/landing/home/home.component';
|
||||
import { landingHomeRoutes } from 'app/modules/landing/home/home.routing';
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
LandingHomeComponent
|
||||
],
|
||||
imports : [
|
||||
RouterModule.forChild(landingHomeRoutes),
|
||||
MatButtonModule,
|
||||
SharedModule
|
||||
]
|
||||
})
|
||||
export class LandingHomeModule
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import { Route } from '@angular/router';
|
||||
import { LandingHomeComponent } from 'app/modules/landing/home/home.component';
|
||||
|
||||
export const landingHomeRoutes: Route[] = [
|
||||
{
|
||||
path : '',
|
||||
component: LandingHomeComponent
|
||||
}
|
||||
];
|
||||
Reference in New Issue
Block a user