Skip to content

pdnMARC/AI_Awareness_Program

Repository files navigation

AI Awareness Program Website

Astro-based event website for the Workshop on AI for Pre-Engineering Students hosted by the Multidisciplinary AI Research Center (MARC), University of Peradeniya.

The project is intentionally structured so that:

  • the page layout is built from reusable Astro components
  • event copy and FAQs live in Markdown content files
  • the site can be published automatically with GitHub Actions and GitHub Pages

Stack

  • Astro for the site
  • Markdown content collections for editable event information
  • GitHub Actions for automated publishing
  • GitHub Pages for hosting

Project structure

.
|-- .github/
|   `-- workflows/
|       `-- deploy.yml
|-- public/
|   `-- favicon.svg
|-- src/
|   |-- components/
|   |   |-- CallToAction.astro
|   |   |-- EventDetails.astro
|   |   |-- EventHighlights.astro
|   |   |-- FaqList.astro
|   |   |-- Hero.astro
|   |   |-- SectionHeading.astro
|   |   `-- TestimonialGrid.astro
|   |-- content/
|   |   |-- event/
|   |   |   `-- workshop.md
|   |   |-- faq/
|   |   |   `-- *.md
|   |   `-- testimonials/
|   |       `-- *.md
|   |-- layouts/
|   |   `-- BaseLayout.astro
|   |-- pages/
|   |   `-- index.astro
|   |-- styles/
|   |   `-- global.css
|   `-- content.config.ts
|-- astro.config.mjs
|-- package.json
`-- README.md

Local development

  1. Install dependencies:

    npm install
  2. Start the development server:

    npm run dev
  3. Build the production version:

    npm run build
  4. Preview the production build locally:

    npm run preview

Editing content

The site is designed so that most event updates happen in Markdown, not in layout code.

Main event content

Edit src/content/event/workshop.md.

This file contains:

  • hero text
  • event metadata
  • location and eligibility details
  • highlight cards
  • session flow content
  • call-to-action labels
  • the main descriptive body copy

FAQ entries

Each FAQ answer is a separate Markdown file in src/content/faq.

To add a new FAQ:

  1. Create a new .md file in that folder.
  2. Add frontmatter with order and question.
  3. Write the answer in normal Markdown.

Example:

---
order: 7
question: "Will lunch be provided?"
---
Add the official answer here.

Testimonials

Testimonials are stored in src/content/testimonials.

Each testimonial is a separate Markdown file so they can be added, removed, or reordered easily.

Extending the site

The current version is a polished one-page event landing page, but it is set up to grow cleanly.

Easy next steps include:

  • adding a speakers section using another content collection
  • moving registration to a real external form link
  • adding a schedule page or a /faq page later
  • adding sponsor, partner, or gallery sections with new components
  • switching from Markdown to MDX if richer embedded content is needed later

Deployment workflow

The workflow file is deploy.yml.

It deploys automatically when code is pushed to the main branch.

To enable publishing on GitHub Pages

  1. Push this repository to GitHub.
  2. Open the repository settings.
  3. Go to Pages.
  4. Set the source to GitHub Actions.
  5. Push to main or manually run the workflow.

Important configuration note

The Astro config currently assumes GitHub Pages deployment for this repository and uses the repository name as the production base path during GitHub Actions builds.

If you later:

  • rename the repository
  • move to a custom domain
  • deploy on Netlify or Vercel instead

then update astro.config.mjs accordingly.

Content assumptions used in this first version

The following details were available from the provided flyer and your note, and are already reflected in the site:

  • event title and hosting organization
  • date: 20 April 2026
  • time: 9.00 AM to 4.00 PM
  • location: Faculty of Engineering, University of Peradeniya
  • eligibility: Physical Science stream students who completed GCE A/Ls in 2025

Some details were not available yet, so the site currently treats them as pending:

  • registration link
  • final logistics beyond the venue name
  • speaker list
  • exact timetable
  • contact details

Recommended next updates

  • replace the placeholder registration messaging with the official registration form URL
  • add speaker names or session leads when confirmed
  • add travel/contact information if participants need it
  • update testimonials or photos after the next workshop cycle

About

Website providing information on the AI Awareness Porgram 2026

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors