mirror of
https://github.com/adam-benyekkou/my_portfolio.git
synced 2026-01-15 20:20:09 +00:00
Added file structure for sections about | hero | header | projects, picked the fonts and colors
This commit is contained in:
@@ -0,0 +1 @@
|
||||
<p>about-display works!</p>
|
||||
11
src/app/features/about-display/about-display.component.ts
Normal file
11
src/app/features/about-display/about-display.component.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-about-display',
|
||||
imports: [],
|
||||
templateUrl: './about-display.component.html',
|
||||
styleUrl: './about-display.component.css'
|
||||
})
|
||||
export class AboutDisplayComponent {
|
||||
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
<p class="!bg-red-500">Adam Logo</p>
|
||||
<p class="font-terminal-nier text-xl">AB</p>
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
<section>
|
||||
<article><p>HERO SECTION</p></article>
|
||||
<article><p>CREATIVE DEVELOPER</p></article>
|
||||
</section>
|
||||
11
src/app/features/hero-display/hero-display.component.ts
Normal file
11
src/app/features/hero-display/hero-display.component.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-hero-display',
|
||||
imports: [],
|
||||
templateUrl: './hero-display.component.html',
|
||||
styleUrl: './hero-display.component.css'
|
||||
})
|
||||
export class HeroDisplayComponent {
|
||||
|
||||
}
|
||||
@@ -1 +1,4 @@
|
||||
<p>projects-list works!</p>
|
||||
<section>
|
||||
<article><p>PROJECT LIST</p></article>
|
||||
</section>
|
||||
|
||||
|
||||
0
src/app/layout/about/about.component.css
Normal file
0
src/app/layout/about/about.component.css
Normal file
1
src/app/layout/about/about.component.html
Normal file
1
src/app/layout/about/about.component.html
Normal file
@@ -0,0 +1 @@
|
||||
<p>about works!</p>
|
||||
11
src/app/layout/about/about.component.ts
Normal file
11
src/app/layout/about/about.component.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-about',
|
||||
imports: [],
|
||||
templateUrl: './about.component.html',
|
||||
styleUrl: './about.component.css'
|
||||
})
|
||||
export class AboutComponent {
|
||||
|
||||
}
|
||||
@@ -1,6 +1,8 @@
|
||||
<header>
|
||||
<section class="grid grid-cols-[1fr_5fr_4fr_4fr] gap-1 bg-nier-dark font-terminal text-nier-light divide-x divide-nier-accent/30 border border-nier-accent h-32">
|
||||
<app-header-logo />
|
||||
<app-header-text-animate-section />
|
||||
<app-header-nav-links />
|
||||
<app-header-contact-links />
|
||||
</section>
|
||||
</header>
|
||||
|
||||
0
src/app/layout/components/hero/hero.component.css
Normal file
0
src/app/layout/components/hero/hero.component.css
Normal file
1
src/app/layout/components/hero/hero.component.html
Normal file
1
src/app/layout/components/hero/hero.component.html
Normal file
@@ -0,0 +1 @@
|
||||
<app-hero-display />
|
||||
10
src/app/layout/components/hero/hero.component.ts
Normal file
10
src/app/layout/components/hero/hero.component.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { Component } from '@angular/core';
|
||||
import {HeroDisplayComponent} from '../../../features/hero-display/hero-display.component';
|
||||
|
||||
@Component({
|
||||
selector: 'app-hero',
|
||||
imports: [HeroDisplayComponent],
|
||||
templateUrl: './hero.component.html',
|
||||
styleUrl: './hero.component.css',
|
||||
})
|
||||
export class HeroComponent {}
|
||||
@@ -1,3 +1,4 @@
|
||||
<app-header />
|
||||
<app-hero />
|
||||
<app-sidebar />
|
||||
<app-footer />
|
||||
|
||||
@@ -2,17 +2,12 @@ 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';
|
||||
|
||||
@Component({
|
||||
selector: 'app-main-layout',
|
||||
imports: [
|
||||
FooterComponent,
|
||||
SidebarComponent,
|
||||
HeaderComponent
|
||||
],
|
||||
imports: [FooterComponent, SidebarComponent, HeaderComponent, HeroComponent],
|
||||
templateUrl: './main-layout.component.html',
|
||||
styleUrl: './main-layout.component.css'
|
||||
styleUrl: './main-layout.component.css',
|
||||
})
|
||||
export class MainLayoutComponent {
|
||||
|
||||
}
|
||||
export class MainLayoutComponent {}
|
||||
|
||||
Reference in New Issue
Block a user