contacts: use ui/Card component
This commit is contained in:
parent
d56fc90e4d
commit
5b03631512
@ -1,17 +1,20 @@
|
|||||||
import { ContactsList } from '@/components/contacts/contacts-list';
|
import { ContactsList } from '@/components/contacts/contacts-list';
|
||||||
import { ContactsFilter } from '@/components/contacts/dropdown-filter';
|
import { ContactsFilter } from '@/components/contacts/dropdown-filter';
|
||||||
import { ContactsFilterProvider } from '@/context/contacts-filter';
|
import { ContactsFilterProvider } from '@/context/contacts-filter';
|
||||||
|
import { Card } from '@repo/ui/components/ui/card';
|
||||||
|
|
||||||
export default function ContactsPage() {
|
export default function ContactsPage() {
|
||||||
return (
|
return (
|
||||||
<ContactsFilterProvider>
|
<ContactsFilterProvider>
|
||||||
<div className="flex flex-row items-center justify-between space-x-4 bg-background p-4">
|
<Card>
|
||||||
|
<div className="flex flex-row items-center justify-between space-x-4 p-4">
|
||||||
<h1 className="text-2xl font-bold">Контакты</h1>
|
<h1 className="text-2xl font-bold">Контакты</h1>
|
||||||
<ContactsFilter />
|
<ContactsFilter />
|
||||||
</div>
|
</div>
|
||||||
<div className="bg-background p-4 pt-0">
|
<div className="p-4 pt-0">
|
||||||
<ContactsList />
|
<ContactsList />
|
||||||
</div>
|
</div>
|
||||||
|
</Card>
|
||||||
</ContactsFilterProvider>
|
</ContactsFilterProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user