# Use and adapt sufra

Use the documented interfaces and source layout for **sufra**. The sections below retain the README’s examples and configuration details.

## Home sections (configurable in the Partners portal)

| Component       | Description                                        |
|-----------------|----------------------------------------------------|
| Hero slider     | Full-width food banners with autoplay              |
| Quick menu      | Circular shortcut links (grills, desserts, juices) |
| Featured dishes | `salla-products-slider` of the merchant's featured products |
| Today's menu    | Dish cards with photo, title and order link        |
| Special offer   | Full-width offer banner with CTA                   |
| About the chef  | Two-column story section                           |
| Testimonials    | Customer review cards                              |
| Store features  | Delivery, freshness, COD, quality guarantee        |

## Theme settings

Open **My Themes → Sufra → Settings** in the [Partners portal](https://portal.salla.partners) to toggle:

- Sticky header, dark top nav, delivery banner text
- Home section titles
- Product breadcrumbs, sticky add-to-cart, image fit
- Dark footer

## Publishing

1. Push this folder to a GitHub repository (it is synced with your partner account).
2. In the Partners portal, create/import a theme from that repository.
3. Set up a demo store, preview, then publish to the [themes marketplace](https://salla.partners/themes).

## Commands in the root manifest

The captured [package.json](https://github.com/Up-to-code/sufra/blob/HEAD/package.json) declares the following scripts. Run them from the directory containing that manifest.

| Command | Script |
| --- | --- |


## Troubleshoot a local change

1. Reproduce the smallest example from the [quick-start guide](/docs/up-to-code-sufra/quick-start-guide).
2. Compare required configuration and dependency versions with the README.
3. Check the linked issue tracker for the same error. Include the command, runtime version, and relevant error when reporting a problem; omit credentials.

## Source and help

- [GitHub repository](https://github.com/Up-to-code/sufra)
- [Original README](https://github.com/Up-to-code/sufra/blob/main/README.md)
- [Issues and existing reports](https://github.com/Up-to-code/sufra/issues)
