mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-22 22:07:10 +00:00
Merge branch 'master' of gitlab.prodcontest.ru:team-15/project
This commit is contained in:
@@ -30,14 +30,13 @@ export const Header = () => {
|
||||
</Link>
|
||||
|
||||
<div className="flex items-center gap-4">
|
||||
<Link
|
||||
to="/docs/"
|
||||
className="hidden items-center gap-1 text-sm font-medium text-gray-700 transition-colors hover:text-gray-900 md:flex"
|
||||
target="_blank"
|
||||
<a
|
||||
href="/docs/"
|
||||
className="hidden md:flex text-sm font-medium text-gray-700 hover:text-gray-900 transition-colors items-center gap-1"
|
||||
>
|
||||
<FileText className="h-4 w-4" />
|
||||
Материалы
|
||||
</Link>
|
||||
</a>
|
||||
|
||||
<DropdownMenu>
|
||||
<DropdownMenuTrigger asChild>
|
||||
@@ -56,14 +55,16 @@ export const Header = () => {
|
||||
<div className="md:hidden">
|
||||
<Link to="/docs" target="_blank">
|
||||
<DropdownMenuItem>
|
||||
<FileText className="mr-2 h-4 w-4" />
|
||||
Материалы
|
||||
</DropdownMenuItem>
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
<DropdownMenuSeparator />
|
||||
<DropdownMenuItem variant="destructive" onClick={handleLogout}>
|
||||
<DropdownMenuItem
|
||||
variant="destructive"
|
||||
onClick={handleLogout}
|
||||
>
|
||||
Выйти
|
||||
</DropdownMenuItem>
|
||||
</DropdownMenuContent>
|
||||
|
||||
Reference in New Issue
Block a user