mirror of
https://github.com/PlayEdu/backend
synced 2025-12-23 05:23:18 +08:00
左侧栏初步
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import React from "react";
|
||||
import styles from "./Header.module.css";
|
||||
import logo from "../../assets/logo.svg";
|
||||
import logo from "../../assets/logo.png";
|
||||
import { Layout, Typography, Menu, Button, Dropdown, MenuProps } from "antd";
|
||||
import { Link } from "react-router-dom";
|
||||
|
||||
@@ -12,13 +12,7 @@ export const Header: React.FC = () => {
|
||||
return (
|
||||
<div className={styles["app-header"]}>
|
||||
<Layout.Header className={styles["main-header"]}>
|
||||
<Link
|
||||
className={styles["top-main"]}
|
||||
style={{ textDecoration: "none" }}
|
||||
to={`/`}
|
||||
>
|
||||
<img src={logo} alt="" className={styles["App-logo"]} />
|
||||
</Link>
|
||||
<div></div>
|
||||
<Button.Group className={styles["button-group"]}>
|
||||
<Link style={{ textDecoration: "none" }} to={`/login`}>
|
||||
<Button>登录</Button>
|
||||
|
||||
Reference in New Issue
Block a user