mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-22 22:07:10 +00:00
adaptive fixes
This commit is contained in:
@@ -30,13 +30,13 @@ export const Header = () => {
|
||||
</Link>
|
||||
|
||||
<div className="flex items-center gap-4">
|
||||
<a
|
||||
href="/docs/"
|
||||
className="text-sm font-medium text-gray-700 hover:text-gray-900 transition-colors flex items-center gap-1"
|
||||
>
|
||||
<FileText className="h-4 w-4" />
|
||||
Материалы
|
||||
</a>
|
||||
<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" />
|
||||
Материалы
|
||||
</a>
|
||||
|
||||
<DropdownMenu>
|
||||
<DropdownMenuTrigger asChild>
|
||||
@@ -51,6 +51,16 @@ export const Header = () => {
|
||||
<Link to="/profile">
|
||||
<DropdownMenuItem>Аккаунт</DropdownMenuItem>
|
||||
</Link>
|
||||
|
||||
<div className="md:hidden">
|
||||
<Link to="/docs">
|
||||
<DropdownMenuItem>
|
||||
<FileText className="h-4 w-4 mr-2" />
|
||||
Материалы
|
||||
</DropdownMenuItem>
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
<DropdownMenuSeparator />
|
||||
<DropdownMenuItem
|
||||
variant="destructive"
|
||||
|
||||
+1
@@ -30,6 +30,7 @@ const ActionButtons: React.FC<ActionButtonsProps> = ({
|
||||
|
||||
{isCleared ? (
|
||||
<Button
|
||||
className="font-hse-sans flex-grow"
|
||||
disabled={true}
|
||||
>
|
||||
Задача сдана!
|
||||
|
||||
@@ -24,7 +24,7 @@ export const UserStatsSections = () => {
|
||||
/>
|
||||
<UserStatBlock
|
||||
value={stats.total_attempts}
|
||||
description="Попыток выполнено"
|
||||
description="Решений отправлено"
|
||||
/>
|
||||
</div>
|
||||
) : (
|
||||
|
||||
Reference in New Issue
Block a user