# XWUISuperMarketing

Super-tier app shell for the marketing domain. With `industry/marketing/` still empty, it locks the public menu-key contract (`marketing-dashboard` plus campaigns, audiences, content, email marketing, social, analytics and reports) so hosts can wire Marketing in today and have real page-classes swapped in later. The `marketing-dashboard` leaf is the default landing and synthesizes a four-tile KPI strip via `XWUIDashboard` (Active Campaigns, Leads This Week, Conversion %, ROI), mirroring the sibling CRM dashboard's ribbon for visual parity; every other leaf mounts an `XWUIEmpty` "Coming soon" placeholder. Drive it through `title`, `sidebarWidth`, `activeKey`, `locale` and `user`, and fold it next to CRM / SocialMedia / Sales via `extraTree` / `extraPages` or `XWUISuperApp.merge()`.

## Basic Usage

A standalone Marketing shell that lands on the synthesized KPI dashboard; the rest of the sidebar leaves open placeholders.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Mounts XWUISuperMarketing on its own with a Marketing Lead identity, opening on the marketing-dashboard KPI strip.
```

## Merged With Social Media

Merges Marketing with a stand-in `AppSocialMediaDemo` Super-app via `XWUISuperApp.merge()`, keeping `marketing-dashboard` as the cold landing while the Social Media accordion sits alongside.

```example
file: examples/MergedWithSocialMedia.ts
html: examples/MergedWithSocialMedia.html
title: Merged With Social Media
description: Union-merges XWUISuperMarketing with an inlined Social Media stand-in into one host XWUISuperApp, Marketing remaining the primary app.
```

## Campaigns (Arabic)

A CMO opens straight on the live campaigns board with the shell flipped to Arabic / RTL.

```example
file: examples/CampaignsArabic.ts
html: examples/CampaignsArabic.html
title: Campaigns (Arabic)
description: Deep-links XWUISuperMarketing onto marketing-campaigns with locale ar, flipping the shell to RTL and showing a 3-notification badge.
```

## With A/B Test Lab

Extends Marketing with an Experiments > A/B Lab leaf via extraTree / extraPages, deep-linking onto a card that surfaces a subject-line test winner.

```example
file: examples/WithAbTestLab.ts
html: examples/WithAbTestLab.html
title: With A/B Test Lab
description: Adds an Experiments > A/B Lab leaf through extraTree / extraPages and deep-links onto an XWUICard reporting a Variant B open-rate win.
```

```api
```
