Skip to content

Commit

Permalink
🔀 Merge #1994 into deploy/rinkeby
Browse files Browse the repository at this point in the history
  • Loading branch information
nwingt committed Dec 19, 2024
2 parents 38064c0 + 8f05c1c commit 5334e1c
Show file tree
Hide file tree
Showing 13 changed files with 66 additions and 24 deletions.
Binary file added src/assets/images/partners/anong.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/partners/chanchan.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/partners/chankaming.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/partners/chowshukping.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/partners/holok.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/partners/koeylee.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/partners/lauyuisiu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/partners/quanan.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/partners/wongyuhing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
70 changes: 46 additions & 24 deletions src/components/PartnersSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -161,47 +161,69 @@ export default {
wallet: 'like19fqws220rwcmacn5dgt0dtwts8c05ty58mcr3a',
},
{
id: 'tseringwoeser',
name: this.$t('section_partners_author_tseringwoeser'),
keyword: '唯色',
id: 'quanan',
name: this.$t('section_partners_author_quanan'),
keyword: '崑南',
},
{
id: 'wanglixiong',
name: this.$t('section_partners_author_wanglixiong'),
keyword: '王力雄',
id: 'holok',
name: this.$t('section_partners_author_holok'),
keyword: '可洛',
},
{
id: 'eglenweyl',
name: this.$t('section_partners_author_eglenweyl'),
classId:
'likenft1cxcpmtg7wz7xu7pnlpmxvfj82c44j3uc8634rgz6zddpew8fkx7smut5cl',
id: 'chankaming',
name: this.$t('section_partners_author_chankaming'),
keyword: '陳嘉銘',
},
{
id: 'audreytang',
name: this.$t('section_partners_author_audreytang'),
classId:
'likenft1cxcpmtg7wz7xu7pnlpmxvfj82c44j3uc8634rgz6zddpew8fkx7smut5cl',
id: 'chowshukping',
name: this.$t('section_partners_author_chowshukping'),
keyword: '周淑屏',
},
{
id: 'allenau',
name: this.$t('section_partners_author_allenau'),
keyword: '區家麟',
id: 'chanchan',
name: this.$t('section_partners_author_chanchan'),
keyword: '陳塵',
},
{
id: 'kinko',
name: this.$t('section_partners_author_kinko'),
wallet: 'like13f4glvg80zvfrrs7utft5p68pct4mcq7t5atf6',
id: 'anong',
name: this.$t('section_partners_author_anong'),
keyword: '阿濃',
},
{
id: 'francislee',
name: this.$t('section_partners_author_francislee'),
keyword: '李立峯',
},
{
id: 'chankinman',
name: this.$t('section_partners_author_chankinman'),
classId:
'likenft1ekvx3en9l0640kv9fd5n5hvltwyfl443ymyu2cnhmalvjfy0cdcqqa3l6h',
id: 'koeylee',
name: this.$t('section_partners_author_koeylee'),
keyword: '李雨夢',
},
{
id: 'kinko',
name: this.$t('section_partners_author_kinko'),
wallet: 'like13f4glvg80zvfrrs7utft5p68pct4mcq7t5atf6',
},
{
id: 'tseringwoeser',
name: this.$t('section_partners_author_tseringwoeser'),
keyword: '唯色',
},
{
id: 'allenau',
name: this.$t('section_partners_author_allenau'),
keyword: '區家麟',
},
{
id: 'lauyuisiu',
name: this.$t('section_partners_author_lauyuisiu'),
keyword: '劉銳紹',
},
{
id: 'wongyuhing',
name: this.$t('section_partners_author_wongyuhing'),
keyword: '黃宇軒',
},
].map(this.populatePartnerItem);
},
Expand Down
9 changes: 9 additions & 0 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -911,15 +911,24 @@
"registered": "Registered",
"renew": "Renew",
"section_partners_author_allenau": "Allen Au",
"section_partners_author_anong": "A Nong",
"section_partners_author_audreytang": "Audrey Tang",
"section_partners_author_chanchan": "Rap Chan",
"section_partners_author_chankaming": "Chan Ka Ming",
"section_partners_author_chankinman": "Chan Kin-man",
"section_partners_author_chowshukping": "Chow Shuk Ping",
"section_partners_author_dungkaicheung": "Dung Kai-cheung",
"section_partners_author_eglenweyl": "E. Glen Weyl",
"section_partners_author_francislee": "Francis Lee",
"section_partners_author_holok": "Ho Lok",
"section_partners_author_kinko": "Kin Ko",
"section_partners_author_koeylee": "Koey Lee",
"section_partners_author_lauyuisiu": "Lau Yui Siu",
"section_partners_author_quanan": "Quanan",
"section_partners_author_title": "Authors",
"section_partners_author_tseringwoeser": "Tsering Woeser",
"section_partners_author_wanglixiong": "Wang Li-xiong",
"section_partners_author_wongyuhing": "Wong Yu Hin",
"section_partners_bookstore_1bookstore": "the1bookstore",
"section_partners_bookstore_dionysus": "Dionysus Books",
"section_partners_bookstore_hkreader": "Hong Kong Reader Bookstore",
Expand Down
9 changes: 9 additions & 0 deletions src/locales/zh-Hant.json
Original file line number Diff line number Diff line change
Expand Up @@ -911,15 +911,24 @@
"registered": "已登記",
"renew": "續訂",
"section_partners_author_allenau": "區家麟",
"section_partners_author_anong": "阿濃",
"section_partners_author_audreytang": "唐鳳",
"section_partners_author_chanchan": "陳塵",
"section_partners_author_chankaming": "陳嘉銘",
"section_partners_author_chankinman": "陳健民",
"section_partners_author_chowshukping": "周淑屏",
"section_partners_author_dungkaicheung": "董啟章",
"section_partners_author_eglenweyl": "衛谷倫",
"section_partners_author_francislee": "李立峯",
"section_partners_author_holok": "可洛",
"section_partners_author_kinko": "高重建",
"section_partners_author_koeylee": "李雨夢",
"section_partners_author_lauyuisiu": "劉銳紹",
"section_partners_author_quanan": "崑南",
"section_partners_author_title": "作者",
"section_partners_author_tseringwoeser": "唯色",
"section_partners_author_wanglixiong": "王力雄",
"section_partners_author_wongyuhing": "黃宇軒",
"section_partners_bookstore_1bookstore": "一間書店",
"section_partners_bookstore_dionysus": "神話書店",
"section_partners_bookstore_hkreader": "序言書室",
Expand Down
2 changes: 2 additions & 0 deletions src/server/api/util/airtable.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ async function fetchAirtableCMSProductsByTagId(
const classIds = fields.IDs;
const title = fields.Name;
const titles = fields.Names;
const author = fields.Author;
const imageUrl = fields['Image URL'];
const imageUrls = fields['Image URLs'];
const locales = fields.Locales;
Expand All @@ -59,6 +60,7 @@ async function fetchAirtableCMSProductsByTagId(
classIds: isMultiple ? classIds : undefined,
title,
titles: isMultiple ? titles : undefined,
author,
imageUrl,
imageUrls: isMultiple ? imageUrls : undefined,
locales,
Expand Down

0 comments on commit 5334e1c

Please sign in to comment.