添加了postsPanel作为通用帖子显示板,增加了对jest测试的配置,添加了论坛主页,设定了论坛全局框架,设定了论坛基础主题色及主题切换、字号切换逻辑
Change-Id: I9fad0cf577088adb00c9850d405ccd23e6072413
diff --git a/src/components/postsPanel/postsPanel.module.css b/src/components/postsPanel/postsPanel.module.css
new file mode 100644
index 0000000..dc10683
--- /dev/null
+++ b/src/components/postsPanel/postsPanel.module.css
@@ -0,0 +1,38 @@
+.panel{
+ background-color: var(--card-bg);
+ height:100%;
+ width:100%;
+}
+
+.header{
+ border-bottom:1px solid var(--border-color);
+ box-shadow: 1px;
+ height:10%;
+ width:100%;
+ display:flex;
+ justify-content: space-between;
+}
+
+.header .title{
+ font:bold ;
+ color:var(--text-color);
+
+}
+
+.header .more{
+ font:bold ;
+ color:var(--text-color);
+}
+
+.content .item{
+ display:flex;
+ justify-content:space-between;
+
+}
+.content .item .text{
+ width:70%;
+ overflow-x:hidden;
+ color:var(--text-color);
+}
+
+