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,15 +19,17 @@ export default function Notification() {
|
|||||||
<CardContent>
|
<CardContent>
|
||||||
<Card>
|
<Card>
|
||||||
<CardContent>
|
<CardContent>
|
||||||
{sampleNotifications.map((notification, index) => (
|
{sampleNotifications.map((notification, _) => (
|
||||||
<div key={index} className="flex items-center justify-between p-4 bg-white border-b border-gray-200">
|
<div className="flex items-center justify-between p-4 border-b border-gray-200">
|
||||||
<div className="flex items-center">
|
<div className="flex items-center">
|
||||||
<BellIcon className="w-5 h-5 text-blue-500 mr-3" />
|
<BellIcon className="w-5 h-5 text-blue-500 mr-3" />
|
||||||
<div>
|
<div>
|
||||||
<p className="text-sm font-medium text-gray-900">
|
<p className="text-sm font-medium ">
|
||||||
{notification.message}
|
{notification.message}
|
||||||
</p>
|
</p>
|
||||||
<p className="text-xs text-gray-500">{notification.time}</p>
|
<p className="text-xs text-gray-500">
|
||||||
|
{notification.time}
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<button className="text-sm text-blue-500 hover:text-blue-600">
|
<button className="text-sm text-blue-500 hover:text-blue-600">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user