Search

Theme Management Guide

This guide explains how to manage research themes and projects on the website.

Architecture

The website uses a data-driven architecture with object-oriented JavaScript modules to manage research themes:

Adding a New Project

Projects are managed through data files, not directly in JavaScript. To add a new project:

1. Edit _data/projects.yml

Add your project to the projects list:

- id: your-project-id
  title: Your Project Title
  description: Brief project description
  url: /projects/your-project-url  # or null if no page
  image: /projects/images/thumbnail.png  # or null if no image
  status: completed  # completed, ongoing, or potential
  themes:
    - theme-id-1  # Can belong to multiple themes
    - theme-id-2

2. Project Status Types

The theme statistics are automatically calculated from the projects data.

Adding a New Theme

To add an entirely new research theme:

1. Update _data/research_themes.yml

Add a new theme entry:

- id: new-theme-id
  title: Your Theme Title
  description: Brief description of the theme
  icon: /assets/icons/themes/new-theme.svg

2. Create Theme Icon

Create an SVG icon at /assets/icons/themes/new-theme.svg (100x100 viewBox recommended).

3. Add Projects

Add projects to _data/projects.yml with the new theme ID in the themes array.

4. (Optional) Add Custom Theme Colors

Add custom hover colors in assets/css/components/theme-grid.css:

.theme-block[data-theme="new-theme-id"]:hover {
    border-color: rgba(YOUR, COLOR, HERE, 0.8);
    box-shadow: 0 15px 40px rgba(YOUR, COLOR, HERE, 0.4);
}

.theme-block[data-theme="new-theme-id"] .theme-icon {
    color: #YOUR-COLOR;
}

The theme will automatically appear on the homepage, and statistics will be calculated from the projects data.

Current Themes

1. Superconducting Qubit Simulation (superconducting)

2. Quantum Error Correction (qec)

3. Tensor Networks (tensor)

4. Neural Networks (neural)

Styling Guidelines

Theme Icons

Color Scheme

Best Practices

  1. Keep descriptions concise: 1-2 sentences for theme blocks
  2. Use high-quality images: Thumbnails should be at least 300x200px
  3. Update project counts: The system auto-counts, but update the HTML display numbers
  4. Maintain consistency: Use similar language patterns across themes
  5. Test responsiveness: Check mobile, tablet, and desktop views

Maintenance

Troubleshooting

Theme not expanding

Styling issues

Projects not displaying

Statistics not updating