Skip to content

Commit d11cfe5

Browse files
committed
style: Update header elements in Employees and Reports pages for improved readability and consistency
1 parent cfd12e4 commit d11cfe5

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/pages/Employees.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,10 @@ const Employees = () => {
197197
}}>
198198
<div className="d-flex justify-content-between align-items-center">
199199
<div>
200-
<h2 style={{ color: 'white', fontWeight: '700', marginBottom: '0.5rem' }}>
200+
<h1 style={{ fontSize: '2.5rem', fontWeight: 'bold', marginBottom: '8px' }}>
201201
<FaUserTie className="me-2" />
202202
Employee Management
203-
</h2>
203+
</h1>
204204
<p style={{ marginBottom: 0, color: 'rgba(255, 255, 255, 0.9)' }}>
205205
Manage employees working at {selectedBranchId === 'All' ? 'all branches' : `Branch ${selectedBranchId}`}
206206
</p>

src/pages/Reports.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,9 @@ const Reports = () => {
126126
boxShadow: '0 4px 15px rgba(0,0,0,0.1)',
127127
color: 'white'
128128
}}>
129-
<h2 style={{ color: 'white', fontWeight: '700', marginBottom: '0.5rem' }}>
130-
<FaChartBar className="me-2" />
129+
<h1 style={{ fontSize: '2.5rem', fontWeight: 'bold', marginBottom: '8px' }}><FaChartBar className="me-2" />
131130
Reports & Analytics
132-
</h2>
131+
</h1>
133132
<p style={{ marginBottom: 0, color: 'rgba(255, 255, 255, 0.9)' }}>Comprehensive business insights and performance metrics</p>
134133
</div>
135134
</Col>

0 commit comments

Comments
 (0)