import { Routes } from '@angular/router';

export const routes: Routes = [
    {
        path: '',
        loadComponent: () => import('@features/landing/').then(m => m.LandingpageComponent),
        data: { trackName: 'Home' }
    },
    {
        path: 'blog',
        loadComponent: () => import('@features/blog').then(m => m.BlogListComponent),
        data: { trackName: 'Blog' }
    },
    {
        path: 'blog/:slug',
        loadComponent: () => import('@features/blog').then(m => m.BlogDetailComponent),
        data: { trackName: 'BlogDetail' }
    },
    {
        path: 'projekt/:slug',
        loadComponent: () => import('@features/landing/pages/project-detail/project-detail.component').then(m => m.ProjectDetailComponent),
        data: { trackName: 'ProjectDetail' }
    }
];
