482 lines
19 KiB
XML
482 lines
19 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<template id="events_page_template" name="Events Page">
|
|
<t t-call="website.layout">
|
|
<t t-set="no_header" t-value="True"/>
|
|
<t t-set="no_footer" t-value="True"/>
|
|
<style>
|
|
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');
|
|
|
|
/* Hide Header and Footer Forcefully as requested */
|
|
header, footer, #bottom, #top_menu, .o_header_standard {
|
|
display: none !important;
|
|
}
|
|
|
|
body {
|
|
background-color: rgba(232, 217, 249, 1) !important;
|
|
}
|
|
|
|
.events-page-wrapper {
|
|
background-color: rgba(232, 217, 249, 1);
|
|
min-height: 100vh;
|
|
font-family: 'Inter', sans-serif;
|
|
padding-bottom: 100px;
|
|
}
|
|
|
|
/* Header Area */
|
|
.events-hero {
|
|
position: relative;
|
|
padding: 60px 5% 40px 5%;
|
|
overflow: hidden;
|
|
background: white url("/dance_new_theme/static/src/img/hero_bg.png") no-repeat center center;
|
|
background-size: cover;
|
|
border-radius: 0 0 40px 40px;
|
|
box-shadow: 0 10px 30px rgba(112, 34, 186, 0.04);
|
|
}
|
|
|
|
.header-content {
|
|
position: relative;
|
|
z-index: 2;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 25px;
|
|
max-width: 1400px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.hero-dancer-img {
|
|
position: absolute;
|
|
right: 8%;
|
|
bottom: -10px;
|
|
height: 130%;
|
|
max-height: 260px;
|
|
object-fit: contain;
|
|
z-index: 1;
|
|
pointer-events: none;
|
|
filter: drop-shadow(0 10px 20px rgba(112, 34, 186, 0.15));
|
|
}
|
|
|
|
@media (max-width: 992px) {
|
|
.hero-dancer-img {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.header-icon-box {
|
|
width: 76px;
|
|
height: 76px;
|
|
background: white;
|
|
border-radius: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 34px;
|
|
color: #5b21b6;
|
|
box-shadow: 0 10px 30px rgba(91, 33, 182, 0.08);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.header-text-box h1 {
|
|
font-family: 'Playfair Display', serif;
|
|
font-size: 52px;
|
|
font-weight: 700;
|
|
color: #0f172a;
|
|
margin-bottom: 15px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.header-text-box h1 .amp {
|
|
color: #7c3aed;
|
|
margin: 0 12px;
|
|
}
|
|
|
|
.header-text-box p {
|
|
font-size: 18px;
|
|
color: #475569;
|
|
line-height: 1.6;
|
|
max-width: 500px;
|
|
margin: 0;
|
|
}
|
|
|
|
.sparkle-icon {
|
|
color: #8b5cf6;
|
|
font-size: 24px;
|
|
margin-left: 5px;
|
|
transform: translateY(-15px);
|
|
}
|
|
|
|
/* Filters Area */
|
|
.filters-container {
|
|
max-width: 1400px;
|
|
margin: 20px auto 40px auto;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
flex-wrap: nowrap; /* Force single row */
|
|
gap: 20px;
|
|
padding: 0 5%;
|
|
align-items: center;
|
|
}
|
|
|
|
.filter-group {
|
|
display: flex;
|
|
gap: 12px;
|
|
flex-wrap: nowrap; /* Force buttons to stay in line */
|
|
}
|
|
|
|
.filter-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px 24px;
|
|
border-radius: 30px;
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
text-decoration: none !important;
|
|
white-space: nowrap; /* Prevent text wrap inside button */
|
|
}
|
|
|
|
.filter-btn-outline {
|
|
background: white;
|
|
color: #4b5563;
|
|
border: 1px solid #e2e8f0;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.02);
|
|
}
|
|
|
|
.filter-btn-outline:hover {
|
|
border-color: #8b5cf6;
|
|
color: #6d28d9;
|
|
}
|
|
|
|
.filter-btn-active {
|
|
background: #7c3aed;
|
|
color: white;
|
|
border: 1px solid #7c3aed;
|
|
box-shadow: 0 6px 15px rgba(124, 58, 237, 0.25);
|
|
}
|
|
|
|
.filter-btn-active:hover {
|
|
background: #6d28d9;
|
|
color: white;
|
|
}
|
|
|
|
.filter-btn i {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.divider-line {
|
|
width: 1px;
|
|
height: 30px;
|
|
background: #cbd5e1;
|
|
margin: 0 10px;
|
|
align-self: center;
|
|
}
|
|
|
|
/* Events Grid */
|
|
.events-grid {
|
|
max-width: 1400px;
|
|
margin: 0 auto;
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr); /* Force exactly 4 columns in one row */
|
|
gap: 20px;
|
|
padding: 0 5%;
|
|
}
|
|
|
|
.event-card {
|
|
background: white;
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
box-shadow: 0 4px 20px rgba(0,0,0,0.03);
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
display: flex;
|
|
flex-direction: column;
|
|
border: 1px solid #f1f5f9;
|
|
}
|
|
|
|
.event-card:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 12px 30px rgba(109, 40, 217, 0.08);
|
|
}
|
|
|
|
.event-image-wrapper {
|
|
position: relative;
|
|
height: 180px;
|
|
width: 100%;
|
|
}
|
|
|
|
.event-image-wrapper img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.event-badge {
|
|
position: absolute;
|
|
top: 15px;
|
|
left: 15px;
|
|
padding: 6px 14px;
|
|
border-radius: 20px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: white;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
box-shadow: 0 4px 10px rgba(0,0,0,0.15);
|
|
}
|
|
|
|
.badge-competition { background: #6d28d9; }
|
|
.badge-workshop { background: #f59e0b; }
|
|
.badge-recital { background: #be185d; }
|
|
.badge-annual { background: #3b82f6; }
|
|
|
|
.event-card-body {
|
|
padding: 24px;
|
|
flex-grow: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.event-card-title {
|
|
font-family: 'Playfair Display', serif;
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
color: #0f172a;
|
|
margin: 0 0 16px 0;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.event-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-size: 13px;
|
|
color: #64748b;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.event-meta i {
|
|
color: #8b5cf6;
|
|
font-size: 15px;
|
|
width: 16px;
|
|
text-align: center;
|
|
}
|
|
|
|
.event-desc {
|
|
font-size: 14px;
|
|
color: #475569;
|
|
line-height: 1.6;
|
|
margin: 16px 0 24px 0;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.event-btn {
|
|
display: block;
|
|
width: 100%;
|
|
text-align: center;
|
|
padding: 12px 0;
|
|
border: 1px solid #e9d5ff;
|
|
background: white;
|
|
color: #6d28d9;
|
|
border-radius: 8px;
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
text-decoration: none !important;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.event-btn:hover {
|
|
background: #fdfaef;
|
|
border-color: #d8b4fe;
|
|
color: #5b21b6;
|
|
box-shadow: 0 4px 10px rgba(109, 40, 217, 0.05);
|
|
}
|
|
|
|
/* Responsive Design for Tablets and Mobile */
|
|
@media (max-width: 1024px) {
|
|
.events-grid {
|
|
grid-template-columns: repeat(2, 1fr); /* 2 cards per row on tablet */
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.header-content {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
}
|
|
.header-text-box h1 {
|
|
font-size: 36px;
|
|
justify-content: center;
|
|
}
|
|
.header-text-box p {
|
|
font-size: 16px;
|
|
}
|
|
.filters-container {
|
|
overflow-x: auto; /* Enable horizontal scroll for filters on mobile */
|
|
-webkit-overflow-scrolling: touch;
|
|
padding-bottom: 15px;
|
|
}
|
|
/* Hide scrollbar for a cleaner look */
|
|
.filters-container::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
.filters-container {
|
|
-ms-overflow-style: none; /* IE and Edge */
|
|
scrollbar-width: none; /* Firefox */
|
|
}
|
|
.events-grid {
|
|
grid-template-columns: 1fr; /* 1 card per row on mobile */
|
|
gap: 30px;
|
|
}
|
|
}
|
|
</style>
|
|
|
|
<div id="wrap" class="oe_structure oe_empty events-page-wrapper">
|
|
|
|
<!-- Hero Section -->
|
|
<section class="events-hero">
|
|
<div class="header-content">
|
|
<div class="header-icon-box">
|
|
<i class="fa fa-calendar-check-o"></i>
|
|
</div>
|
|
<div class="header-text-box">
|
|
<h1>
|
|
Events <span class="amp">&</span> Performances
|
|
<i class="fa fa-star sparkle-icon"></i>
|
|
</h1>
|
|
<p>
|
|
Discover upcoming competitions, workshops, recitals and academy showcases.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<img src="/dance_new_theme/static/src/img/hero_img.png" class="hero-dancer-img" alt="Dancer Silhouette"/>
|
|
</section>
|
|
|
|
<!-- Filters Section -->
|
|
<section class="filters-container">
|
|
<div class="filter-group">
|
|
<a href="#" class="filter-btn filter-btn-active">
|
|
<i class="fa fa-th-large"></i> All Events
|
|
</a>
|
|
<a href="#" class="filter-btn filter-btn-outline">
|
|
<i class="fa fa-trophy"></i> Competition
|
|
</a>
|
|
<a href="#" class="filter-btn filter-btn-outline">
|
|
<i class="fa fa-television"></i> Workshop
|
|
</a>
|
|
<a href="#" class="filter-btn filter-btn-outline">
|
|
<i class="fa fa-street-view"></i> Recital
|
|
</a>
|
|
<a href="#" class="filter-btn filter-btn-outline">
|
|
<i class="fa fa-calendar-o"></i> Annual Day
|
|
</a>
|
|
</div>
|
|
|
|
<div class="divider-line d-none d-xl-block"></div>
|
|
|
|
<div class="filter-group">
|
|
<a href="#" class="filter-btn filter-btn-active">
|
|
<i class="fa fa-calendar"></i> Upcoming
|
|
</a>
|
|
<a href="#" class="filter-btn filter-btn-outline">
|
|
<i class="fa fa-history"></i> Completed
|
|
</a>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Events Grid -->
|
|
<section class="events-grid">
|
|
|
|
<!-- Card 1 -->
|
|
<div class="event-card">
|
|
<div class="event-image-wrapper">
|
|
<span class="event-badge badge-competition">Competition</span>
|
|
<img src="https://images.unsplash.com/photo-1508700115892-45ecd05ae2ad?auto=format&fit=crop&w=600&q=80" alt="Winter Showcase"/>
|
|
</div>
|
|
<div class="event-card-body">
|
|
<h3 class="event-card-title">Winter Showcase 2026</h3>
|
|
<div class="event-meta">
|
|
<i class="fa fa-calendar"></i> 15 Jan 2026 • Friday
|
|
</div>
|
|
<div class="event-meta">
|
|
<i class="fa fa-map-marker"></i> Chennai Auditorium
|
|
</div>
|
|
<p class="event-desc">
|
|
An exciting inter-academy competition featuring various dance styles.
|
|
</p>
|
|
<a href="#" class="event-btn">View Details <i class="fa fa-arrow-right ms-1"></i></a>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Card 2 -->
|
|
<div class="event-card">
|
|
<div class="event-image-wrapper">
|
|
<span class="event-badge badge-workshop">Workshop</span>
|
|
<img src="https://images.unsplash.com/photo-1547153760-18fc86324498?auto=format&fit=crop&w=600&q=80" alt="Masterclass"/>
|
|
</div>
|
|
<div class="event-card-body">
|
|
<h3 class="event-card-title">Contemporary Dance Masterclass</h3>
|
|
<div class="event-meta">
|
|
<i class="fa fa-calendar"></i> 22 Feb 2026 • Sunday
|
|
</div>
|
|
<div class="event-meta">
|
|
<i class="fa fa-map-marker"></i> Studio Hall A
|
|
</div>
|
|
<p class="event-desc">
|
|
A specialized workshop to enhance your contemporary dance techniques.
|
|
</p>
|
|
<a href="#" class="event-btn">View Details <i class="fa fa-arrow-right ms-1"></i></a>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Card 3 -->
|
|
<div class="event-card">
|
|
<div class="event-image-wrapper">
|
|
<span class="event-badge badge-recital">Recital</span>
|
|
<img src="https://images.unsplash.com/photo-1623018035782-b269248d2899?auto=format&fit=crop&w=600&q=80" alt="Recital"/>
|
|
</div>
|
|
<div class="event-card-body">
|
|
<h3 class="event-card-title">Bharatanatyam Arangetram</h3>
|
|
<div class="event-meta">
|
|
<i class="fa fa-calendar"></i> 05 Mar 2026 • Thursday
|
|
</div>
|
|
<div class="event-meta">
|
|
<i class="fa fa-map-marker"></i> Nritya Main Stage
|
|
</div>
|
|
<p class="event-desc">
|
|
A graceful solo recital presentation by our senior student.
|
|
</p>
|
|
<a href="#" class="event-btn">View Details <i class="fa fa-arrow-right ms-1"></i></a>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Card 4 -->
|
|
<div class="event-card">
|
|
<div class="event-image-wrapper">
|
|
<span class="event-badge badge-annual">Annual Day</span>
|
|
<img src="https://images.unsplash.com/photo-1514306191717-452ec28c7814?auto=format&fit=crop&w=600&q=80" alt="Annual Day"/>
|
|
</div>
|
|
<div class="event-card-body">
|
|
<h3 class="event-card-title">Annual Day Celebration</h3>
|
|
<div class="event-meta">
|
|
<i class="fa fa-calendar"></i> 25 Apr 2026 • Saturday
|
|
</div>
|
|
<div class="event-meta">
|
|
<i class="fa fa-map-marker"></i> Grand Convention Hall
|
|
</div>
|
|
<p class="event-desc">
|
|
A grand celebration showcasing the talent and dedication of our dancers.
|
|
</p>
|
|
<a href="#" class="event-btn">View Details <i class="fa fa-arrow-right ms-1"></i></a>
|
|
</div>
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
</t>
|
|
</template>
|
|
</odoo>
|