11import './style.scss' ;
2- import hpLogo from 'res/hp -logo.png' ;
2+ import shellularLogo from 'res/shellular -logo.png' ;
33
44const BANNERS = [
5+ {
6+ id : 'shellular' ,
7+ logo : shellularLogo ,
8+ url : 'https://shellular.dev' ,
9+ alt : 'Shellular' ,
10+ badge : 'NEW' ,
11+ mobileTitle : 'Shellular - Remote control for your AI agents & terminals' ,
12+ title : 'Try Shellular' ,
13+ subtitle : 'Access your Codex, Claude Code, OpenCode, terminals, files, and ports from your phone.' ,
14+ cta : 'Get now' ,
15+ theme : 'shellular' ,
16+ } ,
517 {
618 id : 'betterkeep' ,
719 logo : 'https://betterkeep.app/icons/logo.png' ,
820 url : 'https://betterkeep.app/welcome?utm_source=acode_announcement_banner' ,
921 alt : 'Better Keep Notes' ,
1022 badge : 'NEW' ,
23+ mobileTitle : 'Better Keep Notes - Secure & Private' ,
1124 title : 'Introducing Better Keep Notes' ,
1225 subtitle : 'A beautiful, private note-taking app. Try it free!' ,
1326 cta : 'Learn More' ,
1427 theme : 'betterkeep' ,
1528 } ,
16- {
17- id : 'hangingpiece' ,
18- logo : hpLogo ,
19- url : 'https://www.hangingpiece.com?utm_source=acode_announcement_banner' ,
20- alt : 'Hanging Piece' ,
21- badge : 'NEW' ,
22- title : 'Hanging Piece - Claude Code for Chess' ,
23- subtitle : 'Understand WHY you blundered and HOW to improve!' ,
24- cta : 'Try Now' ,
25- theme : 'hangingpiece' ,
26- } ,
29+ // {
30+ // id: 'hangingpiece',
31+ // logo: hpLogo,
32+ // url: 'https://www.hangingpiece.com?utm_source=acode_announcement_banner',
33+ // alt: 'Hanging Piece',
34+ // badge: 'NEW',
35+ // title: 'Hanging Piece - Claude Code for Chess',
36+ // subtitle: 'Understand WHY you blundered and HOW to improve!',
37+ // cta: 'Try Now',
38+ // theme: 'hangingpiece',
39+ // },
2740] ;
2841
2942const TOGGLE_INTERVAL = 8000 ;
@@ -33,6 +46,7 @@ export default function AnnouncementBanner() {
3346
3447 const $logo = < img alt = 'App Logo' className = 'announcement-banner__logo' /> ;
3548 const $badge = < span className = 'announcement-banner__new-badge' /> ;
49+ const $mobileTitle = < span className = 'announcement-banner__mobile-title' /> ;
3650 const $title = < span className = 'announcement-banner__title' /> ;
3751 const $subtitle = < span className = 'announcement-banner__subtitle' /> ;
3852 const $ctaText = < span className = 'announcement-banner__cta-text' /> ;
@@ -50,6 +64,7 @@ export default function AnnouncementBanner() {
5064 < div className = 'announcement-banner__logo-wrapper' > { $logo } </ div >
5165 < div className = 'announcement-banner__text' >
5266 { $badge }
67+ { $mobileTitle }
5368 { $title }
5469 { $subtitle }
5570 </ div >
@@ -110,6 +125,7 @@ export default function AnnouncementBanner() {
110125 $logo . src = b . logo ;
111126 $logo . alt = b . alt ;
112127 $badge . textContent = b . badge ;
128+ $mobileTitle . textContent = b . mobileTitle || b . title ;
113129 $title . textContent = b . title ;
114130 $subtitle . textContent = b . subtitle ;
115131 $ctaText . textContent = b . cta ;
0 commit comments