18 lines
635 B
TypeScript
18 lines
635 B
TypeScript
import { ContactsList } from '@/components/contacts/contacts-list';
|
||
import { ContactsFilter } from '@/components/contacts/dropdown-filter';
|
||
import { ContactsFilterProvider } from '@/context/contacts-filter';
|
||
|
||
export default function ContactsPage() {
|
||
return (
|
||
<ContactsFilterProvider>
|
||
<div className="sticky top-0 z-50 flex flex-row items-center justify-between space-x-4 bg-background p-6 pb-2">
|
||
<h1 className="text-2xl font-bold">Контакты</h1>
|
||
<ContactsFilter />
|
||
</div>
|
||
<div className="bg-background p-6 pt-0">
|
||
<ContactsList />
|
||
</div>
|
||
</ContactsFilterProvider>
|
||
);
|
||
}
|