File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 11import { Button } from "@/components/ui/button" ;
22import { Card } from "@/components/ui/card" ;
3+ import { Badge } from "@/components/ui/badge" ;
34import { ArrowRight , ExternalLink } from "lucide-react" ;
45
56interface PackageCardProps {
@@ -8,7 +9,10 @@ interface PackageCardProps {
89 features : string [ ] ;
910 gradient : string ;
1011 icon : React . ReactNode ;
12+ docsLink : string ;
13+ githubLink : string ;
1114 isMain ?: boolean ;
15+ showSoonBadge ?: boolean ;
1216}
1317
1418const PackageCard = ( {
@@ -17,7 +21,10 @@ const PackageCard = ({
1721 features,
1822 gradient,
1923 icon,
24+ docsLink,
25+ githubLink,
2026 isMain = false ,
27+ showSoonBadge = false ,
2128} : PackageCardProps ) => {
2229 return (
2330 < Card
@@ -38,7 +45,14 @@ const PackageCard = ({
3845 { icon }
3946 </ div >
4047
41- < h3 className = "text-2xl font-bold mb-4 text-foreground" > { name } </ h3 >
48+ < div className = "flex items-center gap-3 mb-4" >
49+ < h3 className = "text-2xl font-bold text-foreground" > { name } </ h3 >
50+ { showSoonBadge && (
51+ < Badge variant = "secondary" className = "text-xs" >
52+ Soon
53+ </ Badge >
54+ ) }
55+ </ div >
4256 < p className = "text-muted-foreground mb-6 text-lg" > { description } </ p >
4357
4458 < div className = "space-y-3 mb-8" >
Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ const Packages = () => {
5353 icon = { < Layers className = "w-7 h-7 text-effulgence-foreground" /> }
5454 docsLink = "/docs/effulgence"
5555 githubLink = "https://github.com/devitools/effulgence"
56+ showSoonBadge = { true }
5657 features = { [
5758 "Simplificação de consumo de rotas e requisições HTTP" ,
5859 "Facades próprios e recursos para maximizar a produtividade" ,
You can’t perform that action at this time.
0 commit comments