Initial
This commit is contained in:
25
frontend/src/App.js
Normal file
25
frontend/src/App.js
Normal file
@ -0,0 +1,25 @@
|
||||
import { ThemeProvider, createTheme } from "@mui/material/styles";
|
||||
import Container from "@mui/material/Container";
|
||||
import Typography from "@mui/material/Typography";
|
||||
import { Home } from "./pages/Home";
|
||||
|
||||
const darkTheme = createTheme({
|
||||
palette: {
|
||||
mode: "light",
|
||||
},
|
||||
});
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<ThemeProvider theme={darkTheme}>
|
||||
<Container fixed>
|
||||
<Typography variant="h2" gutterBottom>
|
||||
Komponiranje frontend demo
|
||||
</Typography>
|
||||
<Home />
|
||||
</Container>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
|
||||
export default App;
|
||||
Reference in New Issue
Block a user