init structure is completed
This commit is contained in:
9
src/pages/Chat.jsx
Normal file
9
src/pages/Chat.jsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import React from 'react';
|
||||
|
||||
const Chat = () => {
|
||||
return (
|
||||
<h2>Chat with ...</h2>
|
||||
);
|
||||
};
|
||||
|
||||
export default Chat;
|
||||
@@ -1,9 +0,0 @@
|
||||
import React from "react";
|
||||
|
||||
const Hello = () => {
|
||||
return (
|
||||
<h1>Hello!</h1>
|
||||
)
|
||||
}
|
||||
|
||||
export default Hello;
|
||||
9
src/pages/Home.jsx
Normal file
9
src/pages/Home.jsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import React from "react";
|
||||
|
||||
const Home = () => {
|
||||
return (
|
||||
<h1 className="TestClass">Home</h1>
|
||||
)
|
||||
}
|
||||
|
||||
export default Home
|
||||
@@ -1,9 +0,0 @@
|
||||
import React from "react";
|
||||
|
||||
const HomePage = () => {
|
||||
return (
|
||||
<h1>Home</h1>
|
||||
)
|
||||
}
|
||||
|
||||
export default HomePage
|
||||
9
src/pages/Init.jsx
Normal file
9
src/pages/Init.jsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import React from "react";
|
||||
|
||||
const Init = () => {
|
||||
return (
|
||||
<h1 className="TestInit">Init page</h1>
|
||||
)
|
||||
}
|
||||
|
||||
export default Init;
|
||||
13
src/pages/SignIn.jsx
Normal file
13
src/pages/SignIn.jsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import React from 'react';
|
||||
import InputField from "../components/reg/InputField.jsx";
|
||||
|
||||
const SignIn = () => {
|
||||
return (
|
||||
<div>
|
||||
<h1>SignIn</h1>
|
||||
<InputField/>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default SignIn;
|
||||
13
src/pages/SignUp.jsx
Normal file
13
src/pages/SignUp.jsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import React from 'react';
|
||||
import InputField from "../components/reg/InputField.jsx";
|
||||
|
||||
const SignUp = () => {
|
||||
return (
|
||||
<div>
|
||||
<h1>SignUp</h1>
|
||||
<InputField/>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default SignUp;
|
||||
5
src/pages/css/index.css
Normal file
5
src/pages/css/index.css
Normal file
@@ -0,0 +1,5 @@
|
||||
@import "init.css";
|
||||
|
||||
.TestClass {
|
||||
color: red;
|
||||
}
|
||||
3
src/pages/css/init.css
Normal file
3
src/pages/css/init.css
Normal file
@@ -0,0 +1,3 @@
|
||||
.TestInit {
|
||||
color: blue;
|
||||
}
|
||||
Reference in New Issue
Block a user