mirror of
https://github.com/Unkn0wnCat/data-toolbox-site.git
synced 2025-08-06 13:18:20 +02:00
Make navigation icon-only
This commit is contained in:
parent
044c63474d
commit
d739d84c67
2 changed files with 4 additions and 4 deletions
|
@ -4,7 +4,7 @@ import { Link } from "react-router-dom";
|
|||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
import * as styles from "./Navigation.module.scss";
|
||||
import { Globe, RefreshCw } from "lucide-react";
|
||||
import { Globe, Info, List, PenTool, RefreshCw, Wrench } from "lucide-react";
|
||||
import LanguageChooser from "./LanguageChooser";
|
||||
import ServiceWorkerAPI from "../services/serviceWorkers"
|
||||
|
||||
|
@ -19,8 +19,8 @@ const Navigation = () => {
|
|||
<nav>
|
||||
<Link to={"/"}>{t("site.title")}</Link>
|
||||
<span className={styles.spacer}></span>
|
||||
<Link to={"/tools"}>{t("site.navigation.tools")}</Link>
|
||||
<Link to={"/about"}>{t("site.navigation.about")}</Link>
|
||||
<Link to={"/tools"} title={t("site.navigation.tools")}><List/></Link>
|
||||
<Link to={"/about"} title={t("site.navigation.about")}><Info/></Link>
|
||||
<Link to={"#"} onClick={() => {setLangChooserActive(true)}} title="Change Language"><Globe/></Link>
|
||||
{updateAvailable && <Link to={"#"} onClick={() => {ServiceWorkerAPI.forceUpdate()}} title="Update Available"><RefreshCw /></Link>}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue