Skip to content

Commit

Permalink
switch MS SQL with Springboot, some skill image style / alignment twe…
Browse files Browse the repository at this point in the history
…aks version bump
  • Loading branch information
jmuzina committed Jan 13, 2024
1 parent fa1eb12 commit 079c6da
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 21 deletions.
10 changes: 2 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "portfolio",
"version": "1.06",
"version": "1.10",
"scripts": {
"ng": "ng",
"start": "ng serve",
Expand Down
8 changes: 4 additions & 4 deletions src/app/constants/skills.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ export const skillClassificationMappings: ISkillClassificationOpts[] = [
},
},
{
label: 'MS SQL Server',
acquired_at: '2022-05-20',
label: 'Spring',
acquired_at: '2023-11-25',
picture: {
image: {
alt_text: 'MS SQL Server Logo',
alt_text: 'Spring Boot Logo',
file: {
address: '/assets/images/skills/ms_sql_server_logo.png',
address: '/assets/images/skills/springboot_logo.png',
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
<span class="skill-name">{{ skill.label }}</span>
<p-image
*ngIf="skill.picture?.image?.file?.address"
imageClass="skill-image"
[src]="skill.picture?.image?.file?.address || ''"
[alt]="skill.picture?.image?.alt_text || ''"
[src]="skill.picture?.image?.file?.address || ''"
class="skill-image-wrapper"
imageClass="skill-image"
></p-image>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,24 @@
:host ::ng-deep .skill-item-container {
display: flex;
flex-flow: column nowrap;
justify-content: flex-start;
gap: 0.4em;
align-items: center;
width: 100%;
height: 100%;

.skill-name {
align-self: flex-start;
margin: 0 auto;
font-size: 1.4rem;
text-align: center;
}

.skill-image {
.skill-image-wrapper {
align-self: center;
width: 100%;
margin: auto 0;

.skill-image {
width: 100%;
}
}
}
1 change: 0 additions & 1 deletion src/app/services/education.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,5 @@ export class EducationService extends GenericService {

constructor() {
super();
console.log(this.degrees);
}
}
2 changes: 0 additions & 2 deletions src/app/services/skills.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ export class SkillsService extends GenericService {
});
});

console.log(classifications);

return classifications;
}

Expand Down
Binary file added src/assets/images/skills/springboot_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 079c6da

Please sign in to comment.