import { PrivateComponent } from "./private.component";
import { LoginComponent } from "./login.component";
import { RegisterComponent } from "./register.component";
import { SettingsComponent } from "./settings.component";
import { HomeComponent } from "./home.component";
import { AssetComponent } from "./asset.component";
import { ViewerComponent } from "./viewer.component";
import { AnalyticsComponent } from "./analytics.component";

/* List of Alienate Routes */
export const AlienateAppRoutes = [
    { 
        path: '',
        redirectTo: 'me',
        terminal: true
            { path: '', component: HomeComponent },
            { path: 'asset/:tx', component: AssetComponent },
            { path: 'asset/:tx/view', component: ViewerComponent },
            { path: 'asset/:tx/analytics', component: AnalyticsComponent },
            { path: 'settings', component: SettingsComponent }
        ]
    },
    { path: 'login', component: LoginComponent },
    { path: 'register', component: RegisterComponent }
];
    },
    { 
        path: 'me', 
        component: PrivateComponent,
        children: [