课程详情初步

This commit is contained in:
禺狨
2023-03-24 17:45:47 +08:00
parent b24e4e09b1
commit 351e755fe2
13 changed files with 438 additions and 11 deletions

View File

@@ -9,6 +9,7 @@ export const Footer: React.FC = () => {
backgroundColor: "#333333",
height: 90,
textAlign: "center",
marginTop: 80,
}}
>
<i

View File

@@ -92,7 +92,7 @@ export const Header: React.FC = () => {
<Button.Group className={styles["button-group"]}>
<Dropdown menu={{ items, onClick }} placement="bottomRight">
<div className="d-flex">
{user.name && (
{user && user.name && (
<img
style={{ width: 36, height: 36, borderRadius: "50%" }}
src={user.avatar}