Welcome to the Aladdin UI documentation. This guide will help you understand the codebase structure, add new components, and create new pages.
aladdin/
├── ui/
│ ├── index.html # Page template (extends website/base.html)
│ ├── careers.html # Page template
│ ├── parents.html # Page template
│ ├── ordernow.html # Page template
│ ├── misc.html # Page template (starter for new pages)
│ └── website/
│ ├── base.html # Base template extended by all pages
│ ├── components/ # Template partials (included via Django template includes)
│ │ ├── base/ # Header, footer, sprite
│ │ ├── shared/ # Reusable components
│ │ ├── home/ # Homepage components
│ │ ├── parents/ # Parents page components
│ │ └── careers/ # Careers page components
│ ├── css/ # Stylesheets (served via Django static paths like website/css/...)
│ │ ├── foundations/
│ │ ├── layout/
│ │ ├── pages/
│ │ └── shared/
│ └── js/ # JavaScript (served via Django static paths like website/js/...)
│ ├── components/
│ └── script.js
└── docs/ # This documentation
ui/website/...website/... (e.g. {% include "website/components/shared/hero.html" %})ui/website/{css,js}/...website/{css,js}/... (e.g. {% static 'website/css/styles.css' %})