Creating a New Component

General

  • Icons

  • JSX

    • Always prefer MUI components (vs plain JSX)

Creating a new Page

  • (1) A new page should be created

    • Filename: index.tsx

    • Location: src/pages/[page-name]/index.tsx

  • (2) A new components folder (and subfolder) should be created

    • Folder name: _components/

    • Location: src/pages/[page-name]/_components/

  • (3) Use our current template for PodX.tsx components

    • Aka, copy everything within components/team-members & paste into components/[page-name]

    • **TODO: UPDATE THIS SECTION

Last updated