-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
animations, for the 'browseranimationsmodule' error'
- Loading branch information
1 parent
2af19d4
commit 981fd4b
Showing
4 changed files
with
79 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
import { ApplicationConfig } from '@angular/core'; | ||
import { provideRouter } from '@angular/router'; | ||
import { provideAnimations } from "@angular/platform-browser/animations"; | ||
|
||
import { routes } from './app.routes'; | ||
|
||
export const appConfig: ApplicationConfig = { | ||
providers: [provideRouter(routes)] | ||
providers: [provideRouter(routes),provideAnimations(),] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
.legend { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
margin: 0; | ||
padding: 1rem; | ||
border: 1px solid #ffffff1f; | ||
border-radius: 4px; | ||
} | ||
|
||
p-avatar { | ||
margin-right: 0.7rem; | ||
} | ||
|
||
.name { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
margin-top: 0.5rem; | ||
} | ||
|
||
span { | ||
text-align: center; | ||
} | ||
|
||
.social { | ||
display: flex; | ||
justify-content: center; | ||
margin-top: 1rem; | ||
} | ||
|
||
.social-link span { | ||
font-size: 1.3rem; | ||
margin: 0.3rem; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<p-fieldset> | ||
<ng-template pTemplate="header" class="header"> | ||
<div class="legend"> | ||
<p-avatar size="xlarge" image="https://avatars.githubusercontent.com/u/64324417?v=4" shape="circle" /> | ||
<div class="name"> | ||
<span>Esther White</span> | ||
<span>{{ mcl }}</span> | ||
</div> | ||
</div> | ||
</ng-template> | ||
<p class="m-0"> | ||
Full Stack Developer focusing in Angular, Node.js, and MongoDB. I am passionate about learning new technologies and building applications that solve real-world problems. I am a quick learner and a team player. I am always looking for opportunities to learn and grow. | ||
</p> | ||
<p>Oh abd btw - my picture is not 'grainy', I have just layered a lot of TypeScript code over it.</p> | ||
<div class="social"> | ||
@for (link of links; track link) { | ||
<div class="social-link"> | ||
<a href="{{link.url}}" target="_blank" rel="noopener noreferrer"><span [class]="link.icon"></span></a> | ||
</div> | ||
} | ||
</div> | ||
</p-fieldset> |
21 changes: 20 additions & 1 deletion
21
github-option-three-app/src/app/components/about/about.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,31 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
import { FieldsetModule } from 'primeng/fieldset'; | ||
import { AvatarModule } from 'primeng/avatar'; | ||
import { AvatarGroupModule } from 'primeng/avatargroup'; | ||
|
||
@Component({ | ||
selector: 'app-about', | ||
standalone: true, | ||
imports: [], | ||
imports: [FieldsetModule, AvatarModule,AvatarGroupModule], | ||
templateUrl: './about.component.html', | ||
styleUrl: './about.component.css' | ||
}) | ||
export class AboutComponent { | ||
mcl = "{{ MonaCodeLisa }}" | ||
|
||
links = [ | ||
{ | ||
icon: "pi pi-globe", | ||
url: "https://monacodelisa.com", | ||
}, | ||
{ | ||
icon: "pi pi-github", | ||
url: "https://github.com/monacodelisa", | ||
}, | ||
{ | ||
icon: "pi pi-linkedin", | ||
url: "https://www.linkedin.com/in/monacodelisa/", | ||
}, | ||
]; | ||
} |