Skip to content

Commit

Permalink
feat: update regional meetup (#527)
Browse files Browse the repository at this point in the history
* feat: update regional meetup

* feat: update meet image

* feat: update image

* feat: update image

* feat: update header component
  • Loading branch information
xuliwenwenwen authored Jan 8, 2025
1 parent 111ad02 commit 0181d7a
Show file tree
Hide file tree
Showing 12 changed files with 79 additions and 8 deletions.
Binary file added src/pages/regional-meetup/HowToJoin/gifts.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/pages/regional-meetup/HowToJoin/gifts.png
Binary file not shown.
2 changes: 1 addition & 1 deletion src/pages/regional-meetup/HowToJoin/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Anchor from '~/components/Anchor';
import * as Styled from './index.styled';
import { advantages, applyDescription, joinUrl } from '../data';
import photoImage from './photo.png';
import giftsImage from './gifts.png';
import giftsImage from './gifts.jpeg';
import vectorImage from './vector.png';

export interface IProps extends React.HTMLAttributes<HTMLDivElement> {}
Expand Down
Binary file modified src/pages/regional-meetup/HowToJoin/photo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
64 changes: 64 additions & 0 deletions src/pages/regional-meetup/VideoRecord/data/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,70 @@ export const videoRecords: { [bvid: string]: TVideoRecord } = {
region: '武汉站',
authorName: '韦万 | TiDB 研发工程师,曾经参与 TiFlash,目前负责 TiCDC 的研发工作',
},
BV184SqY9Edf: {
region: '杭州站',
authorName: '赵月顺 | 哔哩哔哩数据库负责人',
},
BV1h4SqY9EkA: {
region: '杭州站',
authorName: '邵健 | 杭州银行数据库专家',
},
BV1g4SqY9E2e: {
region: '杭州站',
authorName: '李家林 | 安能物流运维负责人',
},
BV134SqY9EN7: {
region: '杭州站',
authorName: '',
},
BV1g4SqY9Eto: {
region: '杭州站',
authorName: '宋日杰 | PingCAP 产品经理',
},
BV1yarfYnEiH: {
region: '大连站',
authorName: '严少安 | TiDB 社区版主',
},
BV1KbrfYWEqq: {
region: '大连站',
authorName: '李震 | Rakuten INPD 高级软件开发工程师',
},
BV18AkFYFEnG: {
region: '大连站',
authorName: '宋日杰 | TiDB 产品经理',
},
BV1N8rfYXE9m: {
region: '大连站',
authorName: '曹海峰 | 伊莱科技数据库专家',
},
BV118rfYQErw: {
region: '大连站',
authorName: '张纪宽 | 海信聚好看云平台开发部、大数据平台部部长',
},
BV1V3rVYMEqU: {
region: '上海站',
authorName: '蔡金龙 | 小红书关系数据库负责人',
},
BV15urVYzEpr: {
region: '上海站',
authorName: '郭灏 | 咪咕视讯数据库中间件技术专家',
},
BV15urVYzE2H: {
region: '上海站',
authorName: '杨赛峰 | 数禾科技资深 DBA',
},
BV15urVYzE6s: {
region: '上海站',
authorName: '孟维克 | 爱奇艺 DBA',
},
BV1VurVYzEdD: {
region: '上海站',
authorName: '郑圣瑜 | 华安基金大数据开发工程师',
},
BV15urVYzEVd: {
region: '上海站',
authorName: '姚春晖 | TiDB 社区版主',
},
BV1Es421M7YB: {
region: '武汉站',
authorName: '何傲 | 神州数码 TiDB 团队技术负责人',
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 13 additions & 6 deletions src/pages/regional-meetup/data/index.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import type { ReactNode } from 'react';
import type { StaticImageData } from 'next/image';
import _0 from './2024-07-01 北京.png';
import _1 from './2024-07-01 成都.png';
import _2 from './2024-07-01 深圳.png';
import _3 from './2024-07-01 武汉.png';
import _4 from './20250107-114926.jpeg';
import _3 from './20250107-180714.png';
import _2 from './20250107-114938.jpeg';
import _1 from './20250107-114946.jpeg';
import _0 from './20250108-002530.png';

import React from 'react';
import Anchor from '~/components/Anchor';
Expand All @@ -12,14 +13,20 @@ export const joinUrl = 'https://forms.pingcap.com/f/regional-meetup-organizer';
export const recommendUrl = 'https://asktug.com/t/topic/664366';

// 顶部轮播图
export const headerImages: { image: StaticImageData }[] = [{ image: _0 }, { image: _1 }, { image: _2 }, { image: _3 }];
export const headerImages: { image: StaticImageData }[] = [
{ image: _0 },
{ image: _1 },
{ image: _2 },
{ image: _3 },
{ image: _4 },
];

export const applyDescription: ReactNode = '成为地区组织者可享有哪些社区福利?';

// 社区专属福利
export const advantages: string[] = [
'地区组织者专属徽章',
'社区 ID 定制咖啡杯',
'定制地区组织者奖杯',
'优先邀请参与 DevCon ',
'TiDB 最新课程的尝鲜机会',
'500 积分和经验值',
Expand Down
2 changes: 1 addition & 1 deletion src/pages/regional-meetup/index.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dayjs.extend(duration);

const NEXT_PUBLIC_ASKTUG_WEBSITE_BASE_URL = process.env.NEXT_PUBLIC_ASKTUG_WEBSITE_BASE_URL ?? '';

const title = '地区活动';
const title = 'TiDB 地区交流活动';
const description =
'TiDB 地区活动是通过各地区组织者举办的地区技术交流活动,每期地区组织活动以“连接地区技术人,分享技术实践”为核心目的,目前我们已在天津、石家庄、济南、武汉、广州等地举办多场地区组织活动。';

Expand Down

0 comments on commit 0181d7a

Please sign in to comment.