Overview
The Restaurant History screen displays the rich story, heritage, and specialty dishes of a restaurant. This feature helps customers learn about the restaurant’s background before making a reservation. Source:lib/presentacion/historia/historia_screen.dart
Accessing Restaurant History
Navigate to this screen by:- Tapping “Ver Historia” from the Restaurant Details screen
- Using the
/historiaroute with anegocioIdparameter
Content Sections
Restaurant Story
The main content area displays the restaurant’s narrative in multiple paragraphs, configured by the business owner.Header Section
- Title: Main heading (e.g., “Nuestra Historia”)
- Subtitle: Supporting tagline (e.g., “Tradición y Sabor”)
- Restaurant Icon: Visual identifier
Story Paragraphs
The restaurant’s narrative is presented as a series of well-formatted paragraphs with:- Comfortable line spacing
- Readable typography
- Smooth scrolling for longer stories
Specialty Dishes
At the bottom of the history, the restaurant’s signature dishes are showcased:Dish Name
Each specialty includes an icon, name, and description
Visual Icons
Material Design icons represent each dish type
Data Structure
HistoriaRestaurante Entity
Source:lib/dominio/entidades/historia_restaurante.dart
EspecialidadItem
Each specialty dish includes:Default Content
If no custom history is configured, the system displays default content fromHistoriaData:
Source: lib/dominio/entidades/historia_restaurante.dart:57
UI Layout
Visual Structure
Specialty Display
Each specialty is shown in an attractive card with:- Icon: Visual representation of the dish type
- Name: Bold dish name
- Description: Details about the specialty
Navigation Route
Loading Data
The history content is loaded from Firestore:lib/dominio/repositorios/historia_repositorio.dart
Business Owner Configuration
Restaurant owners can customize their history through the admin panel:Icon Options for Specialties
Common icons used for dishes:| Icon | Use Case |
|---|---|
restaurant | General dishes, traditional food |
local_pizza | Pizza, Italian cuisine |
cake | Desserts, pastries |
local_bar | Drinks, cocktails |
coffee | Coffee, breakfast items |
soup_kitchen | Soups, comfort food |
Use Cases
For Customers
- Learn about the restaurant’s heritage before booking
- Discover signature dishes and specialties
- Understand the restaurant’s culinary philosophy
- Get excited about the dining experience
For Restaurant Owners
- Showcase unique story and differentiation
- Highlight signature dishes
- Build emotional connection with customers
- Increase reservation conversion
Example Content
Sample Restaurant History
Sample Restaurant History
See Also
Restaurant Details
Return to restaurant overview
Making Reservations
Book a table after learning about the restaurant
Historia Entity
Data structure and API reference
Business Configuration
How owners customize their history