Skip to content

Creating Event page

Aung Kaung Myat edited this page Jan 19, 2025 · 1 revision
  1. Head to src/content/events then duplicate an existing yaml a. For events with tracks, duplicate June.yaml b. For events without tracks, duplicate anything other than June.yaml
  2. Rename the file and modify the content
  3. You may create a direction page if the event is a physical event, can refer to src/pages/events/june/directions.astro as an example

Warning

The direction page component as of now is a mess, it will be fixed in 2026. For now, you may duplicate the component if needed and modify as per required

Syntax for yaml

Main

Property Description Possible values
title: Title of the event
status: Status of the event - some components may be hidden if status is set to closed closed over open
details: Details of the event in bullet point form
excerpt: Summary of description property for meta description
desc: Description of the event Start with >- then newline, then type your description
faq: Frequently asked questions, usually it's identical every year, don't forget to change the dates
prospectus: Poster images. Images must be put in public folder (will be changed in 2026)
timeline: Timeline of the event. The indenting is really wacky so run a dev server and ensure everything is correct

Example for Details property

details:
- 'Workshops: 10th - 12th March'
- 'Hackathon: 13th - 15th March'
- 'Venue: Online'
- 'Email contact for queries: [email protected]'

Example for Desc property

You don't really need to do line breaks but it looks better in IDE

desc: >-
  BuildingBloCS’ virtual March Conference aims to spark an interest in Python and Data Science by introducing 
  three beginner-level workshops on NumPy, Pandas and Matplotlib. We also have a special sharing by FOSSASIA, 
  the premier open source organisation in Asia, about data scraping! To put your learning to the test, a 
  three-day hackathon has been organised with attractive prizes to be won!

Example for FAQ property

faq:
- q: Must I go for all workshops?
  a: Not at all! You can choose which workshops you would like to attend.
- q: Why should I sign up?
  a: You can learn from industry professionals and spend your March holidays productively!

Example for Prospectus property

prospectus:
- src: /events/march/1.png
- src: /events/march/2.png

Example for Timeline property

Without tracks

timeline:
- events:
  - date: 10 Mar
    event:
    - time: 2:00 PM - 4:30 PM
      title: Foundations of Python for Data Science
      desc: The curriculum includes proper indentation, data types, variable assignment as well as control structures like loops and conditionals. Finally, the workshop also introduces them to libraries as a lead-up to the subsequent workshops.
      author: by ACJC Students
  - date: 11 Mar
    event:
    - time: 10:00 AM - 11:30 AM
      title: Data Manipulation - NumPy
      desc: Explore the efficiency of NumPy, a faster and memory-efficient substitute for Python Lists. From basic syntax to advanced features like broadcasting, you can gain a comprehensive understanding of NumPy.
      author: by Shivani, Sheng Xin and Lucius
    - time: 3:00 PM - 5:00 PM
      title: Data Manipulation - Pandas
      desc: Explore the use of Pandas, a more efficient way of editing your excel sheets. From basic features like merging DataFrames together, to more advanced features, with connectivity to other Python Packages, become a pro at handling data in Python!
      author: by Dhanvine, Eugene and Mahit

With tracks

timeline:
- title: Beginner
  events:
  - date: 10 June
    event:
    - time: 08:30 - 09:00
      title: Registration
    - time: 09:00 - 09:30
      title: Opening Ceremony
    - time: 09:30 - 11:30
      title: Python with GitHub Pro
      desc: Learn the fundamentals of programming with Python syntax, data structures, control flow and more, while leveraging on the guidance GitHub Pro's Copilot can provide. This workshop is suitable even for complete beginners
      author: by Shivani, Jolynn and Sai