Skip to content

Refactor template components to use config #2

@victoria-lo

Description

@victoria-lo

We’d like to make this tool more community-agnostic and easily reusable by other tech groups (for example: open source meetups, developer community organisations, hackathon groups, etc). Right now it is branded and structured around ragTechDev, but with a few adjustments it could serve a wider audience.

Goals:

  • Allow other tech communities to add their own brand (names, logos, colours) without needing deep code changes.
  • Provide a clear onboarding path for new communities to fork/customise the project.
  • Make configuration of templates (templates for social posts, event banners, etc) more flexible so communities can adapt text/layout/logo easily.
  • Keep the core functionality (canvas export, platform sizes, etc) intact, but separate “branding assets” from core logic.

Sub-issues:

#2 Refactor template components to use config

Goal: Replace all hardcoded branding elements with config-based values.

Description:
Update all template components (social cards, banners, etc.) to reference the new config instead of fixed ragTechDev assets or text.

Acceptance criteria:

  • Identify and refactor all templates using hardcoded branding.
  • Replace static logos, titles, and colors with dynamic config values.
  • Ensure backward compatibility if no config exists.
  • Test rendering with both default and custom configs.

Dependencies: #1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions