File tree Expand file tree Collapse file tree 2 files changed +65
-0
lines changed
Expand file tree Collapse file tree 2 files changed +65
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ // TODO: Make this banner configurable through a config file or CMS
3+ // Consider adding fields for:
4+ // - Banner text
5+ // - Link URL
6+ // - Enable/disable flag
7+ // - Expiration date
8+ // - Background color/theme
9+ ---
10+
11+ <div class =" release-banner" >
12+ <a href =" https://aep.dev/blog/aep-2026-release/" target =" _blank" rel =" noopener noreferrer" >
13+ 🎉 aep-2026 has officially been released 🎉
14+ </a >
15+ </div >
16+
17+ <style >
18+ .release-banner {
19+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
20+ box-shadow: var(--sl-shadow-md);
21+ margin-bottom: 2rem;
22+ padding: 1rem 2rem;
23+ text-align: center;
24+ border-radius: 0.5rem;
25+ animation: fadeIn 0.5s ease-in;
26+ }
27+
28+ .release-banner a {
29+ color: white;
30+ text-decoration: none;
31+ font-size: 1.25rem;
32+ font-weight: 600;
33+ display: block;
34+ transition: opacity 0.2s ease;
35+ }
36+
37+ .release-banner a:hover {
38+ opacity: 0.9;
39+ text-decoration: underline;
40+ }
41+
42+ @keyframes fadeIn {
43+ from {
44+ opacity: 0;
45+ transform: translateY(-10px);
46+ }
47+ to {
48+ opacity: 1;
49+ transform: translateY(0);
50+ }
51+ }
52+
53+ @media (max-width: 768px) {
54+ .release-banner a {
55+ font-size: 1rem;
56+ }
57+
58+ .release-banner {
59+ padding: 0.75rem 1rem;
60+ }
61+ }
62+ </style >
Original file line number Diff line number Diff line change 1919---
2020
2121import { Card , CardGrid , LinkButton } from " @astrojs/starlight/components" ;
22+ import ReleaseBanner from " ../../components/ReleaseBanner.astro" ;
23+
24+ <ReleaseBanner />
2225
2326<CardGrid >
2427 <Card title = " Rigorous API design guidelines" icon = " open-book" class = " flex flex-col h-full" >
You can’t perform that action at this time.
0 commit comments