Home Page (index.html)
The home page serves as the main landing page for the DNI Cita Previa redesign, providing users with clear entry points to book appointments for DNI (National ID) and passport services.Purpose
The home page serves as:- The initial entry point for all users
- A navigation hub to start appointment requests or manage existing appointments
- An information center about the appointment booking process
- A trustworthy government service interface
Page Structure
Header
The header contains the Ministry of Interior logo and navigation menu with links to:Main Title Section
Appointment Options
The page presents two primary actions:Iniciar Solicitud de Cita
Iniciar Solicitud de Cita
Purpose: Start a new appointment booking processDescription: Users can initiate the request with or without their DNI/NIE data, accommodating cases of lost or stolen documents.Navigation: Links to
iniciar-solicitud.htmlAnular / Consultar Cita
Anular / Consultar Cita
Purpose: Manage existing appointmentsDescription: Users with existing appointments can view details or cancel their appointments.Navigation: Links to
iniciar-solicitud.htmlInformation Section
The page includes critical information for users:Key Messages:
- The appointment service is completely free
- Users should have their current DNI available (unless lost/stolen)
- Required documentation must be brought on appointment day
- Fees are paid at the office, preferably by card
Footer
The footer contains:- National Police logo
- Government branding
- Links to related services:
- Policía Nacional
- Portal del DNIe
- Sede Electrónica
- Office locator
- Contact and help links:
- Help documentation
- Contact email
- Legal notice
- Accessibility information
- Site map
User Flow
Choose action
Users select either:
- “Iniciar Solicitud” to book a new appointment
- “Anular / Consultar” to manage existing appointments
Read important information
Users review critical information about the service being free, required documentation, and payment process
Visual Design Elements
Images and Assets
- Logo: Ministry of Interior logo in multiple formats (AVIF, WebP, PNG) for optimal performance
- Icons: SVG icons for visual clarity and scalability
- Responsive Images: Uses
<picture>elements with modern image formats
Styling
The page uses three CSS files:style.css- Base stylesheaderfooter.css- Header and footer stylingindex.css- Home page-specific styles
Accessibility Features
- Semantic HTML structure
- External links open in new tabs with
rel="noopener noreferrer" - SVG icons with proper stroke and viewBox attributes
- Responsive design with mobile menu toggle
- Clear visual hierarchy
Technical Implementation
Meta Information
JavaScript
The page includesindex.js for interactive functionality:
- Mobile menu toggle
- Additional UI enhancements
Performance Optimizations
- Modern image formats (AVIF, WebP) with fallbacks
- Efficient SVG icon usage
- Minimal external dependencies
Related Pages
- Iniciar Solicitud - Next step in the appointment booking process
- Seleccionar Cita - Appointment form
- Resumen - Appointment summary and confirmation