diff --git a/ui/src/components/intranet/IntranetDashboard/index.tsx b/ui/src/components/intranet/IntranetDashboard/index.tsx index b42fea3b..b8588f85 100644 --- a/ui/src/components/intranet/IntranetDashboard/index.tsx +++ b/ui/src/components/intranet/IntranetDashboard/index.tsx @@ -298,36 +298,36 @@ const IntranetDashboard: React.FC = () => { {/* Bugün Doğanlar */}
-
-

+
+

🎂 Bugün Doğanlar

+
+
{todayBirthdays.length > 0 ? ( -
- {todayBirthdays.map((birthday, index) => ( -
- {birthday.employee.fullName} -
-

- {birthday.employee.fullName} -

-

- {birthday.age} yaşında 🎉 -

-

- {birthday.employee.department?.name || 'Genel'} -

-
+ todayBirthdays.map((birthday, index) => ( +
+ {birthday.employee.fullName} +
+

+ {birthday.employee.fullName} +

+

+ {birthday.age} yaşında 🎉 +

+

+ {birthday.employee.department?.name || 'Genel'} +

- ))} -
+
+ )) ) : (

Bugün doğan yok @@ -417,29 +417,29 @@ const IntranetDashboard: React.FC = () => { {/* Doğum Günleri */} {weekBirthdays.length > 0 && (

-
-

+
+

🎂 Bu Hafta Doğanlar

-
- {weekBirthdays.map((birthday, index) => ( -
- {birthday.employee.fullName} -
-

- {birthday.employee.fullName} -

-

- {dayjs(birthday.date).format('DD MMMM')} • {birthday.age} yaşında -

-
+
+
+ {weekBirthdays.map((birthday, index) => ( +
+ {birthday.employee.fullName} +
+

+ {birthday.employee.fullName} +

+

+ {dayjs(birthday.date).format('DD MMMM')} • {birthday.age} yaşında +

- ))} -
+
+ ))}
)} @@ -447,29 +447,29 @@ const IntranetDashboard: React.FC = () => { {/* İş Yıldönümleri */} {monthAnniversaries.length > 0 && (
-
-

+
+

🎉 İş Yıldönümleri

-
- {monthAnniversaries.map((anniversary, index) => ( -
- {anniversary.employee.fullName} -
-

- {anniversary.employee.fullName} -

-

- {anniversary.years} yıldır bizimle! 🎊 -

-
+
+
+ {monthAnniversaries.map((anniversary, index) => ( +
+ {anniversary.employee.fullName} +
+

+ {anniversary.employee.fullName} +

+

+ {anniversary.years} yıldır bizimle! 🎊 +

- ))} -
+
+ ))}
)} diff --git a/ui/src/mocks/mockIntranetData.ts b/ui/src/mocks/mockIntranetData.ts index 1078b831..abd63fa6 100644 --- a/ui/src/mocks/mockIntranetData.ts +++ b/ui/src/mocks/mockIntranetData.ts @@ -606,7 +606,7 @@ export const mockDocuments: Document[] = [ export const mockBirthdays: Birthday[] = [ { employee: mockEmployees[0], - date: new Date('1990-10-19'), // Bugün + date: new Date('1990-10-20'), // Bugün age: 35, }, {