添加测试配置及登陆部分的测试
Change-Id: I6fa1fe23ad8773548927fdc921dceab841f2368a
diff --git a/src/views/forum/index.module.css b/src/views/forum/index.module.css
new file mode 100644
index 0000000..53cf91c
--- /dev/null
+++ b/src/views/forum/index.module.css
@@ -0,0 +1,12 @@
+.selfStatus{
+ width:25%;
+ height:45%;
+ position: absolute;
+ right:0%;
+ top:0%;
+
+}
+.container{
+ width:100%;
+ height:100%;
+}
\ No newline at end of file
diff --git a/src/views/forum/index.tsx b/src/views/forum/index.tsx
index 6e8ad59..dbceffd 100644
--- a/src/views/forum/index.tsx
+++ b/src/views/forum/index.tsx
@@ -2,14 +2,16 @@
import { Navigate } from "react-router";
import SelfStatus from "@/components/selfStatus/selfStatus";
+import style from "./index.module.css";
+
export default function Forum() {
return (
- <div>
- <SelfStatus/>
- <h1>Forum</h1>
- <p>Welcome to the forum!</p>
+ <div className={style.container}>
+ <div className={style.selfStatus}>
+ <SelfStatus />
+ </div>
</div>
);
}
\ No newline at end of file