@@ -12,32 +12,44 @@ const features = [
12
12
{
13
13
title : "Automated Mirroring" ,
14
14
description : "Set it and forget it. Automatically sync your GitHub repositories to Gitea on a schedule." ,
15
- icon : RefreshCw
15
+ icon : RefreshCw ,
16
+ gradient : "from-primary/10 to-accent/10" ,
17
+ iconColor : "text-primary"
16
18
} ,
17
19
{
18
20
title : "Bulk Operations" ,
19
21
description : "Mirror entire organizations or user accounts with a single configuration." ,
20
- icon : Building2
22
+ icon : Building2 ,
23
+ gradient : "from-accent/10 to-accent-teal/10" ,
24
+ iconColor : "text-accent"
21
25
} ,
22
26
{
23
27
title : "Preserve Structure" ,
24
28
description : "Maintain your GitHub organization structure or customize how repos are organized." ,
25
- icon : FolderTree
29
+ icon : FolderTree ,
30
+ gradient : "from-accent-teal/10 to-primary/10" ,
31
+ iconColor : "text-accent-teal"
26
32
} ,
27
33
{
28
34
title : "Real-time Status" ,
29
35
description : "Monitor mirror progress with live updates and detailed activity logs." ,
30
- icon : Activity
36
+ icon : Activity ,
37
+ gradient : "from-accent-coral/10 to-primary/10" ,
38
+ iconColor : "text-accent-coral"
31
39
} ,
32
40
{
33
41
title : "Secure & Private" ,
34
42
description : "Self-hosted solution keeps your code on your infrastructure with full control." ,
35
- icon : Lock
43
+ icon : Lock ,
44
+ gradient : "from-accent-purple/10 to-primary/10" ,
45
+ iconColor : "text-accent-purple"
36
46
} ,
37
47
{
38
48
title : "Open Source" ,
39
49
description : "Free, transparent, and community-driven development. Contribute and customize." ,
40
- icon : Heart
50
+ icon : Heart ,
51
+ gradient : "from-primary/10 to-accent-purple/10" ,
52
+ iconColor : "text-primary"
41
53
}
42
54
] ;
43
55
@@ -48,7 +60,7 @@ export function Features() {
48
60
< div className = "text-center mb-12 sm:mb-16" >
49
61
< h2 className = "text-2xl sm:text-3xl md:text-4xl font-bold tracking-tight px-4" >
50
62
Everything You Need for
51
- < span className = "text-primary block sm:inline" > Reliable Backups</ span >
63
+ < span className = "text-gradient from- primary to-accent block sm:inline" > Reliable Backups</ span >
52
64
</ h2 >
53
65
< p className = "mt-4 text-base sm:text-lg text-muted-foreground max-w-2xl mx-auto px-4" >
54
66
Powerful features designed to keep your code safe and accessible, no matter what happens.
@@ -61,14 +73,17 @@ export function Features() {
61
73
return (
62
74
< div
63
75
key = { index }
64
- className = " group relative p-6 sm:p-8 rounded-xl sm:rounded-2xl border bg-card hover:shadow-lg transition-all duration-300 hover:-translate-y-1 hover:border-primary/20"
76
+ className = { ` group relative p-6 sm:p-8 rounded-xl sm:rounded-2xl border bg-gradient-to-br ${ feature . gradient } backdrop-blur-sm hover:shadow-lg hover:shadow-primary/10 transition-all duration-300 hover:-translate-y-1 hover:border-primary/30 overflow-hidden` }
65
77
>
66
- < div className = "inline-flex p-2.5 sm:p-3 rounded-lg bg-muted mb-3 sm:mb-4 group-hover:bg-primary/10 transition-colors duration-300" >
67
- < Icon className = "w-5 h-5 sm:w-6 sm:h-6 text-muted-foreground group-hover:text-primary transition-colors duration-300" />
78
+ < div className = "absolute inset-0 bg-gradient-to-br from-transparent to-background/50 opacity-0 group-hover:opacity-100 transition-opacity duration-500" />
79
+ < div className = "relative" >
80
+ < div className = { `inline-flex p-2.5 sm:p-3 rounded-lg bg-background/80 backdrop-blur-sm mb-3 sm:mb-4 ${ feature . iconColor } shadow-sm` } >
81
+ < Icon className = "w-5 h-5 sm:w-6 sm:h-6" />
82
+ </ div >
83
+
84
+ < h3 className = "text-lg sm:text-xl font-semibold mb-2" > { feature . title } </ h3 >
85
+ < p className = "text-sm sm:text-base text-muted-foreground" > { feature . description } </ p >
68
86
</ div >
69
-
70
- < h3 className = "text-lg sm:text-xl font-semibold mb-2" > { feature . title } </ h3 >
71
- < p className = "text-sm sm:text-base text-muted-foreground" > { feature . description } </ p >
72
87
</ div >
73
88
) ;
74
89
} ) }
0 commit comments