restructured the files and created skeleton for the Login component

This commit is contained in:
Arnaud Fauconnet 2022-10-13 17:07:48 +02:00
parent 56e6e905b2
commit 5eef24187b
5 changed files with 13 additions and 3 deletions

View File

@ -1,7 +1,7 @@
import React from 'react'
import { Button, Box } from "@mui/material"
import variables from "./variables.module.scss"
import "./style.scss"
import variables from "@scss/variables.module.scss"
import "@scss/style.scss"
export default function App() {
let boxStyle = {

10
src/components/Login.tsx Normal file
View File

@ -0,0 +1,10 @@
import React from "react";
import { Card } from "@mui/material"
export default function Login(){
return (
<main id="root">
</main>
)
}

View File

@ -1,5 +1,5 @@
import * as React from 'react'
import { createRoot } from 'react-dom/client'
import App from "./App"
import App from "./components/App"
createRoot(document.querySelector("#root")).render(<App />)