Skip to content

Commit

Permalink
💄feat(routes)update routing configuration
Browse files Browse the repository at this point in the history
This commit includes changes to the routing configuration. It ensures proper navigation and user experience within the website.
  • Loading branch information
Vickynjoroge committed Nov 5, 2023
1 parent c25673a commit c5957d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion elewa_group/src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { AboutComponent } from './about/about.component';
const routes: Routes = [
{path:'invest', component:InvestComponent},
{path:'social', component:SocialImpactComponent},
{path:'about', component:AboutComponent}
{path:'', component:AboutComponent}
];

@NgModule({
Expand Down
2 changes: 1 addition & 1 deletion elewa_group/src/app/header/header.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</div>
<ul class="nav justify-content-end" [class.open]="menuopen">
<li class="nav-item">
<a class="nav-link active text-white" routerLink = '/about'>About</a>
<a class="nav-link active text-white" routerLink = '/'>About</a>
</li>
<li class="nav-item">
<a class="nav-link text-white" routerLink = '/invest'>invest</a>
Expand Down

0 comments on commit c5957d9

Please sign in to comment.