Skip to content

Commit c6f0ce9

Browse files
committed
updates
1 parent 7ac1c07 commit c6f0ce9

File tree

4 files changed

+54
-2
lines changed

4 files changed

+54
-2
lines changed

landing/src/App.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Hero, Problem, Features, TerminalDemo, QuickCommands, MCPSection, Demo, Footer } from './components';
1+
import { Banner, Hero, Problem, Features, TerminalDemo, QuickCommands, MCPSection, Demo, Footer } from './components';
22
import { motion } from 'framer-motion';
33

44
function EasySection() {
@@ -25,6 +25,7 @@ function EasySection() {
2525
function App() {
2626
return (
2727
<div className="min-h-screen bg-black text-white antialiased">
28+
<Banner />
2829
<Hero />
2930
<Problem />
3031
<Features />

landing/src/components/Banner.tsx

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
import { useState } from 'react';
2+
import { motion, AnimatePresence } from 'framer-motion';
3+
4+
export function Banner() {
5+
const [isVisible, setIsVisible] = useState(true);
6+
7+
if (!isVisible) return null;
8+
9+
return (
10+
<AnimatePresence>
11+
<motion.div
12+
initial={{ y: -100 }}
13+
animate={{ y: 0 }}
14+
exit={{ y: -100 }}
15+
transition={{ duration: 0.3 }}
16+
className="sticky top-0 z-50 bg-gradient-to-r from-emerald-500/10 via-emerald-500/5 to-emerald-500/10 border-b border-emerald-500/20 backdrop-blur-sm"
17+
>
18+
<div className="max-w-7xl mx-auto px-6 py-3">
19+
<div className="flex items-center justify-between">
20+
<div className="flex items-center gap-3 mx-auto">
21+
<div className="flex items-center gap-2">
22+
<span className="relative flex h-2 w-2">
23+
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-emerald-400 opacity-75"></span>
24+
<span className="relative inline-flex rounded-full h-2 w-2 bg-emerald-500"></span>
25+
</span>
26+
<span className="text-emerald-400 text-sm font-medium">Beta release in 2 days</span>
27+
</div>
28+
<span className="text-zinc-600 text-sm hidden sm:inline"></span>
29+
<a
30+
href="https://github.com/vedpawar2254/Ano"
31+
className="text-zinc-400 hover:text-white text-sm transition-colors hidden sm:inline"
32+
>
33+
Star on GitHub
34+
</a>
35+
</div>
36+
<button
37+
onClick={() => setIsVisible(false)}
38+
className="text-zinc-600 hover:text-zinc-400 transition-colors ml-4"
39+
aria-label="Close banner"
40+
>
41+
<svg className="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
42+
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M6 18L18 6M6 6l12 12" />
43+
</svg>
44+
</button>
45+
</div>
46+
</div>
47+
</motion.div>
48+
</AnimatePresence>
49+
);
50+
}

landing/src/components/Problem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export function Problem() {
4141
transition={{ duration: 0.5 }}
4242
className="text-center mb-16"
4343
>
44-
<p className="text-zinc-500 text-sm font-medium mb-3">The shift</p>
44+
<p className="text-zinc-500 text-md font-medium mb-3 hover:text-emerald-500 transition-colors cursor-pointer">The shift</p>
4545
<h2 className="text-3xl md:text-4xl font-semibold text-white mb-4">
4646
Development is changing
4747
</h2>

landing/src/components/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
export { Banner } from './Banner';
12
export { FlowingRibbon } from './FlowingRibbon';
23
export { Hero } from './Hero';
34
export { Problem } from './Problem';

0 commit comments

Comments
 (0)