|
|
@ -1,5 +1,5 @@ |
|
|
|
import { Alignment, Button, Dialog, DialogBody, DialogFooter, Menu, MenuDivider, MenuItem, Navbar, Popover } from "@blueprintjs/core" |
|
|
|
import { FC, ReactNode, useState } from "react" |
|
|
|
import { ReactNode, useState } from "react" |
|
|
|
import { NavLink, useHistory } from "react-router-dom" |
|
|
|
import styled from "styled-components" |
|
|
|
import { GlobalStyles } from "./GlobalStyles" |
|
|
@ -34,7 +34,7 @@ function BaseLayout(props: PageProps) { |
|
|
|
<Navbar.Group align={Alignment.LEFT}> |
|
|
|
<Navbar.Heading>东风天堂</Navbar.Heading> |
|
|
|
<Navbar.Divider /> |
|
|
|
<NavLink to={"/"}> |
|
|
|
<NavLink to={"/home"} strict exact activeClassName="actived"> |
|
|
|
<Button className="bp5-minimal" icon="home" text="Home" /> |
|
|
|
</NavLink> |
|
|
|
<Popover |
|
|
@ -64,7 +64,7 @@ function BaseLayout(props: PageProps) { |
|
|
|
<Button className="bp5-minimal" icon="settings" /> |
|
|
|
<Navbar.Divider /> |
|
|
|
{/* <NavLink to={"/about"}> */} |
|
|
|
<Button onClick={()=>setIsOpenAbout(true)} className="bp5-minimal" icon="person" text="关于" /> |
|
|
|
<Button onClick={() => setIsOpenAbout(true)} className="bp5-minimal" icon="person" text="关于" /> |
|
|
|
{/* </NavLink> */} |
|
|
|
</Navbar.Group> |
|
|
|
</Navbar> |
|
|
|