Vlad Chikalkin 427cc6b5d8
Feature/back button (#17)
* prepare for header back button: fix pages layout
add header with back button

* set header title

* optimize layout

* remove navigation context

* make profile photo bigger

* remove page-header from main pages

* fix profile layout

* profile: use ui/Card

* fix app background

* contacts: use ui/Card component
2025-01-27 17:28:28 +03:00

21 lines
677 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { ContactsList } from '@/components/contacts/contacts-list';
import { ContactsFilter } from '@/components/contacts/dropdown-filter';
import { ContactsFilterProvider } from '@/context/contacts-filter';
import { Card } from '@repo/ui/components/ui/card';
export default function ContactsPage() {
return (
<ContactsFilterProvider>
<Card>
<div className="flex flex-row items-center justify-between space-x-4 p-4">
<h1 className="text-2xl font-bold">Контакты</h1>
<ContactsFilter />
</div>
<div className="p-4 pt-0">
<ContactsList />
</div>
</Card>
</ContactsFilterProvider>
);
}