Add dates/events section — loads from schedule webhook, shows cards with date/time

This commit is contained in:
Kato
2026-09-05 13:42:44 +00:00
parent 3df23371cf
commit f594543daa
3 changed files with 168 additions and 1 deletions
+75 -1
View File
@@ -368,7 +368,81 @@ body {
}
/* ========================================
HERO — Focal Motion
DATES / EVENTS
*/
.dates-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 20px;
margin-top: 30px;
}
.date-card {
background: #fff;
border-radius: 12px;
padding: 24px;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
border-left: 4px solid #0088cc;
}
.date-card:hover {
transform: translateY(-4px);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.date-header {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 16px;
}
.date-icon {
width: 44px;
height: 44px;
background: linear-gradient(135deg, #0088cc, #006699);
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 20px;
flex-shrink: 0;
}
.date-headline {
font-size: 17px;
font-weight: 700;
color: #1a1a2e;
margin: 0;
}
.date-info {
display: flex;
flex-direction: column;
gap: 8px;
}
.date-row {
display: flex;
align-items: center;
gap: 8px;
font-size: 14px;
color: #555;
}
.date-row svg {
width: 16px;
height: 16px;
fill: #0088cc;
flex-shrink: 0;
}
.no-events {
grid-column: 1 / -1;
text-align: center;
padding: 40px;
color: #888;
font-size: 15px;
}
/* ========================================
HERO — Focal Motion
======================================== */
.hero {
min-height: 500px;