Skip to content

Implement activity page#14

Merged
xAdb2 merged 1 commit intomainfrom
activity-card
Nov 30, 2025
Merged

Implement activity page#14
xAdb2 merged 1 commit intomainfrom
activity-card

Conversation

@c1ydehhx
Copy link
Copy Markdown
Member

@c1ydehhx c1ydehhx commented Nov 30, 2025

In this PR, I implement activity page to present our activity.

How to setup activity information?

In file Activities.tsx, update the information in the list element named ActivityItems.

import ActivityImage from "../assets/activity/activity-image.png"
import ActivityImage2 from "../assets/activity/activity-image-2.png"

const ActivityItems = [
    {
        imgSrc: ActivityImage,
        title: "2024 AIS3 新型態暑期課程",
        subTitle: "2024/01/01 - Taipei City",
        description: "以落實產業資安實務為導向設計課程內容,並引導學員依興趣組成跨校跨級學習小組,製作與展示專題成果。錄取考核分為『Pre-exam資安實務測驗』錄取 110 人及『甄選』錄取 40 人,共錄取 150 人。"
    },
    {
        imgSrc: ActivityImage2,
        title: "2024 資安技能金盾初賽",
        subTitle: "2024/01/01 - Taipei City",
        description: "為加強學生資安實務技能,透過競賽機制,以實務與時事題型,提升學生解決資安問題能力與實戰經驗,分為初賽與決賽,參賽對象包含國中、高中及大專校院在學學生,每組最多3人,活動富教育意義且對升學有助益。"
    },
]

You can put the information into title, subTitle, and description field. Feel free to use these.

For the image source, just put the image into asset/activity folder, and import the image with

import <ImageVariableName> from "../assets/activity/<imageFileName>"

For example:

import AIS32024 from "../assets/activity/ais3-2024.png"

Preview

image

@c1ydehhx c1ydehhx requested a review from xAdb2 November 30, 2025 16:13
@xAdb2 xAdb2 merged commit ae7ae61 into main Nov 30, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants