portfolio.web/src/app/app-routing.module.ts
Bangara Raju 3cb47c7c1a chore: upgrade Angular and related dependencies to version 20.0.0
feat: refactor AboutComponent to be standalone and include CommonModule
feat: refactor BlogComponent to be standalone and include CommonModule
feat: refactor ContactSidebarComponent to be standalone and include CommonModule
feat: refactor ContactComponent to be standalone and include CommonModule and FormsModule
feat: refactor NavbarComponent to be standalone and include CommonModule and RouterModule
feat: refactor ProjectsComponent to be standalone and include CommonModule
feat: refactor ResumeComponent to be standalone and include CommonModule
feat: refactor AppComponent to be standalone and include necessary components
feat: remove AppModule in favor of standalone components
fix: update tests to include HttpClientTestingModule where necessary
fix: update routing module to export appRoutes without NgModule
chore: add environment configuration for production
2026-03-14 09:38:15 +05:30

16 lines
859 B
TypeScript

import { Routes } from '@angular/router';
import { AboutComponent } from './about/about.component';
import { ResumeComponent } from './resume/resume.component';
import { ProjectsComponent } from './projects/projects.component';
import { BlogComponent } from './blog/blog.component';
import { ContactComponent } from './contact/contact.component';
export const appRoutes: Routes = [
{ path: '', component: AboutComponent, title: "Bangara Raju Kottedi" },
{ path: 'resume', component: ResumeComponent, title: "Bangara Raju Kottedi - Resume" },
{ path: 'projects', component: ProjectsComponent, title: "Bangara Raju Kottedi - Projects" },
{ path: 'weblog', component: BlogComponent, title: "Bangara Raju Kottedi - Posts" },
{ path: 'contact', component: ContactComponent, title: "Bangara Raju Kottedi - Contact" },
{ path: '**', redirectTo: '/'}
];