mirror of
https://github.com/Sosokker/B2D-Ventures.git
synced 2025-12-19 05:54:06 +01:00
Refactor notification page UI components, remove unnecessary imports and update notification card layout
This commit is contained in:
parent
72d72a550e
commit
60c9af3214
@ -19,22 +19,24 @@ export default function Notification() {
|
||||
<CardContent>
|
||||
<Card>
|
||||
<CardContent>
|
||||
{sampleNotifications.map((notification, index) => (
|
||||
<div key={index} className="flex items-center justify-between p-4 bg-white border-b border-gray-200">
|
||||
<div className="flex items-center">
|
||||
<BellIcon className="w-5 h-5 text-blue-500 mr-3" />
|
||||
<div>
|
||||
<p className="text-sm font-medium text-gray-900">
|
||||
{notification.message}
|
||||
</p>
|
||||
<p className="text-xs text-gray-500">{notification.time}</p>
|
||||
{sampleNotifications.map((notification, _) => (
|
||||
<div className="flex items-center justify-between p-4 border-b border-gray-200">
|
||||
<div className="flex items-center">
|
||||
<BellIcon className="w-5 h-5 text-blue-500 mr-3" />
|
||||
<div>
|
||||
<p className="text-sm font-medium ">
|
||||
{notification.message}
|
||||
</p>
|
||||
<p className="text-xs text-gray-500">
|
||||
{notification.time}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<button className="text-sm text-blue-500 hover:text-blue-600">
|
||||
Mark as read
|
||||
</button>
|
||||
</div>
|
||||
<button className="text-sm text-blue-500 hover:text-blue-600">
|
||||
Mark as read
|
||||
</button>
|
||||
</div>
|
||||
))}
|
||||
))}
|
||||
</CardContent>
|
||||
</Card>
|
||||
</CardContent>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user