Commit 613065bb by Nattana Chaiyamat

แก้หน้าจอdashboard

parent 33fd588b
<header class="flex flex-col items-center gap-3 text-center"> <header class="flex flex-col items-center gap-3 text-center">
<!-- โลโก้ --> <!-- โลโก้ -->
<img src="./assets/img/brand-logos/mySkill-XXX-h190.PNG" <img src="./assets/img/brand-logos/mySkill-XXX-h190.PNG" alt="mySkillX" class="h-32 w-auto" />
alt="mySkillX"
class="h-32 w-auto" />
<!-- บรรทัดใหญ่ --> <!-- บรรทัดใหญ่ -->
<h1 class="max-w-[900px] text-2xl sm:text-3xl font-bold text-gray-900"> <h1 class="max-w-[900px] text-2xl sm:text-3xl font-bold text-gray-900">
...@@ -29,11 +26,9 @@ ...@@ -29,11 +26,9 @@
</div> </div>
<div class="bp-grid"> <div class="bp-grid">
<ng-container *ngFor="let m of hrdModules"> <ng-container *ngFor="let m of hrdModules let f = first">
<div class="module-card" routerLink="/ess/employee-self-service"> <div class="module-card" [routerLink]=" !f ? '/ess/employee-self-service' :null">
<img [src]="m.icon" <img [src]="m.icon" [alt]="m.title + ' icon'" class="module-img" />
[alt]="m.title + ' icon'"
class="module-img"/>
<p class="module-label"> <p class="module-label">
<span class="font-semibold text-sky-600">One X</span><br /> <span class="font-semibold text-sky-600">One X</span><br />
{{ m.title }} {{ m.title }}
...@@ -54,9 +49,7 @@ ...@@ -54,9 +49,7 @@
<div class="bp-grid"> <div class="bp-grid">
<ng-container *ngFor="let m of hrmModules"> <ng-container *ngFor="let m of hrmModules">
<div class="module-card" routerLink="/ess/employee-self-service"> <div class="module-card" routerLink="/ess/employee-self-service">
<img [src]="m.icon" <img [src]="m.icon" [alt]="m.title + ' icon'" class="module-img" />
[alt]="m.title + ' icon'"
class="module-img"/>
<p class="module-label"> <p class="module-label">
<span class="font-semibold text-sky-600">One X</span><br /> <span class="font-semibold text-sky-600">One X</span><br />
{{ m.title }} {{ m.title }}
...@@ -70,6 +63,10 @@ ...@@ -70,6 +63,10 @@
</section> </section>
<!-- eco-system pill ---------------------------------------------------> <!-- eco-system pill --------------------------------------------------->
<div class="eco-pill bp-glow mx-auto mt-5"> <div (click)="goToWebsite('https://www.myhr.co.th/')"
class="eco-pill bp-glow mx-auto mt-5 text-center !p-0 cursor-pointer">
<span class="flex flex-row" style="font-size: 30px;align-items: center;justify-content: center;">
Eco system <span class="font-semibold">myHR</span> Eco system <span class="font-semibold">myHR</span>
<img src='./assets/img/icons-menu/logo-myhr.png' style="width: 100px;" />
</span>
</div> </div>
\ No newline at end of file
...@@ -23,4 +23,8 @@ export class MySkillXModuleComponent { ...@@ -23,4 +23,8 @@ export class MySkillXModuleComponent {
{ icon: 'assets/img/logos/HDM/5.png', title: 'JD & Org Chart' }, { icon: 'assets/img/logos/HDM/5.png', title: 'JD & Org Chart' },
{ icon: 'assets/img/logos/HDM/6.png', title: 'Welfare & Reward' } { icon: 'assets/img/logos/HDM/6.png', title: 'Welfare & Reward' }
]; ];
goToWebsite(web: string) {
window.open(web, '_blank');
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment