Skip to content

Commit c8f14dc

Browse files
committed
feat: Add elegant 'Powered by Motia' badge at bottom left
1 parent 0efc4e0 commit c8f14dc

2 files changed

Lines changed: 30 additions & 8 deletions

File tree

components/Visualizer.tsx

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1431,14 +1431,14 @@ const Visualizer: React.FC<VisualizerProps> = ({
14311431
</div>
14321432
) : (
14331433
<>
1434-
<button
1435-
onClick={() => setShowLayoutToggle(true)}
1436-
className="p-2.5 bg-[#0d1424] border border-[#1e3a5f] rounded-lg text-[#64748b] hover:text-[#00d4ff] hover:bg-[#1e3a5f] hover:border-[#00d4ff] transition-colors shadow-lg cursor-pointer"
1437-
title="View options (layouts, timeline)"
1438-
style={{ pointerEvents: 'auto' }}
1439-
>
1440-
<Layers size={16} />
1441-
</button>
1434+
<button
1435+
onClick={() => setShowLayoutToggle(true)}
1436+
className="p-2.5 bg-[#0d1424] border border-[#1e3a5f] rounded-lg text-[#64748b] hover:text-[#00d4ff] hover:bg-[#1e3a5f] hover:border-[#00d4ff] transition-colors shadow-lg cursor-pointer"
1437+
title="View options (layouts, timeline)"
1438+
style={{ pointerEvents: 'auto' }}
1439+
>
1440+
<Layers size={16} />
1441+
</button>
14421442
<button
14431443
onClick={() => setShowDashboard(true)}
14441444
className="hidden sm:flex items-center gap-1.5 px-3 py-2 bg-[#0d1424] border border-[#1e3a5f] rounded-lg text-[11px] text-[#94a3b8] hover:border-[#00d4ff] hover:text-[#00d4ff] transition-all shadow-lg"
@@ -2629,6 +2629,24 @@ const Visualizer: React.FC<VisualizerProps> = ({
26292629
Press <kbd className="px-1 py-0.5 bg-[#1e3a5f] rounded text-[#64748b] font-mono">?</kbd> for shortcuts
26302630
</div>
26312631

2632+
{/* Powered by Motia */}
2633+
<a
2634+
href="https://github.com/MotiaDev/motia"
2635+
target="_blank"
2636+
rel="noopener noreferrer"
2637+
className="absolute bottom-2 left-2 flex items-center gap-1.5 px-2 py-1 bg-[#0d1424]/80 backdrop-blur-sm border border-[#1e3a5f]/50 rounded-full text-[10px] text-[#64748b] hover:text-[#00d4ff] hover:border-[#00d4ff]/50 transition-all group"
2638+
>
2639+
<svg
2640+
className="w-3 h-3 text-[#64748b] group-hover:text-[#00d4ff] transition-colors"
2641+
viewBox="0 0 24 24"
2642+
fill="currentColor"
2643+
>
2644+
<path d="M13 10V3L4 14h7v7l9-11h-7z"/>
2645+
</svg>
2646+
<span className="font-medium">Powered by</span>
2647+
<span className="font-bold bg-gradient-to-r from-[#00d4ff] to-[#a855f7] bg-clip-text text-transparent">Motia</span>
2648+
</a>
2649+
26322650
</div>
26332651
);
26342652
};

src/github/export-star-data.step.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,3 +201,7 @@ export const handler: Handlers['ExportStarData'] = async (req, { logger }) => {
201201
}
202202

203203

204+
205+
206+
207+

0 commit comments

Comments
 (0)