初步框架

This commit is contained in:
禺狨
2023-03-01 17:26:17 +08:00
parent 46a8387515
commit 3dff7f139d
25 changed files with 36399 additions and 6545 deletions

View File

@@ -0,0 +1,8 @@
.page-content {
width: 1200px;
min-height: calc(100vh - 173px);
margin-left: auto;
margin-right: auto;
margin-top: 30px;
margin-bottom: 100px;
}

View File

@@ -0,0 +1,13 @@
import React from "react";
import styles from "./HomePage.module.css";
import { Header, Footer } from "../../compenents";
export const HomePage: React.FC = () => {
return (
<>
<Header></Header>
<div className={styles["page-content"]}></div>
<Footer></Footer>
</>
);
};

1
src/pages/home/index.ts Normal file
View File

@@ -0,0 +1 @@
export * from "./HomePage";

2
src/pages/index.ts Normal file
View File

@@ -0,0 +1,2 @@
export * from "./home";
export * from "./login";

View File

View File

@@ -0,0 +1,6 @@
import React from "react";
import styles from "./Login.module.css";
export const Login: React.FC = () => {
return <h1></h1>;
};

1
src/pages/login/index.ts Normal file
View File

@@ -0,0 +1 @@
export * from "./Login";