File tree Expand file tree Collapse file tree 3 files changed +43
-4
lines changed
Expand file tree Collapse file tree 3 files changed +43
-4
lines changed Original file line number Diff line number Diff line change 66 d ="M0 220L28.5 219.7C57 219.3 114 218.7 171.2 214.3C228.3 210 285.7 202 342.8 193.5C400 185 457 176 514.2 157.7C571.3 139.3 628.7 111.7 685.8 112C743 112.3 800 140.7 857.2 147.7C914.3 154.7 971.7 140.3 1028.8 133.3C1086 126.3 1143 126.7 1171.5 126.8L1200 127L1200 0L1171.5 0C1143 0 1086 0 1028.8 0C971.7 0 914.3 0 857.2 0C800 0 743 0 685.8 0C628.7 0 571.3 0 514.2 0C457 0 400 0 342.8 0C285.7 0 228.3 0 171.2 0C114 0 57 0 28.5 0L0 0Z "
77 stroke-linecap ="round " stroke-linejoin ="miter "> </ path >
88</ svg >
9+
10+ < div class ="
11+ aspect-219/40
12+ grid grid-cols-6 grid-rows-6
13+ place-items-center
14+ ">
15+ < app-title class ="
16+ row-start-3 col-start-1 row-span-2 col-span-2 -translate-y-1/8
17+ " />
18+ < app-user-space class ="
19+ w-full
20+ col-start-4 row-start-2 col-span-full mr-4
21+ md:col-start-5
22+ " />
23+ </ div >
Original file line number Diff line number Diff line change 11import { ChangeDetectionStrategy , Component } from '@angular/core' ;
2+ import { TitleComponent } from './title/title.component' ;
3+ import { UserSpaceComponent } from './user-space/user-space.component' ;
24
35@Component ( {
46 selector : 'app-header' ,
5- imports : [ ] ,
7+ imports : [
8+ TitleComponent , UserSpaceComponent ,
9+ ] ,
610 templateUrl : './header.component.html' ,
711 styleUrl : './header.component.scss' ,
8- changeDetection : ChangeDetectionStrategy . OnPush
12+ changeDetection : ChangeDetectionStrategy . OnPush ,
913} )
1014export class HeaderComponent {
11-
1215}
Original file line number Diff line number Diff line change 1- < p > user-space works!</ p >
1+ < nav >
2+ < ul class ="
3+ flex justify-center gap-4
4+ [&_a]:bg-secondary [&_a]:hover:bg-secondary-light [&_a]:px-4 [&_a]:py-2 [&_a]:rounded-md
5+ lg:[&_a]:px-8 lg:[&_a]:py-4 lg:text-xl
6+ ">
7+ < li > < a href ="# "> login</ a > </ li >
8+ < li > < a href ="# "> register</ a > </ li >
9+
10+ < svg viewBox ="0 0 16 16 " xmlns ="http://www.w3.org/2000/svg " class ="
11+ h-7 fill-secondary-light
12+ stroke-secondary-dark
13+ -translate-y-1/8
14+ lg:h-12 lg:-translate-y-1/4
15+ hover:fill-secondary-dark hover:stroke-secondary-light
16+ ">
17+ < path
18+ d ="M8 7C9.65685 7 11 5.65685 11 4C11 2.34315 9.65685 1 8 1C6.34315 1 5 2.34315 5 4C5 5.65685 6.34315 7 8 7Z " />
19+ < path d ="M14 12C14 10.3431 12.6569 9 11 9H5C3.34315 9 2 10.3431 2 12V15H14V12Z " />
20+ </ svg >
21+ </ ul >
22+ </ nav >
You can’t perform that action at this time.
0 commit comments