From 24c98ac623ce55a8f5a1113be43a4f6d34498bd5 Mon Sep 17 00:00:00 2001 From: vincentlu <t1341870251@gmail.com> Date: 星期二, 15 四月 2025 11:01:13 +0800 Subject: [PATCH] # --- zy-acs-flow/src/layout/Logo2.jsx | 25 +++++++++++++++++++++++++ zy-acs-flow/src/page/dashboard/Dashboard.jsx | 2 +- zy-acs-flow/src/layout/AppBar.jsx | 2 +- 3 files changed, 27 insertions(+), 2 deletions(-) diff --git a/zy-acs-flow/src/layout/AppBar.jsx b/zy-acs-flow/src/layout/AppBar.jsx index 4154f5f..ae1731c 100644 --- a/zy-acs-flow/src/layout/AppBar.jsx +++ b/zy-acs-flow/src/layout/AppBar.jsx @@ -2,7 +2,7 @@ import { AppBar, TitlePortal } from 'react-admin'; import { Box, useMediaQuery } from '@mui/material'; -import Logo from './Logo'; +import Logo from './Logo2'; import { AppBarToolbar } from './AppBarToolbar'; const CustomAppBar = () => { diff --git a/zy-acs-flow/src/layout/Logo2.jsx b/zy-acs-flow/src/layout/Logo2.jsx new file mode 100644 index 0000000..3b9e428 --- /dev/null +++ b/zy-acs-flow/src/layout/Logo2.jsx @@ -0,0 +1,25 @@ +import * as React from 'react'; +import { SVGProps } from 'react'; +import { useTheme } from '@mui/material/styles'; +import { + Typography +} from '@mui/material'; + +const Logo = (props) => { + const theme = useTheme(); + return ( + // <Typography variant='h6'>Vincent</Typography> + <div style={{ + fontFamily: 'Bebas Neue', + fontSize: '26px', + fontWeight: 'bold', + letterSpacing: '2px', + textShadow: '1px 1px 2px rgba(0, 0, 0, 0.2)', + transform: 'skew(-10deg)', + }}> + Vincent + </div> + ); +}; + +export default Logo; diff --git a/zy-acs-flow/src/page/dashboard/Dashboard.jsx b/zy-acs-flow/src/page/dashboard/Dashboard.jsx index 1c9389f..1c1ea62 100644 --- a/zy-acs-flow/src/page/dashboard/Dashboard.jsx +++ b/zy-acs-flow/src/page/dashboard/Dashboard.jsx @@ -1,6 +1,6 @@ import React, { useState, useRef, useEffect, useMemo } from "react"; import { useNavigate } from 'react-router-dom'; -import { useAuthProvider } from 'react-admin'; +import { Title, useAuthProvider } from 'react-admin'; import MapPage from "../../map/MapPage"; const Dashboard = () => { -- Gitblit v1.9.1