11import Image from "next/image" ;
22import Link from "next/link" ;
3+ // Keeping imports just in case
34import { ArrowRight , Terminal , Share2 , Layers } from "lucide-react" ;
45
56export default function Home ( ) {
67 return (
7- < main className = "min-h-screen bg-slate-950 text-white selection:bg-green-500 selection:text-slate-900" >
8+ < main className = "min-h-screen bg-slate-950 text-white selection:bg-green-500 selection:text-slate-900 overflow-x-hidden " >
89
910 { /* --- Navigation --- */ }
10- < nav className = "flex items-center justify-between px-6 py-6 max-w-7xl mx-auto" >
11- < div className = "flex items-center gap-2" >
12- { /* Ensure you have a logo.png in your 'public' folder */ }
13- < div className = "relative w-8 h-8" >
11+ { /* Not sticky, just clean glass effect */ }
12+ < nav className = "relative z-50 w-full border-b border-white/5 bg-slate-950/60 backdrop-blur-md" >
13+ < div className = "flex items-center justify-between px-6 py-6 max-w-7xl mx-auto" >
14+ < div className = "flex items-center gap-2" >
15+ < div className = "relative w-8 h-8" >
1416 < Image
1517 src = "/logo.png"
1618 alt = "CodeFXR Logo"
1719 fill
1820 className = "object-contain"
1921 />
22+ </ div >
23+ < span className = "text-xl font-bold tracking-tight" > CodeFXR</ span >
24+ </ div >
25+ < div className = "hidden md:flex gap-6 text-sm font-medium text-slate-400" >
26+ < Link href = "#products" className = "hover:text-green-400 transition-colors" > Products</ Link >
27+ < Link href = "#about" className = "hover:text-blue-400 transition-colors" > About</ Link >
28+ < Link href = "#contact" className = "hover:text-white transition-colors" > Contact</ Link >
2029 </ div >
21- < span className = "text-xl font-bold tracking-tight" > CodeFXR</ span >
22- </ div >
23- < div className = "hidden md:flex gap-6 text-sm font-medium text-slate-400" >
24- < Link href = "#products" className = "hover:text-green-400 transition-colors" > Products</ Link >
25- < Link href = "#about" className = "hover:text-blue-400 transition-colors" > About</ Link >
26- < Link href = "#contact" className = "hover:text-white transition-colors" > Contact</ Link >
2730 </ div >
2831 </ nav >
2932
3033 { /* --- Hero Section --- */ }
31- < section className = "flex flex-col items-center justify-center text-center px-6 pt-20 pb-32 max-w-5xl mx-auto" >
34+ < section className = "relative flex flex-col items-center justify-center text-center px-6 pt-20 pb-32 max-w-5xl mx-auto" >
3235
33- { /* Animated Badge */ }
34- < div className = "mb-6 px-3 py-1 rounded-full border border-slate-800 bg-slate-900/50 backdrop-blur-sm " >
35- < span className = "text-xs font-medium text-transparent bg-clip-text bg-gradient-to-r from-blue-400 to-green-400" >
36+ { /* BADGE UPDATE: No pulse. Now uses a subtle Blue Glow on HOVER. */ }
37+ < div className = "mb-8 px-4 py-1.5 rounded-full border border-slate-800 bg-slate-900/50 backdrop-blur-md shadow-sm transition-all duration-300 hover:bg-slate-900 hover:border-blue-500/50 hover:shadow-[0_0_20px_-5px_rgba(59,130,246,0.5)] cursor-default " >
38+ < span className = "text-xs font-semibold uppercase tracking-wider text-transparent bg-clip-text bg-gradient-to-r from-blue-400 to-green-400" >
3639 Unleash your terminal!
3740 </ span >
3841 </ div >
3942
40- { /* Main Title with Gradient */ }
41- < h1 className = "text-5xl md:text-7xl font-extrabold tracking-tight mb-6 " >
43+ { /* Main Title - Standard size */ }
44+ < h1 className = "text-5xl md:text-7xl font-extrabold tracking-tight mb-8 " >
4245 The Foundation for < br />
4346 < span className = "text-transparent bg-clip-text bg-gradient-to-r from-blue-600 via-teal-400 to-green-400" >
44- Terminal User Interface
47+ Terminal User Interfaces
4548 </ span >
4649 </ h1 >
4750
@@ -50,7 +53,7 @@ export default function Home() {
5053 </ p >
5154
5255 < div className = "flex gap-4" >
53- < button className = "px-8 py-3 rounded-lg font-bold bg-white text-slate-950 hover:bg-green-400 transition-all duration-300" >
56+ < button className = "px-8 py-3 rounded-lg font-bold bg-white text-slate-950 hover:bg-green-400 transition-all duration-300 shadow-[0_0_20px_-5px_rgba(255,255,255,0.3)] hover:shadow-[0_0_25px_-5px_rgba(255,255,255,0.5)] " >
5457 Get Started
5558 </ button >
5659 < button className = "px-8 py-3 rounded-lg font-bold border border-slate-700 hover:border-blue-500 text-white hover:bg-slate-900 transition-all duration-300" >
@@ -65,28 +68,52 @@ export default function Home() {
6568 < h2 className = "text-3xl font-bold mb-12 text-center" > App Suite</ h2 >
6669
6770 < div className = "grid md:grid-cols-3 gap-8" >
68- { /* Product 1: CLI-Studio */ }
71+ { /* Product 1: CLI-Studio (Cyan Theme) */ }
6972 < ProductCard
70- icon = { < Terminal className = "w-8 h-8 text-blue-400" /> }
73+ icon = {
74+ < Image
75+ src = "/logo1.png"
76+ alt = "CLI-Studio Icon"
77+ width = { 40 }
78+ height = { 40 }
79+ className = "object-contain"
80+ />
81+ }
7182 title = "CLI▶Studio"
72- description = "User interface for image , video and audio manipulation."
73- color = "blue "
83+ description = "Image , video and audio manipulation."
84+ color = "cyan "
7485 />
7586
76- { /* Product 2: Synapxis */ }
87+ { /* Product 2: Synapxis (Amber Theme) */ }
7788 < ProductCard
78- icon = { < Share2 className = "w-8 h-8 text-teal-400" /> }
89+ icon = {
90+ < Image
91+ src = "/logo2.png"
92+ alt = "Synapxis Icon"
93+ width = { 40 }
94+ height = { 40 }
95+ className = "object-contain"
96+ />
97+ }
7998 title = "Synapxis"
80- description = "Graph view user interface with jrnl integration."
81- color = "teal "
99+ description = "Graph view interface with jrnl integration."
100+ color = "amber "
82101 />
83102
84- { /* Product 3: LXM */ }
103+ { /* Product 3: LXM (Blue Theme) */ }
85104 < ProductCard
86- icon = { < Layers className = "w-8 h-8 text-green-400" /> }
105+ icon = {
106+ < Image
107+ src = "/logo3.png"
108+ alt = "LXM Icon"
109+ width = { 40 }
110+ height = { 40 }
111+ className = "object-contain"
112+ />
113+ }
87114 title = "LXM"
88- description = "Linux manual pages user interface, search and command builder."
89- color = "green "
115+ description = "Linux manual pages search and command builder."
116+ color = "blue "
90117 />
91118 </ div >
92119 </ div >
@@ -100,17 +127,29 @@ export default function Home() {
100127 ) ;
101128}
102129
103- // Simple Component for the Product Cards to keep code clean
130+ // ProductCard with Colored Card Shadow Logic
104131function ProductCard ( { icon, title, description, color } : any ) {
105- // We dynamically set the border hover color based on props
106- const hoverColor = {
107- blue : "group-hover:border-blue-500/50" ,
108- teal : "group-hover:border-teal-500/50" ,
109- green : "group-hover:border-green-500/50" ,
110- } [ color as "blue" | "teal" | "green" ] || "group-hover:border-white" ;
132+
133+ // Define styles for each color theme
134+ const theme = {
135+ cyan : {
136+ // Cyan border and Cyan glow on the CARD itself
137+ styles : "group-hover:border-cyan-500/50 hover:shadow-[0_0_30px_-5px_rgba(6,182,212,0.3)]"
138+ } ,
139+ amber : {
140+ // Amber border and Amber glow on the CARD itself
141+ styles : "group-hover:border-amber-500/50 hover:shadow-[0_0_30px_-5px_rgba(245,158,11,0.3)]"
142+ } ,
143+ blue : {
144+ // Blue border and Blue glow on the CARD itself
145+ styles : "group-hover:border-blue-500/50 hover:shadow-[0_0_30px_-5px_rgba(59,130,246,0.3)]"
146+ } ,
147+ } [ color as "cyan" | "amber" | "blue" ] || {
148+ styles : "group-hover:border-white hover:shadow-xl"
149+ } ;
111150
112151 return (
113- < div className = { `group p-8 rounded-2xl bg-slate-950 border border-slate-800 ${ hoverColor } transition-all duration-300 hover:shadow-2xl hover:-translate-y-1` } >
152+ < div className = { `group p-8 rounded-2xl bg-slate-950 border border-slate-800 ${ theme . styles } transition-all duration-300 hover:-translate-y-1` } >
114153 < div className = "mb-4 p-3 bg-slate-900/50 rounded-lg inline-block" >
115154 { icon }
116155 </ div >
0 commit comments