parent
							
								
									6d2cd1c295
								
							
						
					
					
						commit
						a134f85b10
					
				@ -1,4 +1,52 @@
 | 
				
			|||||||
---
 | 
					---
 | 
				
			||||||
sidebar_label: '平台公告'      
 | 
					sidebar_label: '平台公告'      
 | 
				
			||||||
sidebar_position: 1     
 | 
					sidebar_position: 1     
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# 平台公告
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					平台公告是 GitLink 平台向用户传达重要信息、更新和变更的主要渠道。通过平台公告,用户可以及时了解平台的最新动态、功能更新、维护通知等重要信息。
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## 公告类型
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					1. **功能更新公告**
 | 
				
			||||||
 | 
					   - 新功能发布
 | 
				
			||||||
 | 
					   - 功能优化改进
 | 
				
			||||||
 | 
					   - 界面更新
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					2. **系统维护公告**
 | 
				
			||||||
 | 
					   - 定期维护通知
 | 
				
			||||||
 | 
					   - 紧急维护通知
 | 
				
			||||||
 | 
					   - 维护完成通知
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					3. **安全更新公告**
 | 
				
			||||||
 | 
					   - 安全漏洞修复
 | 
				
			||||||
 | 
					   - 安全策略更新
 | 
				
			||||||
 | 
					   - 安全建议
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					4. **活动通知**
 | 
				
			||||||
 | 
					   - 平台活动
 | 
				
			||||||
 | 
					   - 社区活动
 | 
				
			||||||
 | 
					   - 培训活动
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## 查看公告
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					1. 在平台首页的公告栏中查看最新公告
 | 
				
			||||||
 | 
					2. 在个人中心的消息通知中查看历史公告
 | 
				
			||||||
 | 
					3. 关注平台官方社交媒体账号获取公告推送
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## 公告订阅
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					用户可以通过以下方式订阅平台公告:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					1. 在个人设置中开启邮件通知
 | 
				
			||||||
 | 
					2. 关注平台官方微信公众号
 | 
				
			||||||
 | 
					3. 加入平台用户交流群
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## 公告反馈
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					如果您对平台公告有任何疑问或建议,可以通过以下方式反馈:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					1. 在公告评论区留言
 | 
				
			||||||
 | 
					2. 发送邮件至 support@gitlink.org
 | 
				
			||||||
 | 
					3. 联系在线客服
 | 
				
			||||||
@ -0,0 +1,39 @@
 | 
				
			|||||||
 | 
					import React from 'react';
 | 
				
			||||||
 | 
					import Giscus from '@giscus/react';
 | 
				
			||||||
 | 
					import Rating from '../Rating';
 | 
				
			||||||
 | 
					import styles from './styles.module.css';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					const Comments = () => {
 | 
				
			||||||
 | 
					  const handleRating = (rating) => {
 | 
				
			||||||
 | 
					    // 这里可以添加评分提交逻辑
 | 
				
			||||||
 | 
					    console.log('Rating submitted:', rating);
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return (
 | 
				
			||||||
 | 
					    <div className={styles.commentsContainer}>
 | 
				
			||||||
 | 
					      <div className={styles.ratingSection}>
 | 
				
			||||||
 | 
					        <h3>文档评分</h3>
 | 
				
			||||||
 | 
					        <Rating onRatingChange={handleRating} />
 | 
				
			||||||
 | 
					      </div>
 | 
				
			||||||
 | 
					      
 | 
				
			||||||
 | 
					      <div className={styles.commentsSection}>
 | 
				
			||||||
 | 
					        <h3>评论区</h3>
 | 
				
			||||||
 | 
					        <Giscus
 | 
				
			||||||
 | 
					          id="comments"
 | 
				
			||||||
 | 
					          repo="luffyZh/gitlink_help_center"
 | 
				
			||||||
 | 
					          repoId="R_kgDOJQYwXg"
 | 
				
			||||||
 | 
					          category="Comments"
 | 
				
			||||||
 | 
					          categoryId="DIC_kwDOJQYwXs4CQYwX"
 | 
				
			||||||
 | 
					          mapping="pathname"
 | 
				
			||||||
 | 
					          reactionsEnabled="1"
 | 
				
			||||||
 | 
					          emitMetadata="0"
 | 
				
			||||||
 | 
					          inputPosition="bottom"
 | 
				
			||||||
 | 
					          lang="zh-CN"
 | 
				
			||||||
 | 
					          loading="lazy"
 | 
				
			||||||
 | 
					        />
 | 
				
			||||||
 | 
					      </div>
 | 
				
			||||||
 | 
					    </div>
 | 
				
			||||||
 | 
					  );
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					export default Comments; 
 | 
				
			||||||
@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					 
 | 
				
			||||||
@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					 
 | 
				
			||||||
@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					 
 | 
				
			||||||
@ -0,0 +1,37 @@
 | 
				
			|||||||
 | 
					import React from 'react';
 | 
				
			||||||
 | 
					import {useDoc} from '@docusaurus/theme-common/internal';
 | 
				
			||||||
 | 
					import DocItemContent from '@theme-original/DocItem/Content';
 | 
				
			||||||
 | 
					import DocItemFooter from '@theme-original/DocItem/Footer';
 | 
				
			||||||
 | 
					import DocItemPaginator from '@theme-original/DocItem/Paginator';
 | 
				
			||||||
 | 
					import DocItemTOCMobile from '@theme-original/DocItem/TOC/Mobile';
 | 
				
			||||||
 | 
					import DocItemTOCDesktop from '@theme-original/DocItem/TOC/Desktop';
 | 
				
			||||||
 | 
					import DocVersionBadge from '@theme-original/DocVersionBadge';
 | 
				
			||||||
 | 
					import DocVersionBanner from '@theme-original/DocVersionBanner';
 | 
				
			||||||
 | 
					import DocItemLayout from '@theme-original/DocItem/Layout';
 | 
				
			||||||
 | 
					import Comments from '@site/src/components/Comments';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					export default function DocItem(props) {
 | 
				
			||||||
 | 
					  const doc = useDoc();
 | 
				
			||||||
 | 
					  return (
 | 
				
			||||||
 | 
					    <DocItemLayout {...props}>
 | 
				
			||||||
 | 
					      <DocVersionBanner />
 | 
				
			||||||
 | 
					      <div className="container margin-vert--lg">
 | 
				
			||||||
 | 
					        <div className="row">
 | 
				
			||||||
 | 
					          <main className="col col--8">
 | 
				
			||||||
 | 
					            <DocItemContent>
 | 
				
			||||||
 | 
					              <DocVersionBadge />
 | 
				
			||||||
 | 
					              {doc.content}
 | 
				
			||||||
 | 
					            </DocItemContent>
 | 
				
			||||||
 | 
					            <DocItemFooter />
 | 
				
			||||||
 | 
					            <Comments />
 | 
				
			||||||
 | 
					          </main>
 | 
				
			||||||
 | 
					          <aside className="col col--4">
 | 
				
			||||||
 | 
					            <DocItemTOCDesktop />
 | 
				
			||||||
 | 
					            <DocItemTOCMobile />
 | 
				
			||||||
 | 
					          </aside>
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					      </div>
 | 
				
			||||||
 | 
					      <DocItemPaginator />
 | 
				
			||||||
 | 
					    </DocItemLayout>
 | 
				
			||||||
 | 
					  );
 | 
				
			||||||
 | 
					} 
 | 
				
			||||||
@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					 
 | 
				
			||||||
					Loading…
					
					
				
		Reference in new issue