Skip to content

Commit

Permalink
docs: moved body styling to css
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianEstrada committed Apr 21, 2024
1 parent 7a24a31 commit 11a2570
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
7 changes: 7 additions & 0 deletions docs/website/src/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
body {
background-image: url('/img/background.svg');
background-repeat: repeat;
background-position: center;
height: 100vh;
margin: 0
}
1 change: 1 addition & 0 deletions docs/website/src/main.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from "react"
import ReactDOM from "react-dom/client"
import LandingPage from "@/page/LandingPage.tsx";
import '@/main.css'

ReactDOM.createRoot(document.getElementById("root")!).render(
<React.StrictMode>
Expand Down
11 changes: 0 additions & 11 deletions docs/website/src/page/LandingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,6 @@ export default function LandingPage() {
}
},
components: {
MuiCssBaseline: {
styleOverrides: {
body: {
backgroundImage: '/img/background.svg',
backgroundRepeat: 'repeat',
backgroundPosition: 'center',
height: '100vh',
margin: 0
}
}
},
MuiButton: {
styleOverrides: {
root: {
Expand Down

0 comments on commit 11a2570

Please sign in to comment.