Compare commits
No commits in common. "7c631be66716ba93813c07ada0231672f5feee37" and "f2667296d3e48c7e592077b9ce679390deb063d6" have entirely different histories.
7c631be667
...
f2667296d3
4 changed files with 7 additions and 14 deletions
|
|
@ -41,15 +41,15 @@ import { companyInfo } from '../data';
|
||||||
<ul class="space-y-8 font-sans">
|
<ul class="space-y-8 font-sans">
|
||||||
<li>
|
<li>
|
||||||
<span class="block text-[10px] text-cloud/20 uppercase tracking-widest font-bold mb-2">Professionnels</span>
|
<span class="block text-[10px] text-cloud/20 uppercase tracking-widest font-bold mb-2">Professionnels</span>
|
||||||
<a href={`mailto:${companyInfo.emails.pro}`} class="text-cloud/70 hover:text-dream-coral transition-colors flex items-center gap-3 font-bold whitespace-nowrap text-sm">
|
<a href={`mailto:${companyInfo.emails.pro}`} class="text-cloud/70 hover:text-dream-coral transition-colors flex items-center gap-3 font-bold break-all">
|
||||||
<Icon name="lucide:mail" size={16} class="text-dream-coral shrink-0" />
|
<Icon name="lucide:mail" size={16} class="text-dream-coral" />
|
||||||
{companyInfo.emails.pro}
|
{companyInfo.emails.pro}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<span class="block text-[10px] text-cloud/20 uppercase tracking-widest font-bold mb-2">Ateliers Théâtre</span>
|
<span class="block text-[10px] text-cloud/20 uppercase tracking-widest font-bold mb-2">Ateliers Théâtre</span>
|
||||||
<a href={`mailto:${companyInfo.emails.ateliers}`} class="text-cloud/70 hover:text-dream-blue transition-colors flex items-center gap-3 font-bold whitespace-nowrap text-sm">
|
<a href={`mailto:${companyInfo.emails.ateliers}`} class="text-cloud/70 hover:text-dream-blue transition-colors flex items-center gap-3 font-bold break-all">
|
||||||
<Icon name="lucide:mail" size={16} class="text-dream-blue shrink-0" />
|
<Icon name="lucide:mail" size={16} class="text-dream-blue" />
|
||||||
{companyInfo.emails.ateliers}
|
{companyInfo.emails.ateliers}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ export function mapStoryToEvent(story: any): AgendaEvent {
|
||||||
id: story.uuid,
|
id: story.uuid,
|
||||||
date: c.date || '',
|
date: c.date || '',
|
||||||
location: c.lieu || '',
|
location: c.lieu || '',
|
||||||
spectacleId: extractSlug(c.spectacle),
|
spectacleId: extractSlug(c.spectacle_slug),
|
||||||
bookingLink: c.lien_reservation || null,
|
bookingLink: c.lien_reservation || null,
|
||||||
_blok: c,
|
_blok: c,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
import Layout from '../../layouts/Layout.astro';
|
import Layout from '../layouts/Layout.astro';
|
||||||
import { Icon } from 'astro-icon/components';
|
import { Icon } from 'astro-icon/components';
|
||||||
import { fetchSpectacles, fetchAgenda } from '../../lib/storyblok';
|
import { fetchSpectacles, fetchAgenda } from '../lib/storyblok';
|
||||||
|
|
||||||
const [spectacles, agenda] = await Promise.all([fetchSpectacles(), fetchAgenda()]);
|
const [spectacles, agenda] = await Promise.all([fetchSpectacles(), fetchAgenda()]);
|
||||||
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
---
|
|
||||||
export function getStaticPaths() {
|
|
||||||
return [];
|
|
||||||
}
|
|
||||||
|
|
||||||
return Astro.redirect('/agenda');
|
|
||||||
---
|
|
||||||
Loading…
Add table
Reference in a new issue