- {{ item }} -
-From 6ee830cd70863a3cd15da3f5f2163cd244743b1b Mon Sep 17 00:00:00 2001
From: ailoooong
{{ footer.copyright }}
- + @@ -179,73 +151,6 @@ const handleNavClick = (link: NavItem) => { color: var(--theme-text-ass); margin-bottom: 16px; } - .footer-code { - display: grid; - position: relative; - grid-template-columns: 40px 40px; - gap: 40px; - - .code-box { - width: 40px; - height: 40px; - margin-right: 40px; - position: relative; - .img, - .img-hover { - width: 100%; - } - .img-hover { - display: none; - } - &:hover { - .img { - display: none; - } - .img-hover { - display: block; - } - .code-box-hover { - opacity: 1; - visibility: visible; - } - } - &-hover { - background: var(--theme-white); - position: absolute; - top: -120px; - left: 50%; - padding: 8px; - display: grid; - gap: 24px; - grid-template-columns: auto auto; - transform: translateX(-50%); - opacity: 0; - width: 200px; - transition: all 0.3s ease-in; - visibility: hidden; - z-index: 99; - &:after { - content: ''; - border: 8px solid transparent; - border-top-color: var(--theme-white); - transform: translateX(-50%); - display: block; - position: absolute; - bottom: -16px; - left: 50%; - } - img { - width: 80px; - height: 80px; - } - .code-box-txt { - font-size: 12px; - color: var(--theme-black); - text-align: center; - } - } - } - } } .link, diff --git a/app/.vitepress/src/components/AppHeader.vue b/app/.vitepress/src/components/AppHeader.vue index a40e8a2..d1a54a1 100644 --- a/app/.vitepress/src/components/AppHeader.vue +++ b/app/.vitepress/src/components/AppHeader.vue @@ -65,21 +65,11 @@ const navItems = computed(() => { label: t('nav.community.team'), path: 'community/who-we-are', }, - { - id: 'communication', - label: t('nav.community.communication'), - path: 'community/communication', - }, { id: 'security', label: t('nav.community.security'), path: 'community/security', }, - { - id: 'statistics', - label: t('nav.community.statistics'), - path: t('nav.community.statistics_path'), - }, ], }, { @@ -219,8 +209,6 @@ const mobileHeaderTitle = computed(() => { return language.value === 'zh' ? '贡献' : 'Contribution'; } else if (path.value.includes('who-we-are')) { return language.value === 'zh' ? '团队' : 'Who-We-Are'; - } else if (path.value.includes('communication')) { - return language.value === 'zh' ? '交流' : 'Communication'; } else if (path.value.includes('security')) { return language.value === 'zh' ? '安全' : 'Security'; } else if (path.value.includes('news')) { diff --git a/app/.vitepress/src/data/common/navLangFilter.ts b/app/.vitepress/src/data/common/navLangFilter.ts index 9810957..13165ab 100644 --- a/app/.vitepress/src/data/common/navLangFilter.ts +++ b/app/.vitepress/src/data/common/navLangFilter.ts @@ -21,10 +21,6 @@ export default [ name: 'who-we-are', lang: ['zh', 'en'], }, - { - name: 'communication', - lang: ['zh', 'en'], - }, { name: `security`, lang: ['zh', 'en'], diff --git a/app/.vitepress/src/data/url-config/index.ts b/app/.vitepress/src/data/url-config/index.ts index c69ffc8..f1e8208 100644 --- a/app/.vitepress/src/data/url-config/index.ts +++ b/app/.vitepress/src/data/url-config/index.ts @@ -16,7 +16,6 @@ const KUNPENG_LINK = 'https://www.hikunpeng.com/'; // hikunpeng const MULANOS_LINK = 'https://portal.mulanos.cn/'; // 木兰社区官网 const OBSVIDEO_LINK = 'https://openlookeng-website-beijing.obs.cn-north-4.myhuaweicloud.com/'; // Why openLooKeng视频存放obs地址 -const DAYASTAT_LINK = 'https://datastat.openlookeng.io/'; // 社区贡献看板 const SLACK_LINK = 'https://openlookeng.slack.com/'; // slack const APACHE_LINK = 'http://www.apache.org/'; // apache const DOCS_LINK = 'https://docs.openlookeng.io/'; // 社区文档官网 @@ -43,6 +42,5 @@ export { KUNPENG_LINK, MULANOS_LINK, OBSVIDEO_LINK, - DAYASTAT_LINK, SLACK_LINK, }; diff --git a/app/.vitepress/src/i18n/lang/communication/communication-en.ts b/app/.vitepress/src/i18n/lang/communication/communication-en.ts deleted file mode 100644 index 7109d08..0000000 --- a/app/.vitepress/src/i18n/lang/communication/communication-en.ts +++ /dev/null @@ -1,79 +0,0 @@ -import { MAILWEB_LINK, SLACK_LINK,LOOKENG_DEV_EMAIL,LOOKENG_USERS_EMAIL } from '@/data/url-config'; -export default { - title: 'Communication', - mailTitle: 'Mailing List', - mailDetail: - 'Mailing list is one of the most common communication ways in the world of open source. Welcome to join the openLooKeng mailing lists and then you can communicate with us throught email (The common communication language is English). The mailing lists of openLooKeng community are listed as follows:', - mailListHeade: ['Name', 'Mailling List', 'Archive', 'Description'], - mailList: [ - { - name: 'Dev', - mail: LOOKENG_DEV_EMAIL, - path: 'Archive', - describe: 'Mailing list for the development team.', - id: 12345, - mailLink: MAILWEB_LINK + 'postorius/lists/dev.openlookeng.io/', - pathLink: MAILWEB_LINK + 'hyperkitty/list/dev@openlookeng.io/', - }, - { - name: 'Users', - mail: LOOKENG_USERS_EMAIL, - path: 'Archive', - describe: - 'Maillist for end users. If you have any question, do not hesitate to ask via emails.', - id: 12346, - mailLink: MAILWEB_LINK + 'postorius/lists/users.openlookeng.io/', - pathLink: MAILWEB_LINK + 'hyperkitty/list/users@openlookeng.io/', - }, - ], - step: 'If it is your first time to subscribing to a mailing list, follow the procedure below:', - progress: { - step1: ['Click the name of the mailing list ', 'you want to subscribe to.'], - step2: ['Enter your email', 'address and click Subscribe.'], - step3: [ - 'Find the email', - 'asking you to confirm the', - 'subscription as prompted.', - ], - step4: ['Reply the email to confirm', 'your subscription.'], - step5: [ - 'Find the welcome email,', - 'which means you have', - 'successfully subscribed to the', - 'mailing list.', - ], - }, - slack: 'Slack', - slackDetail1: - 'Slack is the real-time communication tool in the openLooKeng community.', - slackDetail2: ' Sign up ', - slackDetail3: 'or', - slackDetail4: ' Sign in ', - slackDetail5: - 'you already have an account. There are three Channels for different subjects:', - slackHead: ['Channel', 'Description'], - slackList: [ - { - channel: '#general', - describe: 'Discussions about using and developing openLooKeng.', - id: 'general', - link: SLACK_LINK + '?redir=%2Fmessages%2FC016KBU2P5E', - }, - { - channel: '#troubleshooting', - describe: 'Need help?', - id: 'troubleshooting', - link: SLACK_LINK + '?redir=%2Fmessages%2FC015W5B4GKV', - }, - { - channel: '#dev', - describe: - 'Discussions about openLooKeng codebase, development, and development extensions.', - id: 'dev', - link: SLACK_LINK + '?redir=%2Fmessages%2FC015EQ0V45D', - }, - ], - group: 'WeChat Group', - groupText: - 'Add the openLooKeng assistant (WeChat ID: openLooKengoss) to your contacts,and request to join in the openLooKeng WeChat group.', -}; diff --git a/app/.vitepress/src/i18n/lang/communication/communication-zh.ts b/app/.vitepress/src/i18n/lang/communication/communication-zh.ts deleted file mode 100644 index 406b034..0000000 --- a/app/.vitepress/src/i18n/lang/communication/communication-zh.ts +++ /dev/null @@ -1,72 +0,0 @@ -import { - MAILWEB_LINK, - SLACK_LINK, - LOOKENG_DEV_EMAIL, - LOOKENG_USERS_EMAIL, -} from '@/data/url-config'; -export default { - title: '交流', - mailTitle: '邮件列表', - mailDetail: - '邮件列表是开源社区最重要的基本交流工具之一,欢迎加入openLooKeng邮件列表,然后您将能通过邮件与我们交流(我们鼓励尽量采用英语交流),openLooKeng社区有如下邮件列表:', - mailListHeade: ['名称', '邮件列表', '归档路径', '描述'], - mailList: [ - { - name: 'Dev', - mail: LOOKENG_DEV_EMAIL, - path: 'Archive', - describe: - 'openLooKeng社区开发讨论邮件列表,任何社区开发相关的话题都可以在这里讨论。', - id: 12345, - mailLink: MAILWEB_LINK + 'postorius/lists/dev.openlookeng.io/', - pathLink: MAILWEB_LINK + 'hyperkitty/list/dev@openlookeng.io/', - }, - { - name: 'Users', - mail: LOOKENG_USERS_EMAIL, - path: 'Archive', - describe: 'openLooKeng社区用户讨论列表,任何与使用相关在这里讨论。', - id: 12346, - mailLink: MAILWEB_LINK + 'postorius/lists/users.openlookeng.io/', - pathLink: MAILWEB_LINK + 'hyperkitty/list/users@openlookeng.io/', - }, - ], - step: '如果您是第一次订阅邮件列表,请参照如下步骤:', - progress: { - step1: ['点击您想订阅的', '邮件列表名称'], - step2: ['请输入您的邮箱地址', '并点击Subscribe'], - step3: ['您会收到一封订阅确认邮件', '要求您确认订阅该邮件列表'], - step4: ['请您按邮件提示回复该邮件', '确认订阅'], - step5: ['您会收到一封欢迎邮件', '即您已成功订阅该邮件列表'], - }, - slack: 'Slack', - slackDetail1: 'Slack是openLooKeng社区实时交流的工具, ', - slackDetail2: '请注册', - slackDetail3: 'openLooKeng Slack。如果已经注册,请直接', - slackDetail4: '登录', - slackDetail5: '频道。针对不同的主题,社区主要有3个交流频道:', - slackHead: ['社区频道', '描述'], - slackList: [ - { - channel: '#general', - describe: 'openLooKeng使用、开发相关讨论。', - id: 'general', - link: SLACK_LINK + '?redir=%2Fmessages%2FC016KBU2P5E', - }, - { - channel: '#troubleshooting', - describe: '需要获取帮助?', - id: 'troubleshooting', - link: SLACK_LINK + '?redir=%2Fmessages%2FC015W5B4GKV', - }, - { - channel: '#dev', - describe: '对openLooKeng代码库、开发以及开发扩展讨论。', - id: 'dev', - link: SLACK_LINK + '?redir=%2Fmessages%2FC015EQ0V45D', - }, - ], - group: '社区交流群', - groupText: - '添加社区小助手为好友(微信号openLooKengoss)进入openLooKeng技术交流群', -}; diff --git a/app/.vitepress/src/i18n/lang/communication/index.ts b/app/.vitepress/src/i18n/lang/communication/index.ts deleted file mode 100644 index 6bd77b3..0000000 --- a/app/.vitepress/src/i18n/lang/communication/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -import communicationEn from './communication-en'; -import communicationZh from './communication-zh'; -export default { - zh: communicationZh, - en: communicationEn, -}; diff --git a/app/.vitepress/src/i18n/lang/home/en-home.ts b/app/.vitepress/src/i18n/lang/home/en-home.ts index dbf2160..4694c2c 100644 --- a/app/.vitepress/src/i18n/lang/home/en-home.ts +++ b/app/.vitepress/src/i18n/lang/home/en-home.ts @@ -1,4 +1,3 @@ -import { DAYASTAT_LINK } from '@/data/url-config'; export default { title: 'home', cookies: @@ -33,21 +32,7 @@ export default { user: 'User', contributor: 'Contributor', }, - contribution: { - title: 'How Do I Make a Contribution?', - subtitle: 'Cross-Platform Communication', - email_list: 'Mailing Lists', - subscribe_email: 'Subscribe to the desired openLooKeng mailing list.', - slack: 'Slack', - slack_desc: 'Communicate with the real-time communication tool.', - group: 'Communication Group', - weChat_group: 'Join in the openLooKeng WeChat group.', - experience: 'Experience openLooKeng', - sign: 'Sign the CLA', - issues: 'Engage in community issues', - code: 'Contribute and review code', - grow: 'Grow with the community', - }, + powered_by: 'Powered by openLooKeng', featured_videos: 'Featured Videos', latest_info: "What's New", @@ -73,10 +58,8 @@ export default { title: 'Community', contribution: 'Contribution', team: 'Who We Are', - communication: 'Communication', security: 'Security', statistics: 'Statistics', - statistics_path: DAYASTAT_LINK + 'en/overview', }, information: { title: 'Newsroom', diff --git a/app/.vitepress/src/i18n/lang/home/zh-home.ts b/app/.vitepress/src/i18n/lang/home/zh-home.ts index e85732e..9375c4f 100644 --- a/app/.vitepress/src/i18n/lang/home/zh-home.ts +++ b/app/.vitepress/src/i18n/lang/home/zh-home.ts @@ -1,4 +1,3 @@ -import { DAYASTAT_LINK } from '@/data/url-config'; export default { title: '首页', cookies: '本站点使用Cookies,继续浏览表示您同意我们使用Cookies。', @@ -29,21 +28,7 @@ export default { user: '社区用户', contributor: '贡献者', }, - contribution: { - title: '从这里开始您的贡献旅程', - subtitle: '多平台的社区交流', - email_list: '邮件列表', - subscribe_email: '欢迎订阅openLooKeng邮件列表', - slack: 'Slack', - slack_desc: '欢迎体验openLooKeng实时交流工具', - group: '交流群', - weChat_group: '欢迎加入openLooKeng微信交流群', - experience: '体验openLooKeng', - sign: '签署CLA', - issues: '从Issue开始您的贡献', - code: '代码贡献与检视', - grow: '和社区一起成长', - }, + powered_by: '搭载openLooKeng', featured_videos: '精选视频', latest_info: '最新动态', @@ -69,10 +54,7 @@ export default { title: '社区', contribution: '贡献', team: '团队', - communication: '交流', security: '安全', - statistics: '贡献看板', - statistics_path: DAYASTAT_LINK + 'zh/overview', }, information: { title: '资讯', diff --git a/app/.vitepress/src/i18n/lang/mooc/mooc-en.ts b/app/.vitepress/src/i18n/lang/mooc/mooc-en.ts index 9411f41..95d302c 100644 --- a/app/.vitepress/src/i18n/lang/mooc/mooc-en.ts +++ b/app/.vitepress/src/i18n/lang/mooc/mooc-en.ts @@ -50,21 +50,4 @@ export default { id: 'mooccourseListen3', }, ], - communityTitle: 'Communication and Growth', - communityList: [ - { - title: 'Q&A', - detail: 'Communicate with experts and partners to get promoted.', - link: '/en/community/communication/', - button: 'View Details', - id: 'communicationdetailen1', - }, - { - title: 'Grow with the Community', - detail: 'Learn about the development path in the community.', - link: GITEE_LINK + 'openlookeng/community/blob/master/guide_en/roles.md', - button: 'View Details', - id: 'communicationdetailen2', - }, - ], }; diff --git a/app/.vitepress/src/i18n/lang/mooc/mooc-zh.ts b/app/.vitepress/src/i18n/lang/mooc/mooc-zh.ts index e701a69..79abbe2 100644 --- a/app/.vitepress/src/i18n/lang/mooc/mooc-zh.ts +++ b/app/.vitepress/src/i18n/lang/mooc/mooc-zh.ts @@ -53,21 +53,4 @@ export default { id: 'mooccourseList3', }, ], - communityTitle: '交流与成长', - communityList: [ - { - title: '答疑与交流', - detail: '专家答疑与伙伴交流,帮助您晋级大牛', - link: '/zh/community/communication/', - button: '查看详情', - id: 'communicationdetail1', - }, - { - title: '社区成长', - detail: '了解在社区的成长进阶之路', - link: GITEE_LINK + 'openlookeng/community/blob/master/guide_zh/roles.md', - button: '查看详情', - id: 'communicationdetail2', - }, - ], }; diff --git a/app/.vitepress/src/views/community/communication/MailProgress.vue b/app/.vitepress/src/views/community/communication/MailProgress.vue deleted file mode 100644 index d532e43..0000000 --- a/app/.vitepress/src/views/community/communication/MailProgress.vue +++ /dev/null @@ -1,197 +0,0 @@ - - - -- {{ item }} -
-- {{ item }} -
-- {{ item }} -
-- {{ item }} -
-- {{ item }} -
-- {{ communication.mailDetail }} -
-| - {{ item }} - | -|||
| - {{ item.name }} - | -{{ item.mail }} | -- {{ item.path }} - | -{{ item.describe }} | -
{{ communication.step }}
-{{ t('home.contribution.experience') }}
- -{{ t('home.contribution.sign') }}
- -{{ t('home.contribution.issues') }}
- -{{ t('home.contribution.code') }}
- -{{ t('home.contribution.grow') }}
-{{ home.communication.info }}
-
-
{{ item.title }}
-{{ item.detail }}
- -