From 39e6af1e1256b26580366b85f45df71b487fb0c1 Mon Sep 17 00:00:00 2001
From: Valery <57412523+valerydluski@users.noreply.github.com>
Date: Wed, 27 Sep 2023 15:28:27 +0200
Subject: [PATCH] fix: update mobile schedule view (#2306)
* fix: update mobile schedule view
* remove old code
* fix: update header
* fix: prettier
---
client/src/components/Header.tsx | 35 ++++++-------------
.../MobileItemCard/MobileItemCard.tsx | 13 +++----
.../Schedule/pages/SchedulePage/index.tsx | 28 ++++++++-------
3 files changed, 33 insertions(+), 43 deletions(-)
diff --git a/client/src/components/Header.tsx b/client/src/components/Header.tsx
index 5f9ea46a6c..32cef51f16 100644
--- a/client/src/components/Header.tsx
+++ b/client/src/components/Header.tsx
@@ -1,7 +1,7 @@
import Link from 'next/link';
import { useRouter } from 'next/router';
import { Fragment, useContext, useMemo } from 'react';
-import { Button, Dropdown, Menu, Space, Tooltip } from 'antd';
+import { Button, Dropdown, Menu, Space } from 'antd';
import {
EyeOutlined,
LogoutOutlined,
@@ -36,6 +36,12 @@ const MENU_ITEMS = [
icon: ,
title: 'My CV',
},
+ {
+ link: 'https://docs.app.rs.school',
+ icon: ,
+ title: 'Help',
+ target: '_blank',
+ },
{
link: '/api/v2/auth/github/logout',
icon: ,
@@ -53,11 +59,11 @@ export function Header({ title, showCourseName }: Props) {
const menu = (