feat: remove contact form and switch canonical domain to mnqcatering.com
Drop the non-functional contact form (no backend wired up) and keep the WhatsApp/phone contact path as the single call to action. Also point site config, robots.txt, llms.txt, and every on-page domain reference at www.mnqcatering.com ahead of the DNS cutover.
This commit is contained in:
@@ -19,7 +19,7 @@ const whatsappAriaLabel = 'Contactar con MNQ por WhatsApp';
|
||||
<p>© 2025 MNQ Catering y Evento. Excelencia culinaria para los momentos más importantes de su vida.</p>
|
||||
<div style="display:flex;flex-direction:column;gap:0.35rem;margin-top:var(--space-4);">
|
||||
<a href="tel:+34678171513" class="footer-link" style="width:fit-content;">+34 678 17 15 13</a>
|
||||
<a href="https://mnq.elkazurrotaberna.es" class="footer-link" style="width:fit-content;">mnq.elkazurrotaberna.es</a>
|
||||
<a href="https://www.mnqcatering.com" class="footer-link" style="width:fit-content;">www.mnqcatering.com</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ const {
|
||||
structuredData,
|
||||
} = Astro.props;
|
||||
|
||||
const site = Astro.site ?? new URL('https://mnq.elkazurrotaberna.es');
|
||||
const site = Astro.site ?? new URL('https://www.mnqcatering.com');
|
||||
const canonicalUrl = new URL(canonical ?? Astro.url.pathname, site).toString();
|
||||
const ogImageUrl = new URL(ogImage, site).toString();
|
||||
const baseStructuredData = {
|
||||
@@ -57,7 +57,7 @@ const structuredDataScripts = [
|
||||
? [structuredData]
|
||||
: []) as Array<Record<string, unknown>>),
|
||||
];
|
||||
const umamiHost = Astro.site ? Astro.site.origin : 'https://mnq.elkazurrotaberna.es';
|
||||
const umamiHost = Astro.site ? Astro.site.origin : 'https://www.mnqcatering.com';
|
||||
const rawUmamiUrl = Astro.url ? import.meta.env.PUBLIC_UMAMI_URL : undefined;
|
||||
const umamiWebsiteId = import.meta.env.PUBLIC_UMAMI_WEBSITE_ID;
|
||||
const normalizedUmamiUrl = rawUmamiUrl
|
||||
|
||||
@@ -97,7 +97,7 @@ const whatsappAriaLabel = 'Contactar con MNQ por WhatsApp';
|
||||
<span class="label-caps text-primary">Sitio web</span>
|
||||
<div style="display:flex;align-items:center;gap:var(--space-4);">
|
||||
<Icon name="language" class="text-primary" />
|
||||
<a class="text-muted contact-link" href="https://mnq.elkazurrotaberna.es">mnq.elkazurrotaberna.es</a>
|
||||
<a class="text-muted contact-link" href="https://www.mnqcatering.com">www.mnqcatering.com</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -128,57 +128,6 @@ const whatsappAriaLabel = 'Contactar con MNQ por WhatsApp';
|
||||
|
||||
</aside>
|
||||
|
||||
<!-- Formulario -->
|
||||
<div>
|
||||
<form class="form-grid" aria-label="Formulario de contacto" method="dialog">
|
||||
|
||||
<div class="form-field">
|
||||
<label class="form-label" for="nombre">Nombre Completo</label>
|
||||
<input class="form-input" id="nombre" name="nombre" type="text" placeholder="Ej. Javier Sotomayor" />
|
||||
</div>
|
||||
|
||||
<div class="form-field">
|
||||
<label class="form-label" for="email">Correo Electrónico</label>
|
||||
<input class="form-input" id="email" name="email" type="email" placeholder="javier@empresa.com" />
|
||||
</div>
|
||||
|
||||
<div class="form-field">
|
||||
<label class="form-label" for="tipo">Tipo de Evento</label>
|
||||
<select class="form-select" id="tipo" name="tipo">
|
||||
<option value="">Seleccione una opción</option>
|
||||
<option value="boda">Boda</option>
|
||||
<option value="corporativo">Evento Corporativo</option>
|
||||
<option value="social">Celebración Social</option>
|
||||
<option value="otro">Otro</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-field">
|
||||
<label class="form-label" for="fecha">Fecha Estimada</label>
|
||||
<input class="form-input" id="fecha" name="fecha" type="date" />
|
||||
</div>
|
||||
|
||||
<div class="form-field form-span-full">
|
||||
<label class="form-label" for="mensaje">Mensaje o Requerimientos Especiales</label>
|
||||
<textarea
|
||||
class="form-textarea"
|
||||
id="mensaje"
|
||||
name="mensaje"
|
||||
rows="5"
|
||||
placeholder="Cuéntenos más sobre su visión..."
|
||||
></textarea>
|
||||
</div>
|
||||
|
||||
<div class="form-span-full" style="display:flex;justify-content:flex-end;">
|
||||
<button type="submit" class="btn-underline" style="display:inline-flex;align-items:center;gap:var(--space-3);">
|
||||
Enviar Solicitud
|
||||
<Icon name="arrow-forward" />
|
||||
</button>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -254,6 +203,7 @@ const whatsappAriaLabel = 'Contactar con MNQ por WhatsApp';
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-8);
|
||||
max-width: 28rem;
|
||||
}
|
||||
|
||||
.contact-link {
|
||||
@@ -279,12 +229,6 @@ const whatsappAriaLabel = 'Contactar con MNQ por WhatsApp';
|
||||
gap: var(--space-12);
|
||||
}
|
||||
|
||||
.contacto-grid {
|
||||
grid-template-columns: 2fr 3fr;
|
||||
align-items: start;
|
||||
gap: var(--space-16);
|
||||
}
|
||||
|
||||
.contact-detail-grid {
|
||||
grid-template-columns: 5fr 7fr;
|
||||
align-items: start;
|
||||
|
||||
@@ -21,7 +21,7 @@ import MainLayout from '../layouts/MainLayout.astro';
|
||||
<p>
|
||||
<strong>MNQ Catering y Evento</strong><br />
|
||||
Teléfono: <a href="tel:+34678171513">+34 678 17 15 13</a><br />
|
||||
Sitio web: <a href="https://mnq.elkazurrotaberna.es">mnq.elkazurrotaberna.es</a>
|
||||
Sitio web: <a href="https://www.mnqcatering.com">www.mnqcatering.com</a>
|
||||
</p>
|
||||
|
||||
<h2>2. Datos que tratamos</h2>
|
||||
|
||||
Reference in New Issue
Block a user