Expo « À nous les chemins ! » avec Albi Tadam : banner photo index + mention carte accueil (FR/EN/AR)
This commit is contained in:
parent
f30ac85643
commit
9cb78bbccc
5 changed files with 233 additions and 27 deletions
BIN
src/assets/images/a-nous-les-chemins.jpg
Normal file
BIN
src/assets/images/a-nous-les-chemins.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 227 KiB |
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
|
import { Image } from 'astro:assets';
|
||||||
import { getLocalizedCollection } from '../../utils/content-i18n';
|
import { getLocalizedCollection } from '../../utils/content-i18n';
|
||||||
import { t, getPhotoBlogPath, getPhotoAlbumsPath, type Locale } from '../../utils/i18n';
|
import { t, getPhotoBlogPath, getPhotoAlbumsPath, type Locale } from '../../utils/i18n';
|
||||||
|
import exhibitionImage from '../../assets/images/a-nous-les-chemins.jpg';
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
lang?: Locale;
|
lang?: Locale;
|
||||||
|
|
@ -11,34 +13,123 @@ const { lang = 'fr' } = Astro.props;
|
||||||
// Récupérer les catégories filtrées par langue
|
// Récupérer les catégories filtrées par langue
|
||||||
const sortedCategories = (await getLocalizedCollection('photoCategories', lang))
|
const sortedCategories = (await getLocalizedCollection('photoCategories', lang))
|
||||||
.sort((a, b) => (a.data.order || 99) - (b.data.order || 99));
|
.sort((a, b) => (a.data.order || 99) - (b.data.order || 99));
|
||||||
|
|
||||||
|
const exhibition = {
|
||||||
|
fr: {
|
||||||
|
label: "Exposition en cours",
|
||||||
|
title: "« À nous les chemins ! »",
|
||||||
|
description: "Exposition collective itinérante de photographies avec l'association Albi Tadam, dans le cadre de « En 2026, la culture sillonne le Tarn ».",
|
||||||
|
venues: [
|
||||||
|
{ dates: "4 avril – 25 mai", place: "Musée-mine départemental, Cagnac-les-Mines" },
|
||||||
|
{ dates: "1er – 26 juin", place: "Mairie de Pampelonne" },
|
||||||
|
{ dates: "1er – 31 juillet", place: "Communauté de Communes Sor et Agout, Saïx" },
|
||||||
|
{ dates: "4 – 28 août", place: "Musée de la vie paysanne, Rieumontagné" },
|
||||||
|
{ dates: "3 – 30 sept.", place: "Pan'art, Castres" },
|
||||||
|
{ dates: "6 – 31 oct.", place: "Médiathèque, Saint-Sulpice" },
|
||||||
|
{ dates: "4 – 28 nov.", place: "Espace Reynès, Albi" },
|
||||||
|
{ dates: "1er – 24 déc.", place: "Archives départementales du Tarn, Albi" },
|
||||||
|
],
|
||||||
|
vernissage: "Vernissage le samedi 18 avril à 17h au Musée-mine départemental, Cagnac-les-Mines.",
|
||||||
|
free: "Entrée libre",
|
||||||
|
imageAlt: "Affiche de l'exposition « À nous les chemins ! » par Albi Tadam — escalier illuminé aux couleurs bleu, blanc, rouge, photo de Candic Clavel-Deandington",
|
||||||
|
},
|
||||||
|
en: {
|
||||||
|
label: "Current exhibition",
|
||||||
|
title: '"The Paths Are Ours!"',
|
||||||
|
description: "Itinerant collective photography exhibition with the Albi Tadam association, as part of 'In 2026, culture travels through the Tarn'.",
|
||||||
|
venues: [
|
||||||
|
{ dates: "April 4 – May 25", place: "Musée-mine départemental, Cagnac-les-Mines" },
|
||||||
|
{ dates: "June 1 – 26", place: "Mairie de Pampelonne" },
|
||||||
|
{ dates: "July 1 – 31", place: "Communauté de Communes Sor et Agout, Saïx" },
|
||||||
|
{ dates: "Aug. 4 – 28", place: "Musée de la vie paysanne, Rieumontagné" },
|
||||||
|
{ dates: "Sept. 3 – 30", place: "Pan'art, Castres" },
|
||||||
|
{ dates: "Oct. 6 – 31", place: "Médiathèque, Saint-Sulpice" },
|
||||||
|
{ dates: "Nov. 4 – 28", place: "Espace Reynès, Albi" },
|
||||||
|
{ dates: "Dec. 1 – 24", place: "Archives départementales du Tarn, Albi" },
|
||||||
|
],
|
||||||
|
vernissage: "Opening reception: Saturday, April 18 at 5 PM, Musée-mine départemental, Cagnac-les-Mines.",
|
||||||
|
free: "Free admission",
|
||||||
|
imageAlt: "Exhibition poster 'The Paths Are Ours!' by Albi Tadam — stairway lit in blue, white and red, photo by Candic Clavel-Deandington",
|
||||||
|
},
|
||||||
|
ar: {
|
||||||
|
label: "معرض جارٍ",
|
||||||
|
title: "« !الدروب لنا »",
|
||||||
|
description: "معرض تصوير جماعي متنقل مع جمعية ألبي تادام، ضمن برنامج « في 2026، الثقافة تجوب التارن ».",
|
||||||
|
venues: [
|
||||||
|
{ dates: "4 أبريل – 25 مايو", place: "متحف المنجم الإقليمي، كانياك لي مين" },
|
||||||
|
{ dates: "1 – 26 يونيو", place: "بلدية بامبلون" },
|
||||||
|
{ dates: "1 – 31 يوليو", place: "مجموعة بلديات سور وأغو، سايكس" },
|
||||||
|
{ dates: "4 – 28 أغسطس", place: "متحف الحياة الريفية، ريومونتانيي" },
|
||||||
|
{ dates: "3 – 30 سبتمبر", place: "بان آر، كاستر" },
|
||||||
|
{ dates: "6 – 31 أكتوبر", place: "المكتبة الوسائطية، سان سولبيس" },
|
||||||
|
{ dates: "4 – 28 نوفمبر", place: "فضاء رينيس، ألبي" },
|
||||||
|
{ dates: "1 – 24 ديسمبر", place: "الأرشيف الإقليمي للتارن، ألبي" },
|
||||||
|
],
|
||||||
|
vernissage: "حفل الافتتاح: السبت 18 أبريل الساعة 17:00، متحف المنجم الإقليمي، كانياك لي مين.",
|
||||||
|
free: "الدخول مجاني",
|
||||||
|
imageAlt: "ملصق معرض « !الدروب لنا » من ألبي تادام — درج مضاء بالأزرق والأبيض والأحمر",
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
const exh = exhibition[lang];
|
||||||
---
|
---
|
||||||
|
|
||||||
<section id="explore-section" class="explore-section">
|
<section id="explore-section" class="explore-section">
|
||||||
<div class="explore-content">
|
<div class="explore-content">
|
||||||
<div class="explore-card">
|
<div class="exhibition-banner">
|
||||||
<h2 class="explore-card-title">{t('photo', 'categories', lang)}</h2>
|
<div class="exhibition-layout">
|
||||||
<p class="explore-card-desc">{t('photo', 'browseByTheme', lang)}</p>
|
<a href="https://rdvculturels.tarn.fr/ressources/les-expositions-et-conferences/exposition-itinerante-a-nous-les-chemins" target="_blank" rel="noopener noreferrer" class="exhibition-image">
|
||||||
<ul class="category-list">
|
<Image
|
||||||
{sortedCategories.map(cat => (
|
src={exhibitionImage}
|
||||||
<li>
|
alt={exh.imageAlt}
|
||||||
<a href={`${getPhotoAlbumsPath(lang)}/${cat.id.replace(/\.(en|ar)$/, '')}`} class="category-link">
|
width={240}
|
||||||
{cat.data.title}
|
class="exhibition-img"
|
||||||
</a>
|
/>
|
||||||
</li>
|
</a>
|
||||||
))}
|
<div class="exhibition-info">
|
||||||
</ul>
|
<span class="exhibition-label">{exh.label}</span>
|
||||||
|
<h2 class="explore-card-title">{exh.title}</h2>
|
||||||
|
<p class="explore-card-desc">{exh.description}</p>
|
||||||
|
<ul class="venue-list">
|
||||||
|
{exh.venues.map((v) => (
|
||||||
|
<li class="venue-item">
|
||||||
|
<span class="venue-dates">{v.dates}</span>
|
||||||
|
<span class="venue-place">{v.place}</span>
|
||||||
|
</li>
|
||||||
|
))}
|
||||||
|
</ul>
|
||||||
|
<p class="exhibition-vernissage">{exh.vernissage}</p>
|
||||||
|
<p class="exhibition-free">{exh.free}</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="explore-card">
|
<div class="explore-row">
|
||||||
<h2 class="explore-card-title">{t('photo', 'photoFeed', lang)}</h2>
|
<div class="explore-card">
|
||||||
<p class="explore-card-desc">{t('photo', 'feedDescription', lang)}</p>
|
<h2 class="explore-card-title">{t('photo', 'categories', lang)}</h2>
|
||||||
<a href={getPhotoBlogPath(lang)} class="explore-cta">
|
<p class="explore-card-desc">{t('photo', 'browseByTheme', lang)}</p>
|
||||||
{t('photo', 'viewFeed', lang)}
|
<ul class="category-list">
|
||||||
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
{sortedCategories.map(cat => (
|
||||||
<line x1="5" y1="12" x2="19" y2="12"/>
|
<li>
|
||||||
<polyline points="12 5 19 12 12 19"/>
|
<a href={`${getPhotoAlbumsPath(lang)}/${cat.id.replace(/\.(en|ar)$/, '')}`} class="category-link">
|
||||||
</svg>
|
{cat.data.title}
|
||||||
</a>
|
</a>
|
||||||
|
</li>
|
||||||
|
))}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="explore-card">
|
||||||
|
<h2 class="explore-card-title">{t('photo', 'photoFeed', lang)}</h2>
|
||||||
|
<p class="explore-card-desc">{t('photo', 'feedDescription', lang)}</p>
|
||||||
|
<a href={getPhotoBlogPath(lang)} class="explore-cta">
|
||||||
|
{t('photo', 'viewFeed', lang)}
|
||||||
|
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||||||
|
<line x1="5" y1="12" x2="19" y2="12"/>
|
||||||
|
<polyline points="12 5 19 12 12 19"/>
|
||||||
|
</svg>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
@ -69,11 +160,17 @@ const sortedCategories = (await getLocalizedCollection('photoCategories', lang))
|
||||||
|
|
||||||
.explore-content {
|
.explore-content {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
gap: 3rem;
|
gap: 3rem;
|
||||||
max-width: 900px;
|
max-width: 900px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.explore-row {
|
||||||
|
display: flex;
|
||||||
|
gap: 3rem;
|
||||||
|
}
|
||||||
|
|
||||||
.explore-card {
|
.explore-card {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
padding: 2rem;
|
padding: 2rem;
|
||||||
|
|
@ -96,6 +193,82 @@ const sortedCategories = (await getLocalizedCollection('photoCategories', lang))
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Exhibition banner */
|
||||||
|
.exhibition-banner {
|
||||||
|
padding: 2rem;
|
||||||
|
background: rgba(16, 185, 129, 0.08);
|
||||||
|
border: 1px solid rgba(16, 185, 129, 0.2);
|
||||||
|
border-radius: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.exhibition-layout {
|
||||||
|
display: flex;
|
||||||
|
gap: 2rem;
|
||||||
|
align-items: flex-start;
|
||||||
|
}
|
||||||
|
|
||||||
|
.exhibition-image {
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.exhibition-img {
|
||||||
|
border-radius: 10px;
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.exhibition-info {
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.exhibition-label {
|
||||||
|
display: inline-block;
|
||||||
|
padding: 0.25rem 0.7rem;
|
||||||
|
margin-bottom: 0.75rem;
|
||||||
|
font-size: 0.75rem;
|
||||||
|
font-weight: 600;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.05em;
|
||||||
|
color: rgba(16, 185, 129, 0.9);
|
||||||
|
background: rgba(16, 185, 129, 0.15);
|
||||||
|
border-radius: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.venue-list {
|
||||||
|
list-style: none;
|
||||||
|
margin: 0 0 1rem;
|
||||||
|
padding: 0;
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 1fr 1fr;
|
||||||
|
gap: 0.4rem 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.venue-item {
|
||||||
|
font-size: 0.85rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.venue-dates {
|
||||||
|
font-weight: 500;
|
||||||
|
color: rgba(255, 255, 255, 0.85);
|
||||||
|
}
|
||||||
|
|
||||||
|
.venue-place {
|
||||||
|
color: rgba(255, 255, 255, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.exhibition-vernissage {
|
||||||
|
margin: 0 0 0.25rem;
|
||||||
|
font-size: 0.85rem;
|
||||||
|
font-style: italic;
|
||||||
|
color: rgba(16, 185, 129, 0.7);
|
||||||
|
}
|
||||||
|
|
||||||
|
.exhibition-free {
|
||||||
|
margin: 0;
|
||||||
|
font-size: 0.85rem;
|
||||||
|
font-weight: 600;
|
||||||
|
color: rgba(16, 185, 129, 0.9);
|
||||||
|
}
|
||||||
|
|
||||||
.category-list {
|
.category-list {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
@ -146,7 +319,7 @@ const sortedCategories = (await getLocalizedCollection('photoCategories', lang))
|
||||||
padding: 3rem 1.25rem;
|
padding: 3rem 1.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.explore-content {
|
.explore-row {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 2rem;
|
gap: 2rem;
|
||||||
}
|
}
|
||||||
|
|
@ -154,5 +327,23 @@ const sortedCategories = (await getLocalizedCollection('photoCategories', lang))
|
||||||
.explore-card {
|
.explore-card {
|
||||||
padding: 1.5rem;
|
padding: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.exhibition-layout {
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.exhibition-image {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.exhibition-banner {
|
||||||
|
padding: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.venue-list {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -134,9 +134,14 @@ const recommendationCount = (await getCollection("recommendations")).length;
|
||||||
<h3 class="text-2xl font-bold text-slate-900 dark:text-slate-100 mb-3">
|
<h3 class="text-2xl font-bold text-slate-900 dark:text-slate-100 mb-3">
|
||||||
التصوير
|
التصوير
|
||||||
</h3>
|
</h3>
|
||||||
<p class="text-slate-600 dark:text-slate-300 mb-6 leading-relaxed">
|
<p class="text-slate-600 dark:text-slate-300 mb-4 leading-relaxed">
|
||||||
أصوّر كل شيء تقريبًا: وجوه، حفلات، محرّكات، الحياة اليومية. لا تخصّص، مجرّد فضول.
|
أصوّر كل شيء تقريبًا: وجوه، حفلات، محرّكات، الحياة اليومية. لا تخصّص، مجرّد فضول.
|
||||||
</p>
|
</p>
|
||||||
|
<div class="mb-4 px-3 py-2 bg-emerald-50 dark:bg-emerald-950/40 border border-emerald-200/60 dark:border-emerald-800/40 rounded-xl">
|
||||||
|
<p class="text-sm font-medium text-emerald-800 dark:text-emerald-200">
|
||||||
|
معرض متنقل « !الدروب لنا » مع ألبي تادام — أبريل إلى ديسمبر 2026، في التارن
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
<div class="space-y-3">
|
<div class="space-y-3">
|
||||||
<span class="block text-slate-500 dark:text-slate-400 group-hover:text-slate-800 dark:group-hover:text-slate-200 font-medium">
|
<span class="block text-slate-500 dark:text-slate-400 group-hover:text-slate-800 dark:group-hover:text-slate-200 font-medium">
|
||||||
← معرض الصور
|
← معرض الصور
|
||||||
|
|
|
||||||
|
|
@ -134,9 +134,14 @@ const recommendationCount = (await getCollection("recommendations")).length;
|
||||||
<h3 class="text-2xl font-bold text-slate-900 dark:text-slate-100 mb-3">
|
<h3 class="text-2xl font-bold text-slate-900 dark:text-slate-100 mb-3">
|
||||||
Photography
|
Photography
|
||||||
</h3>
|
</h3>
|
||||||
<p class="text-slate-600 dark:text-slate-300 mb-6 leading-relaxed">
|
<p class="text-slate-600 dark:text-slate-300 mb-4 leading-relaxed">
|
||||||
I photograph a bit of everything: faces, concerts, engines, everyday life. No specialty, just curiosity.
|
I photograph a bit of everything: faces, concerts, engines, everyday life. No specialty, just curiosity.
|
||||||
</p>
|
</p>
|
||||||
|
<div class="mb-4 px-3 py-2 bg-emerald-50 dark:bg-emerald-950/40 border border-emerald-200/60 dark:border-emerald-800/40 rounded-xl">
|
||||||
|
<p class="text-sm font-medium text-emerald-800 dark:text-emerald-200">
|
||||||
|
Itinerant exhibition "The Paths Are Ours!" with Albi Tadam — April to December 2026, in the Tarn
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
<div class="space-y-3">
|
<div class="space-y-3">
|
||||||
<span class="block text-slate-500 dark:text-slate-400 group-hover:text-slate-800 dark:group-hover:text-slate-200 font-medium">
|
<span class="block text-slate-500 dark:text-slate-400 group-hover:text-slate-800 dark:group-hover:text-slate-200 font-medium">
|
||||||
→ Photo portfolio
|
→ Photo portfolio
|
||||||
|
|
|
||||||
|
|
@ -134,9 +134,14 @@ const recommendationCount = (await getCollection("recommendations")).length;
|
||||||
<h3 class="text-2xl font-bold text-slate-900 dark:text-slate-100 mb-3">
|
<h3 class="text-2xl font-bold text-slate-900 dark:text-slate-100 mb-3">
|
||||||
Photographie
|
Photographie
|
||||||
</h3>
|
</h3>
|
||||||
<p class="text-slate-600 dark:text-slate-300 mb-6 leading-relaxed">
|
<p class="text-slate-600 dark:text-slate-300 mb-4 leading-relaxed">
|
||||||
Je photographie un peu tout : des visages, des concerts, des moteurs, le quotidien. Pas de spécialité, juste la curiosité.
|
Je photographie un peu tout : des visages, des concerts, des moteurs, le quotidien. Pas de spécialité, juste la curiosité.
|
||||||
</p>
|
</p>
|
||||||
|
<div class="mb-4 px-3 py-2 bg-emerald-50 dark:bg-emerald-950/40 border border-emerald-200/60 dark:border-emerald-800/40 rounded-xl">
|
||||||
|
<p class="text-sm font-medium text-emerald-800 dark:text-emerald-200">
|
||||||
|
Expo itinérante « À nous les chemins ! » avec Albi Tadam — avril à décembre 2026, dans le Tarn
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
<div class="space-y-3">
|
<div class="space-y-3">
|
||||||
<span class="block text-slate-500 dark:text-slate-400 group-hover:text-slate-800 dark:group-hover:text-slate-200 font-medium">
|
<span class="block text-slate-500 dark:text-slate-400 group-hover:text-slate-800 dark:group-hover:text-slate-200 font-medium">
|
||||||
→ Portfolio photo
|
→ Portfolio photo
|
||||||
|
|
@ -151,7 +156,7 @@ const recommendationCount = (await getCollection("recommendations")).length;
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Blog Section
|
<!-- Blog Section
|
||||||
<div class="relative z-20 w-full max-w-6xl mx-auto mt-24 px-7 xl:px-0">
|
<div class="relative z-20 w-full max-w-6xl mx-auto mt-24 px-7 xl:px-0">
|
||||||
<div class="text-center mb-12">
|
<div class="text-center mb-12">
|
||||||
<h2 class="text-3xl font-bold text-neutral-800 dark:text-neutral-200 mb-4">
|
<h2 class="text-3xl font-bold text-neutral-800 dark:text-neutral-200 mb-4">
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue