update title
This commit is contained in:
parent
6e871dcf20
commit
6f69c7f4a7
|
@ -9,7 +9,7 @@
|
||||||
/>
|
/>
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />
|
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Vite + React + TS + Material UI</title>
|
<title>Nofated • Home</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
|
|
|
@ -22,7 +22,7 @@ export default function App() {
|
||||||
<Container maxWidth="sm">
|
<Container maxWidth="sm">
|
||||||
<Box sx={{ my: 4 }}>
|
<Box sx={{ my: 4 }}>
|
||||||
<Typography variant="h4" component="h1" gutterBottom>
|
<Typography variant="h4" component="h1" gutterBottom>
|
||||||
Material UI Vite.js example in TypeScript
|
Nofated
|
||||||
</Typography>
|
</Typography>
|
||||||
<ProTip />
|
<ProTip />
|
||||||
<Copyright />
|
<Copyright />
|
||||||
|
|
|
@ -52,7 +52,7 @@ export default function StickyFooter() {
|
||||||
>
|
>
|
||||||
<Container maxWidth="sm">
|
<Container maxWidth="sm">
|
||||||
<Typography variant="body1">
|
<Typography variant="body1">
|
||||||
My sticky footer can be found here.
|
Made by Nofated. 萌 ICP 备 20230721 号。
|
||||||
</Typography>
|
</Typography>
|
||||||
<Copyright />
|
<Copyright />
|
||||||
</Container>
|
</Container>
|
|
@ -4,12 +4,14 @@ import { ThemeProvider } from '@emotion/react';
|
||||||
import { CssBaseline } from '@mui/material';
|
import { CssBaseline } from '@mui/material';
|
||||||
import theme from './theme';
|
import theme from './theme';
|
||||||
import App from './App';
|
import App from './App';
|
||||||
|
import StickyFooter from './StickyFooter';
|
||||||
|
|
||||||
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
|
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
|
||||||
<React.StrictMode>
|
<React.StrictMode>
|
||||||
<ThemeProvider theme={theme}>
|
<ThemeProvider theme={theme}>
|
||||||
<CssBaseline />
|
<CssBaseline />
|
||||||
<App />
|
<App />
|
||||||
|
<StickyFooter />
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
</React.StrictMode>,
|
</React.StrictMode>,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue