initial commit
This commit is contained in:
+599
-193
@@ -1,251 +1,657 @@
|
||||
---
|
||||
import BaseLayout from '../layouts/BaseLayout.astro';
|
||||
import LanguageSwitcher from '../components/LanguageSwitcher.astro';
|
||||
import AnchorNav from '../components/AnchorNav.astro';
|
||||
import TheaterSection from '../components/TheaterSection.astro';
|
||||
import PhotoGallery from '../components/PhotoGallery.astro';
|
||||
|
||||
const allPostFiles = import.meta.glob('../../content/blog/*.mdx', { eager: true });
|
||||
const recentPosts = Object.entries(allPostFiles).map(([path, post]) => ({
|
||||
...post,
|
||||
slug: path.split('/').pop()?.replace('.mdx', '') || ''
|
||||
}));
|
||||
const sortedPosts = recentPosts
|
||||
.sort((a, b) => new Date(b.frontmatter.date).valueOf() - new Date(a.frontmatter.date).valueOf())
|
||||
.slice(0, 3);
|
||||
// Import theater homepage content
|
||||
const theaterFiles = import.meta.glob('../../content/theater/*.mdx', { eager: true });
|
||||
const theaterHomepage = Object.values(theaterFiles)[0] as any;
|
||||
const content = theaterHomepage?.frontmatter || {};
|
||||
|
||||
// Helper function to render rich-text content
|
||||
function renderRichText(richText: any, lang: 'de' | 'en'): string {
|
||||
if (!richText || !richText.children) return '';
|
||||
|
||||
let html = '';
|
||||
richText.children.forEach((child: any) => {
|
||||
if (child.type === 'p') {
|
||||
html += '<p>';
|
||||
child.children.forEach((textNode: any) => {
|
||||
if (textNode.type === 'text') {
|
||||
html += textNode.text;
|
||||
}
|
||||
});
|
||||
html += '</p>';
|
||||
} else if (child.type === 'h3') {
|
||||
html += '<h3>';
|
||||
child.children.forEach((textNode: any) => {
|
||||
if (textNode.type === 'text') {
|
||||
html += textNode.text;
|
||||
}
|
||||
});
|
||||
html += '</h3>';
|
||||
}
|
||||
});
|
||||
|
||||
return html;
|
||||
}
|
||||
---
|
||||
|
||||
<BaseLayout title="Home">
|
||||
<BaseLayout title={content.title || 'Freilichttheater Ziefen 2028'}>
|
||||
<!-- Hero Section -->
|
||||
<div class="hero">
|
||||
<div class="container">
|
||||
<h1 class="hero-title">Theater Ziefen</h1>
|
||||
<p class="hero-subtitle">An Unforgettable Theatrical Experience</p>
|
||||
<p class="hero-date">Coming 2029</p>
|
||||
<div class="hero-cta">
|
||||
<a href="/about" class="btn btn-primary">Learn More</a>
|
||||
<a href="/blog" class="btn btn-secondary">Latest Updates</a>
|
||||
<div class="hero-wrapper">
|
||||
<div class="hero-language">
|
||||
<LanguageSwitcher currentLang="de" />
|
||||
</div>
|
||||
|
||||
<img src="/logo.svg" alt="Theater Ziefen Logo" class="hero-logo" />
|
||||
|
||||
<div class="hero-content">
|
||||
<h1 class="hero-title">
|
||||
<span class="title-de" data-lang="de">{content.hero?.title_de || 'Freilichttheater in Ziefen'}</span>
|
||||
<span class="title-en" data-lang="en">{content.hero?.title_en || 'Open-Air Theater in Ziefen'}</span>
|
||||
</h1>
|
||||
<p class="hero-subtitle">
|
||||
<span class="subtitle-de" data-lang="de">{content.hero?.subtitle_de || ''}</span>
|
||||
<span class="subtitle-en" data-lang="en">{content.hero?.subtitle_en || ''}</span>
|
||||
</p>
|
||||
<div class="hero-year">2028</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<section class="intro">
|
||||
<div class="container">
|
||||
<h2>Welcome to Theater Ziefen</h2>
|
||||
<p>
|
||||
We are excited to bring you an exceptional theatrical production in 2029.
|
||||
This website will be your hub for all updates, news, and information about
|
||||
our upcoming show.
|
||||
</p>
|
||||
<p>
|
||||
Stay connected with us through our blog, where we'll share behind-the-scenes
|
||||
insights, production updates, and announcements about ticket sales when they
|
||||
become available.
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
<!-- Anchor Navigation -->
|
||||
<AnchorNav />
|
||||
|
||||
{sortedPosts.length > 0 && (
|
||||
<section class="recent-posts">
|
||||
<div class="container">
|
||||
<h2>Latest Updates</h2>
|
||||
<div class="posts-grid">
|
||||
{sortedPosts.map((post) => (
|
||||
<article class="post-card">
|
||||
<h3>
|
||||
<a href={`/blog/${post.slug}`}>
|
||||
{post.frontmatter.title}
|
||||
</a>
|
||||
</h3>
|
||||
<p class="post-date">
|
||||
{new Date(post.frontmatter.date).toLocaleDateString('de-DE', {
|
||||
year: 'numeric',
|
||||
month: 'long',
|
||||
day: 'numeric'
|
||||
})}
|
||||
</p>
|
||||
<p class="post-excerpt">{post.frontmatter.excerpt}</p>
|
||||
<a href={`/blog/${post.slug}`} class="read-more">
|
||||
Read more →
|
||||
</a>
|
||||
</article>
|
||||
))}
|
||||
</div>
|
||||
<div class="view-all">
|
||||
<a href="/blog" class="btn btn-secondary">View All Posts</a>
|
||||
</div>
|
||||
<!-- Section 1: Das Projekt -->
|
||||
<TheaterSection
|
||||
id="projekt"
|
||||
titleDe={content.projekt?.title_de || 'Das Projekt'}
|
||||
titleEn={content.projekt?.title_en || 'The Project'}
|
||||
variant="light"
|
||||
>
|
||||
<div class="content-de" data-lang="de" set:html={renderRichText(content.projekt?.content_de, 'de')} />
|
||||
<div class="content-en" data-lang="en" set:html={renderRichText(content.projekt?.content_en, 'en')} />
|
||||
</TheaterSection>
|
||||
|
||||
<!-- Section 2: Wer steckt dahinter -->
|
||||
<TheaterSection
|
||||
id="team"
|
||||
titleDe={content.team?.title_de || 'Wer steckt dahinter'}
|
||||
titleEn={content.team?.title_en || "Who's Behind It"}
|
||||
variant="dark"
|
||||
>
|
||||
<div class="content-de" data-lang="de" set:html={renderRichText(content.team?.content_de, 'de')} />
|
||||
<div class="content-en" data-lang="en" set:html={renderRichText(content.team?.content_en, 'en')} />
|
||||
|
||||
{content.team?.organizations && content.team.organizations.length > 0 && (
|
||||
<div class="organizations">
|
||||
{content.team.organizations.map((org: any) => (
|
||||
<div class="org-card">
|
||||
<h3>{org.name}</h3>
|
||||
<p class="org-role-de" data-lang="de">{org.role_de}</p>
|
||||
<p class="org-role-en" data-lang="en">{org.role_en}</p>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</section>
|
||||
)}
|
||||
)}
|
||||
</TheaterSection>
|
||||
|
||||
<!-- Section 3: Das Stück -->
|
||||
<TheaterSection
|
||||
id="stueck"
|
||||
titleDe={content.stueck?.title_de || 'Das Stück'}
|
||||
titleEn={content.stueck?.title_en || 'The Play'}
|
||||
variant="light"
|
||||
>
|
||||
<div class="content-de" data-lang="de" set:html={renderRichText(content.stueck?.content_de, 'de')} />
|
||||
<div class="content-en" data-lang="en" set:html={renderRichText(content.stueck?.content_en, 'en')} />
|
||||
</TheaterSection>
|
||||
|
||||
<!-- Section 4: Mitwirkung -->
|
||||
<TheaterSection
|
||||
id="mitwirkung"
|
||||
titleDe={content.mitwirkung?.title_de || 'Mitwirkung im Schauspiel'}
|
||||
titleEn={content.mitwirkung?.title_en || 'Participation in the Play'}
|
||||
variant="dark"
|
||||
>
|
||||
<div class="content-de" data-lang="de" set:html={renderRichText(content.mitwirkung?.content_de, 'de')} />
|
||||
<div class="content-en" data-lang="en" set:html={renderRichText(content.mitwirkung?.content_en, 'en')} />
|
||||
|
||||
{content.mitwirkung?.director_name && (
|
||||
<div class="director-contact">
|
||||
<h3>
|
||||
<span data-lang="de">Kontakt Regisseur:</span>
|
||||
<span data-lang="en">Contact Director:</span>
|
||||
</h3>
|
||||
<p><strong>{content.mitwirkung.director_name}</strong></p>
|
||||
{content.mitwirkung.director_email && (
|
||||
<p>
|
||||
<span data-lang="de">E-Mail:</span>
|
||||
<span data-lang="en">Email:</span>
|
||||
{' '}
|
||||
<a href={`mailto:${content.mitwirkung.director_email}`}>{content.mitwirkung.director_email}</a>
|
||||
</p>
|
||||
)}
|
||||
{content.mitwirkung.director_phone && (
|
||||
<p>
|
||||
<span data-lang="de">Telefon:</span>
|
||||
<span data-lang="en">Phone:</span>
|
||||
{' '}
|
||||
<a href={`tel:${content.mitwirkung.director_phone}`}>{content.mitwirkung.director_phone}</a>
|
||||
</p>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
</TheaterSection>
|
||||
|
||||
<!-- Section 5: Termine -->
|
||||
<TheaterSection
|
||||
id="termine"
|
||||
titleDe={content.termine?.title_de || 'Termine'}
|
||||
titleEn={content.termine?.title_en || 'Schedule'}
|
||||
variant="light"
|
||||
>
|
||||
<div class="map-subtitle">
|
||||
<span data-lang="de">Weite Wege mit Breitenstein</span>
|
||||
<span data-lang="en">Long Paths with Breitenstein</span>
|
||||
</div>
|
||||
{content.termine?.events && content.termine.events.length > 0 && (
|
||||
<div class="journey-map">
|
||||
<svg class="journey-path" viewBox="0 0 1000 1000" preserveAspectRatio="xMidYMid meet">
|
||||
<path
|
||||
d="M 50,30 C 150,80 350,150 550,200 S 350,290 100,380 S 300,470 600,560 S 350,670 150,740 S 350,850 550,920"
|
||||
fill="none"
|
||||
stroke="var(--color-accent)"
|
||||
stroke-width="4"
|
||||
stroke-dasharray="15,10"
|
||||
opacity="0.7"
|
||||
/>
|
||||
</svg>
|
||||
{content.termine.events.map((event: any, index: number) => (
|
||||
<div class="journey-stop" style={`--stop-index: ${index}`} data-stop={index + 1}>
|
||||
<div class="journey-marker">
|
||||
<div class="marker-pin"></div>
|
||||
<div class="marker-label">{event.date}</div>
|
||||
</div>
|
||||
<div class="journey-card">
|
||||
<h3 class="event-title">
|
||||
<span class="event-title-de" data-lang="de">{event.title_de}</span>
|
||||
<span class="event-title-en" data-lang="en">{event.title_en}</span>
|
||||
</h3>
|
||||
<p class="event-desc-de" data-lang="de">{event.description_de}</p>
|
||||
<p class="event-desc-en" data-lang="en">{event.description_en}</p>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
)}
|
||||
</TheaterSection>
|
||||
|
||||
<!-- Section 6: Presse -->
|
||||
<TheaterSection
|
||||
id="presse"
|
||||
titleDe={content.presse?.title_de || 'Presse'}
|
||||
titleEn={content.presse?.title_en || 'Press'}
|
||||
variant="dark"
|
||||
>
|
||||
<div class="content-de" data-lang="de" set:html={renderRichText(content.presse?.content_de, 'de')} />
|
||||
<div class="content-en" data-lang="en" set:html={renderRichText(content.presse?.content_en, 'en')} />
|
||||
</TheaterSection>
|
||||
|
||||
<!-- Section 7: Foto Galerie -->
|
||||
<TheaterSection
|
||||
id="gallery"
|
||||
titleDe={content.gallery?.title_de || 'Foto Galerie'}
|
||||
titleEn={content.gallery?.title_en || 'Photo Gallery'}
|
||||
variant="light"
|
||||
>
|
||||
<PhotoGallery images={content.gallery?.images || []} />
|
||||
</TheaterSection>
|
||||
|
||||
<!-- Section 8: Tickets -->
|
||||
<TheaterSection
|
||||
id="tickets"
|
||||
titleDe={content.tickets?.title_de || 'Tickets'}
|
||||
titleEn={content.tickets?.title_en || 'Tickets'}
|
||||
variant="dark"
|
||||
>
|
||||
<div class="content-de" data-lang="de" set:html={renderRichText(content.tickets?.content_de, 'de')} />
|
||||
<div class="content-en" data-lang="en" set:html={renderRichText(content.tickets?.content_en, 'en')} />
|
||||
|
||||
{content.tickets?.ticket_url && (
|
||||
<div class="ticket-cta">
|
||||
<a href={content.tickets.ticket_url} class="btn btn-primary" target="_blank" rel="noopener noreferrer">
|
||||
<span data-lang="de">Tickets kaufen</span>
|
||||
<span data-lang="en">Buy Tickets</span>
|
||||
</a>
|
||||
</div>
|
||||
)}
|
||||
</TheaterSection>
|
||||
</BaseLayout>
|
||||
|
||||
<style>
|
||||
/* Hero Section */
|
||||
.hero {
|
||||
background: linear-gradient(135deg, #2c3e50 0%, #8b0000 100%);
|
||||
background: #2b2b56;
|
||||
color: white;
|
||||
padding: 6rem 0;
|
||||
text-align: center;
|
||||
padding: 3rem 0 6rem;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
min-height: 500px;
|
||||
}
|
||||
|
||||
.hero-wrapper {
|
||||
position: relative;
|
||||
min-height: 400px;
|
||||
}
|
||||
|
||||
.hero-language {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.hero-logo {
|
||||
position: absolute;
|
||||
top: -40px;
|
||||
right: -60px;
|
||||
height: 500px;
|
||||
width: auto;
|
||||
opacity: 0.95;
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
.hero-content {
|
||||
position: relative;
|
||||
z-index: 8;
|
||||
max-width: 850px;
|
||||
padding-top: 4rem;
|
||||
padding-left: 3rem;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.hero-title {
|
||||
font-size: 3.5rem;
|
||||
font-weight: 800;
|
||||
margin-bottom: 1rem;
|
||||
font-size: 4.5rem;
|
||||
font-weight: 400;
|
||||
margin-bottom: 1.5rem;
|
||||
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.hero-subtitle {
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 0.5rem;
|
||||
font-size: 1.3rem;
|
||||
line-height: 1.6;
|
||||
margin-bottom: 2rem;
|
||||
opacity: 0.95;
|
||||
}
|
||||
|
||||
.hero-date {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
color: #ffd700;
|
||||
margin-bottom: 2rem;
|
||||
.hero-year {
|
||||
font-family: 'Great Vibes', cursive;
|
||||
font-size: 6rem;
|
||||
font-weight: 400;
|
||||
color: var(--color-accent);
|
||||
text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.hero-cta {
|
||||
/* Language-specific content */
|
||||
:global([data-language="de"]) .title-en,
|
||||
:global([data-language="de"]) .subtitle-en,
|
||||
:global([data-language="de"]) .content-en,
|
||||
:global([data-language="de"]) .org-role-en,
|
||||
:global([data-language="de"]) .event-title-en,
|
||||
:global([data-language="de"]) .event-desc-en,
|
||||
:global([data-language="de"]) [data-lang="en"] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
:global([data-language="en"]) .title-de,
|
||||
:global([data-language="en"]) .subtitle-de,
|
||||
:global([data-language="en"]) .content-de,
|
||||
:global([data-language="en"]) .org-role-de,
|
||||
:global([data-language="en"]) .event-title-de,
|
||||
:global([data-language="en"]) .event-desc-de,
|
||||
:global([data-language="en"]) [data-lang="de"] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Organizations Grid */
|
||||
.organizations {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||||
gap: var(--spacing-md);
|
||||
margin-top: var(--spacing-lg);
|
||||
}
|
||||
|
||||
.org-card {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
padding: var(--spacing-md);
|
||||
border-radius: 8px;
|
||||
text-align: center;
|
||||
transition: transform 0.3s ease, background 0.3s ease;
|
||||
}
|
||||
|
||||
.org-card:hover {
|
||||
transform: translateY(-5px);
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
}
|
||||
|
||||
.org-card h3 {
|
||||
font-family: 'Great Vibes', cursive;
|
||||
font-size: 2rem;
|
||||
margin-bottom: 0.5rem;
|
||||
color: white;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.org-card p {
|
||||
margin: 0;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
/* Director Contact */
|
||||
.director-contact {
|
||||
margin-top: var(--spacing-lg);
|
||||
padding: var(--spacing-md);
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
border-radius: 8px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.director-contact h3 {
|
||||
font-family: 'Great Vibes', cursive;
|
||||
font-size: 2rem;
|
||||
color: white;
|
||||
margin-bottom: 1rem;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.director-contact a {
|
||||
color: var(--color-accent);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.director-contact a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* Journey Map */
|
||||
.map-subtitle {
|
||||
font-family: 'Great Vibes', cursive;
|
||||
font-size: 2.5rem;
|
||||
text-align: center;
|
||||
color: var(--color-accent);
|
||||
margin-bottom: var(--spacing-lg);
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.journey-map {
|
||||
position: relative;
|
||||
margin-top: var(--spacing-xl);
|
||||
padding: 2rem 0;
|
||||
min-height: 1400px;
|
||||
}
|
||||
|
||||
.journey-path {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 1;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.journey-stop {
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
align-items: flex-start;
|
||||
gap: 3rem;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.journey-stop[data-stop="2"],
|
||||
.journey-stop[data-stop="3"],
|
||||
.journey-stop[data-stop="5"],
|
||||
.journey-stop[data-stop="6"] {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* Position stops in structured layout - path will follow these */
|
||||
.journey-stop[data-stop="1"] {
|
||||
top: 3%;
|
||||
left: 5%;
|
||||
}
|
||||
|
||||
.journey-stop[data-stop="2"] {
|
||||
top: 20%;
|
||||
left: 55%;
|
||||
flex-direction: row-reverse;
|
||||
}
|
||||
|
||||
.journey-stop[data-stop="3"] {
|
||||
top: 38%;
|
||||
left: 10%;
|
||||
}
|
||||
|
||||
.journey-stop[data-stop="4"] {
|
||||
top: 56%;
|
||||
left: 60%;
|
||||
flex-direction: row-reverse;
|
||||
}
|
||||
|
||||
.journey-stop[data-stop="5"] {
|
||||
top: 74%;
|
||||
left: 15%;
|
||||
}
|
||||
|
||||
.journey-stop[data-stop="6"] {
|
||||
top: 92%;
|
||||
left: 55%;
|
||||
flex-direction: row-reverse;
|
||||
}
|
||||
|
||||
.journey-marker {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
min-width: 120px;
|
||||
}
|
||||
|
||||
.marker-pin {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
background: var(--color-accent);
|
||||
border-radius: 50%;
|
||||
border: 4px solid white;
|
||||
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.marker-pin::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: -15px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 10px solid transparent;
|
||||
border-right: 10px solid transparent;
|
||||
border-top: 15px solid var(--color-accent);
|
||||
}
|
||||
|
||||
.marker-label {
|
||||
margin-top: 1.5rem;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 700;
|
||||
color: var(--color-accent);
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.journey-card {
|
||||
flex: 1;
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
padding: var(--spacing-md);
|
||||
border-radius: 12px;
|
||||
backdrop-filter: blur(10px);
|
||||
border: 2px solid rgba(255, 255, 255, 0.2);
|
||||
transition: all 0.3s ease;
|
||||
max-width: 500px;
|
||||
}
|
||||
|
||||
.journey-card:hover {
|
||||
transform: translateY(-5px);
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.journey-card h3 {
|
||||
font-family: 'Great Vibes', cursive;
|
||||
font-size: 2rem;
|
||||
margin-bottom: 0.5rem;
|
||||
color: white;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.journey-card p {
|
||||
margin: 0;
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
/* Ticket CTA */
|
||||
.ticket-cta {
|
||||
margin-top: var(--spacing-lg);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.btn {
|
||||
padding: 0.75rem 2rem;
|
||||
border-radius: 4px;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
transition: all 0.3s ease;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background-color: #c0392b;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
background-color: #8b0000;
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.btn-secondary {
|
||||
background-color: white;
|
||||
color: #2c3e50;
|
||||
}
|
||||
|
||||
.btn-secondary:hover {
|
||||
background-color: #f8f9fa;
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.intro {
|
||||
padding: 4rem 0;
|
||||
background-color: #f8f9fa;
|
||||
}
|
||||
|
||||
.intro h2 {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 1.5rem;
|
||||
color: #2c3e50;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.intro p {
|
||||
font-size: 1.125rem;
|
||||
line-height: 1.8;
|
||||
max-width: 800px;
|
||||
margin: 0 auto 1rem;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.recent-posts {
|
||||
padding: 4rem 0;
|
||||
}
|
||||
|
||||
.recent-posts h2 {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 2rem;
|
||||
color: #2c3e50;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.posts-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
gap: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.post-card {
|
||||
background: white;
|
||||
padding: 2rem;
|
||||
padding: 1rem 2.5rem;
|
||||
background: var(--color-accent);
|
||||
color: var(--color-secondary);
|
||||
text-decoration: none;
|
||||
font-weight: 700;
|
||||
font-size: 1.2rem;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
||||
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
||||
transition: all 0.3s ease;
|
||||
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.post-card:hover {
|
||||
transform: translateY(-4px);
|
||||
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
|
||||
.btn:hover {
|
||||
transform: translateY(-3px);
|
||||
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
|
||||
background: #fbfa9a;
|
||||
}
|
||||
|
||||
.post-card h3 {
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.post-card h3 a {
|
||||
color: #2c3e50;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.post-card h3 a:hover {
|
||||
color: #8b0000;
|
||||
}
|
||||
|
||||
.post-date {
|
||||
color: #999;
|
||||
font-size: 0.9rem;
|
||||
/* Content Styling */
|
||||
:global(.section-content p) {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.post-excerpt {
|
||||
color: #666;
|
||||
line-height: 1.6;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.read-more {
|
||||
color: #8b0000;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.read-more:hover {
|
||||
color: #c0392b;
|
||||
}
|
||||
|
||||
.view-all {
|
||||
text-align: center;
|
||||
margin-top: 2rem;
|
||||
:global(.section-content h3) {
|
||||
font-size: 1.8rem;
|
||||
margin: 1.5rem 0 1rem;
|
||||
}
|
||||
|
||||
/* Mobile Responsiveness */
|
||||
@media (max-width: 768px) {
|
||||
.hero {
|
||||
padding: 2rem 0 4rem;
|
||||
min-height: 400px;
|
||||
}
|
||||
|
||||
.hero-wrapper {
|
||||
min-height: 350px;
|
||||
}
|
||||
|
||||
.hero-language {
|
||||
position: static;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.hero-logo {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: -30px;
|
||||
height: 200px;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.hero-content {
|
||||
padding-top: 3rem;
|
||||
padding-left: 1rem;
|
||||
max-width: 100%;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.hero-title {
|
||||
font-size: 2.5rem;
|
||||
font-size: 2.8rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.hero-subtitle {
|
||||
font-size: 1.25rem;
|
||||
font-size: 1.1rem;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.intro h2,
|
||||
.recent-posts h2 {
|
||||
.hero-year {
|
||||
font-size: 4rem;
|
||||
}
|
||||
|
||||
.organizations {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
/* Journey Map Mobile */
|
||||
.map-subtitle {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.posts-grid {
|
||||
grid-template-columns: 1fr;
|
||||
.journey-map {
|
||||
min-height: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--spacing-lg);
|
||||
}
|
||||
|
||||
.journey-path {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.journey-stop {
|
||||
position: relative !important;
|
||||
top: auto !important;
|
||||
left: auto !important;
|
||||
flex-direction: column !important;
|
||||
text-align: left !important;
|
||||
}
|
||||
|
||||
.journey-marker {
|
||||
min-width: auto;
|
||||
align-self: flex-start;
|
||||
}
|
||||
|
||||
.marker-label {
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.journey-card {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.journey-card h3 {
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user