Content Types
The platform manages several distinct content types:Hero Sliders
Full-screen homepage banner carousel
Products
Product showcase with images and descriptions
About Content
Company information and team details
Footer
Site footer with links and branch locations
Legal Pages
Terms of service and privacy policy
Suggestions
Customer feedback and inquiries
Job Applications
Employment candidate management
Contests
Promotional contests and winners
Hero Sliders
Manage homepage banner slides in the Sliders tab.Slide Structure
Adding Slides
Upload Image
Drag and drop or click to upload. The upload endpoint (Recommended specs:
/api/upload) handles file storage:- Resolution: 1920×1080px
- Format: JPG, PNG, or WebP
- Max size: 10MB
Configure Text
- Título principal: Main white text (3-5 words)
- Palabra destacada: Colored keyword (1-2 words, max 30 chars)
- Descripción corta: Subtitle (max 150 chars)
- Etiqueta superior: Optional badge label
Set Visual Options
- Text position: Left, Center, or Right
- Highlight color: Yellow, Blue, Red, or White
Editing and Deleting
Click the edit icon on any slide to modify its properties inline. Click the delete icon to remove a slide.Products
Manage the product showcase section in the Productos tab.Product Structure
Display Types
- Features Display
- Categories Display
Show specific product benefits:Use when:
- Highlighting a single flagship product
- Emphasizing quality and features
- Building trust with specific claims
- Vertical list with icons
- Title + description for each feature
- Icons: BadgeCheck, ShoppingBasket, Truck, Award
- Recommended: 3-4 features
Image Management
Multiple Images
Multiple Images
Each product supports multiple images that auto-rotate on the public site:
- Click + to upload additional images
- Images cycle every 4 seconds
- Recommended: 3 images per product
- Hover over thumbnails to delete
Image Upload Process
Image Upload Process
Image Positioning
Image Positioning
Use align to control layout:
left: Image left, content rightright: Content left, image right
Managing Features and Categories
Adding items:- Features: Title and description
- Categories: Number, name, and description
About Content
The Nosotros tab manages company information displayed on the/nosotros page and homepage teaser.
Content Sections
- Homepage Teaser: Short company intro on the main page
- Full About Page: Complete company history, mission, values
- Team Members: Staff profiles with photos and roles
The about page supports rich text editing for formatting company history and mission statements.
Footer Management
The Footer tab controls site-wide footer content.Footer Components
Company Info
- Company name and tagline
- Copyright text
- Brief description
Branch Locations
- Multiple office/store locations
- Address, phone, email per branch
- Opening hours
Social Media
- Facebook, Instagram, Twitter links
- WhatsApp contact
- LinkedIn profile
Quick Links
- Navigation links
- Legal pages
- Contact information
Legal Pages
The Páginas Legales tab manages:Terms of Service
- Located at
/politicas/terminos - Full terms and conditions
- User agreements
- Service policies
Privacy Policy
- Located at
/politicas/privacidad - Data collection practices
- Cookie policies
- User rights
Suggestions
The Sugerencias tab displays customer feedback submitted via the homepage form.Suggestion Structure
Features
- Badge notification: Unread count appears on sidebar tab
- Mark as read: Click to toggle read status
- Filter by type: View by suggestion category
- Contact details: Email and phone for follow-up
Unread suggestions show with a badge in the admin sidebar:
Job Applications
The Candidatos tab manages employment applications submitted through/empleo.
Application Data
- Applicant name and contact information
- Desired position/branch
- Resume upload (PDF)
- Application date
- Status tracking
Application Management
- View applications: See all submissions in a table
- Download resumes: Click to view uploaded CVs
- Filter by position: Sort by job opening
- Update status: Mark as reviewed, shortlisted, rejected
Contests
The Concursos tab manages promotional contests and winners.Contest Structure
Winner Management
/concursos.
File Upload System
All image uploads use a centralized API endpoint:Upload Endpoint
Route:POST /api/upload
Implementation (src/routes/api/upload/+server.js):
Supported Formats
- Images: JPG, PNG, WebP, GIF
- Documents: PDF (for resumes)
- Max size: 10MB per file
Content Workflow
Typical content management workflow:Database Schema
Content is stored in PostgreSQL tables managed by Drizzle ORM:slides: Hero slider contentproducts: Product showcase itemsnosotros: About page contentfooter: Footer configurationlegal_pages: Terms and privacy contentsugerencias: Customer suggestionspostulaciones: Job applicationsconcursos: Contest informationganadores: Contest winners
Real-time Updates
Changes to content are immediately visible:- Admin saves content → Database updated
- Public page requested → Fresh data loaded from database
- Content rendered → Visitors see new content
No cache clearing or rebuild required. All pages are server-rendered with live database queries.
Content Validation
Forms include validation to ensure data integrity:- Required fields: Cannot submit without essential data
- Character limits: Enforced on text fields (e.g., 150 chars for descriptions)
- File type checking: Only appropriate file types accepted
- File size limits: Prevents oversized uploads
Best Practices
Optimize Images
Compress images before upload to reduce load times. Use WebP format when possible.
Consistent Naming
Use descriptive, consistent names for products and categories.
Regular Backups
Back up content database regularly to prevent data loss.
Preview Changes
Always check the public site after making significant content updates.
