aladdin-website

Aladdin UI Documentation

Welcome to the Aladdin UI documentation. This guide will help you understand the codebase structure, add new components, and create new pages.

📚 Table of Contents

Getting Started

Component Guides

Content Creation Guides

Reference


File Structure

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

Template + Static Path Conventions