diff --git a/rsconcept/frontend/src/components/Icons.tsx b/rsconcept/frontend/src/components/Icons.tsx index 83c6c680..ee9a2e3a 100644 --- a/rsconcept/frontend/src/components/Icons.tsx +++ b/rsconcept/frontend/src/components/Icons.tsx @@ -76,6 +76,14 @@ export function MenuIcon() { ); } +export function ShareIcon() { + return ( + + + + ); +} + export function FilterCogIcon() { return ( diff --git a/rsconcept/frontend/src/components/Navigation/Logo.tsx b/rsconcept/frontend/src/components/Navigation/Logo.tsx index 368c36ef..d44adef6 100644 --- a/rsconcept/frontend/src/components/Navigation/Logo.tsx +++ b/rsconcept/frontend/src/components/Navigation/Logo.tsx @@ -7,8 +7,8 @@ interface LogoProps { function Logo({title}: LogoProps) { return ( - - {title} + + {title} ); } diff --git a/rsconcept/frontend/src/components/Navigation/Navigation.tsx b/rsconcept/frontend/src/components/Navigation/Navigation.tsx index 61c555ce..d918435b 100644 --- a/rsconcept/frontend/src/components/Navigation/Navigation.tsx +++ b/rsconcept/frontend/src/components/Navigation/Navigation.tsx @@ -3,7 +3,6 @@ import TopSearch from './TopSearch'; import { EducationIcon, LibraryIcon } from '../Icons'; import NavigationButton from './NavigationButton'; import UserMenu from './UserMenu'; -import ThemeSwitcher from './ThemeSwitcher'; import { useAuth } from '../../context/AuthContext'; import UserTools from './UserTools'; import Logo from './Logo'; @@ -26,9 +25,8 @@ function Navigation() {
{user && }
- } description='Библиотека конструктов' onClick={navigateCommon} /> + } description='Общие схемы' onClick={navigateCommon} /> } description='Справка' onClick={navigateHelp} /> -
diff --git a/rsconcept/frontend/src/components/Navigation/NavigationTextItem.tsx b/rsconcept/frontend/src/components/Navigation/NavigationTextItem.tsx index 7154c040..8e9719aa 100644 --- a/rsconcept/frontend/src/components/Navigation/NavigationTextItem.tsx +++ b/rsconcept/frontend/src/components/Navigation/NavigationTextItem.tsx @@ -5,7 +5,7 @@ interface NavigationTextItemProps { bold?: boolean } -function NavigationTextItem({text='', description='', onClick, bold=true}: NavigationTextItemProps) { +function NavigationTextItem({text='', description='', onClick, bold}: NavigationTextItemProps) { return (