restructured the files and created skeleton for the Login component
This commit is contained in:
parent
56e6e905b2
commit
5eef24187b
@ -1,7 +1,7 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
import { Button, Box } from "@mui/material"
|
import { Button, Box } from "@mui/material"
|
||||||
import variables from "./variables.module.scss"
|
import variables from "@scss/variables.module.scss"
|
||||||
import "./style.scss"
|
import "@scss/style.scss"
|
||||||
|
|
||||||
export default function App() {
|
export default function App() {
|
||||||
let boxStyle = {
|
let boxStyle = {
|
10
src/components/Login.tsx
Normal file
10
src/components/Login.tsx
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
import React from "react";
|
||||||
|
import { Card } from "@mui/material"
|
||||||
|
|
||||||
|
export default function Login(){
|
||||||
|
return (
|
||||||
|
<main id="root">
|
||||||
|
|
||||||
|
</main>
|
||||||
|
)
|
||||||
|
}
|
@ -1,5 +1,5 @@
|
|||||||
import * as React from 'react'
|
import * as React from 'react'
|
||||||
import { createRoot } from 'react-dom/client'
|
import { createRoot } from 'react-dom/client'
|
||||||
import App from "./App"
|
import App from "./components/App"
|
||||||
|
|
||||||
createRoot(document.querySelector("#root")).render(<App />)
|
createRoot(document.querySelector("#root")).render(<App />)
|
||||||
|
Loading…
Reference in New Issue
Block a user