Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(homepage): project card refinement #298

Merged
merged 21 commits into from
Oct 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
15a2ea0
refactor: redesign style of job card and event card
ljc1991 Oct 23, 2023
a75ee6d
refactor: redesign style of job card and event card
ben196888 Oct 24, 2023
2359f82
wip
ben196888 Oct 24, 2023
d1cb6e0
refactor: move color mapping logic from client side to server side
ljc1991 Oct 28, 2023
e9ad185
refactor: extract job card and event card to create NonProjectCard co…
ljc1991 Oct 28, 2023
cf90a99
wip
ljc1991 Oct 28, 2023
1406219
wip
ljc1991 Oct 28, 2023
0b688da
refactor: extract color mapping logic for job card into function getJ…
ljc1991 Oct 29, 2023
3c1cdc2
refactor: replace processCardData with processCard to handle dependen…
ljc1991 Oct 29, 2023
accb42d
refactor: replace project card image with avatar list and adjust proj…
ljc1991 Oct 29, 2023
663c824
fix: modify rwd style
ljc1991 Oct 30, 2023
5621536
fix: rename nonProjectCard component to defaultCard component
ljc1991 Oct 30, 2023
e523d45
refactor: add projectCard component
ljc1991 Oct 30, 2023
693147c
refactor(homepage): replace process card data w/ process card
ben196888 Oct 30, 2023
7edf924
fix(homepage): make 3 cols to be 2 cols in md screen
ben196888 Oct 30, 2023
9e6ae1e
refactor(homepage): remove unused component and page
ben196888 Oct 30, 2023
f40d0a6
refactor(homepage): remove project card images
ben196888 Oct 30, 2023
513f188
refactor(homepage): remove unused image logic
ben196888 Oct 30, 2023
cc6901c
refactor(homepage): replace flex wrap w flex column in card
ben196888 Oct 31, 2023
d4d0a9e
fix: adjust the cards layout to display as 2 cols on md screen
ljc1991 Oct 31, 2023
027eca5
fix(homepage): reduce margin between each avatar in avatar list
ben196888 Oct 31, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion homepage/_cards/en/bigbluebutton.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/英-專案卡-14.jpg
image: ""
title: BigBlueButton
description: An open-source online meeting system that doesn’t require users to
download the system and can be integrated with multiple learning management
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/common-voice.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: /images/uploads/open-data-common-voice.jpg
image: ""
title: Common Voice
description: "A database that invites speakers of any language to contribute
their voices to teach computers how to speak any language with correct
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/democracy-os.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/open-gov-democracy-os.jpg
image: ""
title: Democracy OS
description: "A democratic participation platform that allows policy
discussions, voting simulations, and participatory budgeting "
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/firefox-1.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/open-source-firefox.jpg
image: ""
title: Firefox
description: A browser with free and open source code
draft: false
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/inkscape-1.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/英-專案卡-12.jpg
image: ""
title: Inkscape
description: An open-source vector graphics editor released under General Public License
draft: false
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/libreoffice.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/英-專案卡-10.jpg
image: ""
title: LibreOffice
description: "A free and open-source office suite "
draft: false
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/linux-kernel.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/英-專案卡-08.jpg
image: ""
title: Linux Kernel
description: An open-source operating system kernel that's similar to Unix.
draft: false
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/notepad.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/英-專案卡-15.jpg
image: ""
title: Notepad++
description: An open-source text editor that supports multiple languages and
programming languages.
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/ocf-lab.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/英-專案卡-07.jpg
image: ""
title: OCF Lab
description: "OCF Lab is a news platform covering topics about open culture,
established by the Open Culture Foundation. "
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/opass.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/open-source-opass.jpeg
image: ""
title: OPass
description: "A sign-up app used at symposiums held by all major open-source
groups across Taiwan "
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/open-hack-farm-1.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/英-專案卡-03.jpg
image: ""
title: Open Hack Farm
description: '"Open Hack Farm" promotes open source and open data in
agricultural applications. '
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/public-money-public-code.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/open-source-open-hack-farm.jpg
image: ""
title: Public Money Public Code
description: An initiative which advocates that public digital services or
systems built with public money must be released under open-source license.
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/vtaiwan.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/open-gov-vtaiwan.jpg
image: ""
title: vTaiwan
description: A platform for the public to express their opinions on Taiwanese
laws and policies and for the government to collate these opinions.
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/了解開源授權-1.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/英-專案卡-04.jpg
image: ""
title: Get to Know Open-Source License
description: Licenses are an essential part of open source. They ensure people's
freedom to use open-source software, and define how much freedom users can
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/來跟立委吃一碗.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/open-gov-nullfull’s-foodmap.jpg
image: ""
title: Nullfull’s foodmap
description: Using open data to find out which restaurants South Korea's
legislators are most likely to use national funding to patronize.
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/全民追公車.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/open-data-find-my-bus-1-.jpg
image: ""
title: "Find My Bus "
description: Using open data provided by city governments, this app shows route
maps of buses and other public means of transportation, and tracks where they
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/公共政策網路參與平臺.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: /images/uploads/open-data-digital-participatory-platform-for-public-policy.jpeg
image: ""
title: Digital Participatory Platform for Public Policy
description: A platform where citizens submit proposals on public policies and
government bodies reply to them.
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/口罩地圖.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/open-data-mask-map.jpg
image: ""
title: Mask Map
description: "In response to pandemic prevention policy, this app compiles mask
stock data from all medical facilities "
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/open-gov-get-taiwan-in-the-ogp.jpg
image: ""
title: Get Taiwan in the OGP
description: OGP is an organization to fulfill open government, which is a set
of international standards that aim to fulfill "transparency, participation,
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/台灣賄選實價登錄地圖.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/open-gov-bribery-map-of-taiwan.jpg
image: ""
title: Bribery Map of Taiwan
description: "This system places confirmed cases of bribery on a map and allows
users to see how much money their votes are worth "
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/國家寶藏.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/open-data-taiwan-national-treasure.jpg
image: ""
title: Taiwan National Treasure
description: "A project supporting volunteers to take pictures of Taiwanese
historical materials archived in the U.S. and to make them accessible to the
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/國民法官.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/open-gov-citizen-judges.jpg
image: ""
title: Citizen Judges
description: Combining social expectations and legal expertise, the system
allows citizens to get involved in court decisions.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/open-data-to-urge-authoritarian-countries-to-adopt-open-data-act.jpg
image: ""
title: To Urge Authoritarian Countries to Adopt Open Data Act
description: "To urge an authoritarian government to release the data which the
government has been collecting, thereby allowing the public to examine and
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/實價登錄到門牌.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/open-gov-real-price-registration-of-house-transaction-of-each-property.jpg
image: ""
title: Real Price Registration of House Transaction of Each Property
description: "Revealing the actual selling price of all houses in order to
promote transparency in the housing market. "
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/掃了再買.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/open-data-scan-and-buy-1-.jpg
image: ""
title: Scan and buy
description: With one scan, this app allows you to see whether a manufacturer of
the product has a record of violating environmental protection regulations
Expand Down
4 changes: 2 additions & 2 deletions homepage/_cards/en/政府資料開放平臺-1.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: /images/uploads/open-gov-government-s-open-data-platform.jpeg
image: ""
title: "Government's Open Data Platform "
description: A platform that compiles the open data of each government body.
draft: false
Expand All @@ -12,4 +12,4 @@ tags:
---
In order to enable citizens to monitor the government and apply open data, Taiwan’s Executive Yuan began promoting open data in 2012. People can use most of open data for free except for some special cases. A platform compiling civic, economic and other types of open government data was thus created, and the data were released in a variety of formats, making them easier for citizens to use.

* [Website](https://data.gov.tw/)
* [Website](https://data.gov.tw/)
2 changes: 1 addition & 1 deletion homepage/_cards/en/政治獻金透明化修法.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/open-gov-the-initiative-to-amend-political-donation-acts.jpeg
image: ""
title: The Initiative to Amend Political Donation Acts
description: Promoting the transparency of political donations through crowdsourcing.
draft: false
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/新酷音輸入法.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/英-專案卡-06.jpg
image: ""
title: New Chewing
description: "(New) Chewing is a smart, open-source system designed to enable
Bomopofo input to type Chinese characters. "
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/民意代表投票指南-1.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/英-專案卡-33.jpg
image: ""
title: "Public Representative Voter Guide "
description: Compiling data about candidates and helping citizens to obtain
sufficient information before casting their votes.
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/求職天眼通.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/open-data-qollie.jpg
image: ""
title: Qollie
description: A plug-in that allows users to see how others rank companies and
their comments when looking for a job on job search websites.
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/洋蔥瀏覽器.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/英-專案卡-13.jpg
image: ""
title: Tor Browser
description: A safer browser, which not only allows users to go anonymous, but
also deletes sensitive data automatically.
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/環境感測器網路系統.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/open-data-scan-and-buy.jpg
image: ""
title: LASS (Location Aware Sensing System)
description: Based on the concepts of open source and public interest, LASS can
help to monitor the quality of air and water
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/真的假的.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/open-data-cofacts.jpg
image: ""
title: Cofacts
description: "A LINE Bot that can fact-check in real time. "
draft: false
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/立法院會議直播.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/open-gov-livestream-of-parliament-1-.jpg
image: ""
title: Livestream of Parliament
description: "Live-streaming legislative discussions in parliament in order to
fulfil the public's right to know. "
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/萌典.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/open-data-moedic.jpg
image: ""
title: MOEdic
description: "Supporting local languages in Taiwan, MOEdic is a free online
dictionary that includes Mandarin, Taiwanese Hokkien and Hakka, amongst other
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/資料申請小幫手.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/open-gov-data-opener.jpg
image: ""
title: Data Opener
description: A system that makes searching and locating government data easier
draft: false
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/農地違章工廠回報.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/open-data-disfactory.jpg
image: ""
title: Disfactory
description: A system that allows users to anonymously report illegal factories on farmland.
draft: false
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/開放街圖.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/open-data-open-street-map.jpg
image: ""
title: Open Street Map
description: An editable map that can be freely drawn and used by everyone.
draft: false
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/en/開放館藏.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/open-data-open-glam-.jpg
image: ""
title: "Open GLAM "
description: A project that opens up and digitalizes data from museums and
allows enthusiasts to use the materials legally.
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/zh-tw/bigbluebutton.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/專案卡-14.jpg
image: ""
title: BigBlueButton
description: 開源線上會議系統,免下載,可與多種學習管理系統整合。
draft: false
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/zh-tw/common-voice.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: /images/uploads/開放資料-common-voice.jpg
image: ""
title: Common Voice
description: 蒐集各語言真人發音資料庫,讓電腦學會最真實的說話方式
draft: false
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/zh-tw/democracy-os.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/開放政府-專案卡-39.jpg
image: ""
title: Democracy OS
description: 民主參與系統,可討論政策、模擬投票、進行參與式預算等
draft: false
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/zh-tw/firefox-1.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/開放原始碼-firefox.jpg
image: ""
title: Firefox
description: 自由及開放原始碼的網頁瀏覽器
draft: false
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/zh-tw/inkscape-1.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/專案卡-12.jpg
image: ""
title: Inkscape
description: 一款通用公眾授權條款釋出的開源向量圖形編輯器
draft: false
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/zh-tw/libreoffice.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/專案卡-10.jpg
image: ""
title: LibreOffice
description: 一套自由及開放原始碼的辦公軟體。
draft: false
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/zh-tw/linux-kernel.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/專案卡-08.jpg
image: ""
title: Linux Kernel
description: 開源的類 Unix 作業系統核心。
draft: false
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/zh-tw/notepad.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/專案卡-15.jpg
image: ""
title: Notepad++
description: 萬能開源純文字編輯器,支援超多語言/程式語言!
draft: false
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/zh-tw/ocf-lab.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/專案卡-07.jpg
image: ""
title: OCF Lab
description: 由開放文化基金會創立,關注開放的新聞平台。
draft: false
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/zh-tw/opass.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/開放原始碼-opasss.jpeg
image: ""
title: OPass
description: 整合各大臺灣開源資訊社群研討會的報到平台 APP
draft: false
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/zh-tw/open-hack-farm-1.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/專案卡-03.jpg
image: ""
title: Open Hack Farm
description: 「開放農業實驗基地」致力開源及開放資料的農業應用
draft: false
Expand Down
4 changes: 2 additions & 2 deletions homepage/_cards/zh-tw/public-money-public-code.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/專案卡-11.jpg
image: ""
title: Public Money Public Code
description: 「公費建制政府系統以自由開源軟體授權釋出」的倡議。
draft: false
Expand All @@ -13,4 +13,4 @@ tags:
---
由「歐洲自由軟體協會(Free Software Foundation Europe,即 FSFE)」於 2017 年提出的倡議,主張以人民納稅錢建制的政府系統須使用自由開源軟體授權釋出,以達到不重複開發、便於協作,讓全民皆能使用。此倡議公開信呼籲大眾加入聯署,期望能為各地區採用。

[FSFE 發起的連署網頁](https://publiccode.eu/zh-tw/)
[FSFE 發起的連署網頁](https://publiccode.eu/zh-tw/)
2 changes: 1 addition & 1 deletion homepage/_cards/zh-tw/vtaiwan.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/開放政府-vtaiwan.jpg
image: ""
title: vTaiwan
description: 供民眾針對台灣法規表達意見、納入政策討論過程的平台
draft: false
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/zh-tw/了解開源授權-1.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/專案卡-04.jpg
image: ""
title: 了解開源授權
description: 授權條款是開源不可缺少的要件,與自由程度直接相關
draft: false
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/zh-tw/來跟立委吃一碗.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/開放政府-來跟立委吃一碗.jpg
image: ""
title: 來跟立委吃一碗
description: 用開放資料看立委最愛用國家的錢去哪些餐廳!
draft: false
Expand Down
2 changes: 1 addition & 1 deletion homepage/_cards/zh-tw/全民追公車.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: images/uploads/開放資料-全民追公車.jpg
image: ""
title: 全民追公車
description: "利用交通局開放資料,做大眾運輸路線、位置追蹤 App "
draft: false
Expand Down
Loading
Loading