init Blog App

This commit is contained in:
2025-10-27 17:25:02 +05:30
parent d9f416a2e4
commit 33d9c8e30d
10 changed files with 2482 additions and 1 deletions

19
src/main.jsx Normal file
View File

@@ -0,0 +1,19 @@
import * as React from 'react';
import { createRoot } from 'react-dom/client';
import CssBaseline from '@mui/material/CssBaseline';
import { ThemeProvider } from '@mui/material/styles';
import App from './App';
import theme from './theme';
const rootElement = document.getElementById('root');
const root = createRoot(rootElement);
root.render(
<React.StrictMode>
<ThemeProvider theme={theme}>
{/* CssBaseline kickstart an elegant, consistent, and simple baseline to build upon. */}
<CssBaseline />
<App />
</ThemeProvider>
</React.StrictMode>,
);