Intranet düzeltmeleri
This commit is contained in:
parent
e8093784e0
commit
33324aa456
2 changed files with 67 additions and 67 deletions
|
|
@ -298,13 +298,14 @@ const IntranetDashboard: React.FC = () => {
|
||||||
|
|
||||||
{/* Bugün Doğanlar */}
|
{/* Bugün Doğanlar */}
|
||||||
<div className="bg-gradient-to-br from-pink-50 to-purple-50 dark:from-pink-900/20 dark:to-purple-900/20 rounded-lg shadow-sm border border-pink-200 dark:border-pink-800">
|
<div className="bg-gradient-to-br from-pink-50 to-purple-50 dark:from-pink-900/20 dark:to-purple-900/20 rounded-lg shadow-sm border border-pink-200 dark:border-pink-800">
|
||||||
<div className="p-6">
|
<div className="p-6 border-b border-pink-200 dark:border-pink-700">
|
||||||
<h2 className="text-lg font-semibold text-gray-900 dark:text-white flex items-center gap-2 mb-4">
|
<h2 className="text-lg font-semibold text-gray-900 dark:text-white flex items-center gap-2">
|
||||||
🎂 Bugün Doğanlar
|
🎂 Bugün Doğanlar
|
||||||
</h2>
|
</h2>
|
||||||
|
</div>
|
||||||
|
<div className="p-4 space-y-3">
|
||||||
{todayBirthdays.length > 0 ? (
|
{todayBirthdays.length > 0 ? (
|
||||||
<div className="space-y-3">
|
todayBirthdays.map((birthday, index) => (
|
||||||
{todayBirthdays.map((birthday, index) => (
|
|
||||||
<div
|
<div
|
||||||
key={index}
|
key={index}
|
||||||
className="flex items-center gap-3 p-3 bg-white/50 dark:bg-gray-800/50 rounded-lg"
|
className="flex items-center gap-3 p-3 bg-white/50 dark:bg-gray-800/50 rounded-lg"
|
||||||
|
|
@ -326,8 +327,7 @@ const IntranetDashboard: React.FC = () => {
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
))}
|
))
|
||||||
</div>
|
|
||||||
) : (
|
) : (
|
||||||
<p className="text-sm text-gray-500 dark:text-gray-400 text-center py-4">
|
<p className="text-sm text-gray-500 dark:text-gray-400 text-center py-4">
|
||||||
Bugün doğan yok
|
Bugün doğan yok
|
||||||
|
|
@ -417,11 +417,12 @@ const IntranetDashboard: React.FC = () => {
|
||||||
{/* Doğum Günleri */}
|
{/* Doğum Günleri */}
|
||||||
{weekBirthdays.length > 0 && (
|
{weekBirthdays.length > 0 && (
|
||||||
<div className="bg-gradient-to-br from-purple-50 to-pink-50 dark:from-purple-900/20 dark:to-pink-900/20 rounded-lg shadow-sm border border-purple-200 dark:border-purple-800">
|
<div className="bg-gradient-to-br from-purple-50 to-pink-50 dark:from-purple-900/20 dark:to-pink-900/20 rounded-lg shadow-sm border border-purple-200 dark:border-purple-800">
|
||||||
<div className="p-6">
|
<div className="p-6 border-b border-purple-200 dark:border-purple-700">
|
||||||
<h2 className="text-lg font-semibold text-gray-900 dark:text-white flex items-center gap-2 mb-4">
|
<h2 className="text-lg font-semibold text-gray-900 dark:text-white flex items-center gap-2">
|
||||||
🎂 Bu Hafta Doğanlar
|
🎂 Bu Hafta Doğanlar
|
||||||
</h2>
|
</h2>
|
||||||
<div className="space-y-3">
|
</div>
|
||||||
|
<div className="p-4 space-y-3">
|
||||||
{weekBirthdays.map((birthday, index) => (
|
{weekBirthdays.map((birthday, index) => (
|
||||||
<div key={index} className="flex items-center gap-3">
|
<div key={index} className="flex items-center gap-3">
|
||||||
<img
|
<img
|
||||||
|
|
@ -441,17 +442,17 @@ const IntranetDashboard: React.FC = () => {
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{/* İş Yıldönümleri */}
|
{/* İş Yıldönümleri */}
|
||||||
{monthAnniversaries.length > 0 && (
|
{monthAnniversaries.length > 0 && (
|
||||||
<div className="bg-gradient-to-br from-blue-50 to-cyan-50 dark:from-blue-900/20 dark:to-cyan-900/20 rounded-lg shadow-sm border border-blue-200 dark:border-blue-800">
|
<div className="bg-gradient-to-br from-blue-50 to-cyan-50 dark:from-blue-900/20 dark:to-cyan-900/20 rounded-lg shadow-sm border border-blue-200 dark:border-blue-800">
|
||||||
<div className="p-6">
|
<div className="p-6 border-b border-blue-200 dark:border-blue-700">
|
||||||
<h2 className="text-lg font-semibold text-gray-900 dark:text-white flex items-center gap-2 mb-4">
|
<h2 className="text-lg font-semibold text-gray-900 dark:text-white flex items-center gap-2">
|
||||||
🎉 İş Yıldönümleri
|
🎉 İş Yıldönümleri
|
||||||
</h2>
|
</h2>
|
||||||
<div className="space-y-3">
|
</div>
|
||||||
|
<div className="p-4 space-y-3">
|
||||||
{monthAnniversaries.map((anniversary, index) => (
|
{monthAnniversaries.map((anniversary, index) => (
|
||||||
<div key={index} className="flex items-center gap-3">
|
<div key={index} className="flex items-center gap-3">
|
||||||
<img
|
<img
|
||||||
|
|
@ -471,7 +472,6 @@ const IntranetDashboard: React.FC = () => {
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -606,7 +606,7 @@ export const mockDocuments: Document[] = [
|
||||||
export const mockBirthdays: Birthday[] = [
|
export const mockBirthdays: Birthday[] = [
|
||||||
{
|
{
|
||||||
employee: mockEmployees[0],
|
employee: mockEmployees[0],
|
||||||
date: new Date('1990-10-19'), // Bugün
|
date: new Date('1990-10-20'), // Bugün
|
||||||
age: 35,
|
age: 35,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue