mirror of
https://github.com/adam-benyekkou/my_portfolio.git
synced 2026-01-16 12:30:10 +00:00
Added components architecture and order to main layout
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
<app-header />
|
||||
<app-hero />
|
||||
<app-sidebar />
|
||||
<main class="bg-nier-bg">
|
||||
<app-hero />
|
||||
<app-about />
|
||||
<app-projects />
|
||||
<app-contact />
|
||||
<app-sidebar />
|
||||
</main>
|
||||
<app-footer />
|
||||
|
||||
@@ -1,12 +1,23 @@
|
||||
import { Component } from '@angular/core';
|
||||
import {FooterComponent} from '../footer/footer.component';
|
||||
import {SidebarComponent} from '../sidebar/sidebar.component';
|
||||
import {HeaderComponent} from '../header/header.component';
|
||||
import {HeroComponent} from '../hero/hero.component';
|
||||
import { FooterComponent } from '../footer/footer.component';
|
||||
import { SidebarComponent } from '../sidebar/sidebar.component';
|
||||
import { HeaderComponent } from '../header/header.component';
|
||||
import { HeroComponent } from '../hero/hero.component';
|
||||
import { AboutComponent } from '../about/about.component';
|
||||
import { ProjectsComponent } from '../projects/projects.component';
|
||||
import { ContactComponent } from '../contact/contact.component';
|
||||
|
||||
@Component({
|
||||
selector: 'app-main-layout',
|
||||
imports: [FooterComponent, SidebarComponent, HeaderComponent, HeroComponent],
|
||||
imports: [
|
||||
FooterComponent,
|
||||
SidebarComponent,
|
||||
HeaderComponent,
|
||||
HeroComponent,
|
||||
AboutComponent,
|
||||
ProjectsComponent,
|
||||
ContactComponent,
|
||||
],
|
||||
templateUrl: './main-layout.component.html',
|
||||
styleUrl: './main-layout.component.css',
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user