From 33324aa456f2e7b3fd94657ff922c712f2f35ec8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sedat=20=C3=96zt=C3=BCrk?= Date: Sun, 19 Oct 2025 10:49:12 +0300 Subject: [PATCH] =?UTF-8?q?Intranet=20d=C3=BCzeltmeleri?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../intranet/IntranetDashboard/index.tsx | 132 +++++++++--------- ui/src/mocks/mockIntranetData.ts | 2 +- 2 files changed, 67 insertions(+), 67 deletions(-) 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, }, {