1+ import ForwardIcon from "@mui/icons-material/Forward" ;
2+ import HubIcon from "@mui/icons-material/Hub" ;
13import cibApple from "@site/static/img/logo/apple-colored.svg" ;
24import cibDocker from "@site/static/img/logo/docker-colored.svg" ;
35import cibFreebsd from "@site/static/img/logo/freebsd-colored.svg" ;
@@ -14,9 +16,10 @@ type StaticData = {
1416 icon : React . ComponentType < React . SVGProps < SVGSVGElement > > ;
1517 text : string ;
1618 link : string ;
19+ description ?: string ;
1720} ;
1821
19- const staticData : StaticData [ ] = [
22+ const singleServerSetup : StaticData [ ] = [
2023 {
2124 icon : cibLinux ,
2225 text : "Linux" ,
@@ -70,6 +73,21 @@ const staticData: StaticData[] = [
7073 // },
7174] ;
7275
76+ const multiServerSetup : StaticData [ ] = [
77+ {
78+ icon : HubIcon ,
79+ text : "Central LAPI" ,
80+ link : "/u/user_guides/multiserver_setup" ,
81+ description : "Use a single LAPI to collect alerts." ,
82+ } ,
83+ {
84+ icon : ForwardIcon ,
85+ text : "Log Centralization" ,
86+ link : "/u/user_guides/log_centralization" ,
87+ description : "Use Rsyslog to centralize logs." ,
88+ } ,
89+ ] ;
90+
7391const QuickStart = ( ) : React . JSX . Element => {
7492 return (
7593 < section >
@@ -78,15 +96,32 @@ const QuickStart = (): React.JSX.Element => {
7896 < p className = "max-w-xl text-sm text-foreground/70" > We can secure your stack. Just select your platform and get started.</ p >
7997 </ div >
8098
99+ < div className = "text-left" >
100+ < h4 className = "mb-1" > Single Server Setup</ h4 >
101+ < p className = "max-w-xl text-sm text-foreground/70" >
102+ Install CrowdSec on a single server. This is the simplest way to get started with CrowdSec.
103+ </ p >
104+ </ div >
81105 < div className = "grid grid-cols-1 md:grid-cols-3 gap-4 mt-4" >
82- { staticData . map ( ( props ) => (
106+ { singleServerSetup . map ( ( props ) => (
83107 < HomePageItem title = { props . text } description = "" link = { props . link } icon = { props . icon } key = { props . text } />
84108 ) ) }
85109 </ div >
86- < p className = "text-xs my-1 text-foreground/70 text-right" >
110+ < p className = "text-xs mt-1 mb-4 text-foreground/70 text-right" >
87111 *Logos and trademarks, such as the logos above, are the property of their respective owners and are used here for
88112 identification purposes only.
89113 </ p >
114+ < div className = "text-left" >
115+ < h4 className = "mb-1" > Multi-Server Setup</ h4 >
116+ < p className = "max-w-xl text-sm text-foreground/70" >
117+ Use CrowdSec within a multi-server environment. This is the advanced way to get started.
118+ </ p >
119+ </ div >
120+ < div className = "grid grid-cols-1 md:grid-cols-3 gap-4 mt-4" >
121+ { multiServerSetup . map ( ( props ) => (
122+ < HomePageItem title = { props . text } description = { props . description } link = { props . link } icon = { props . icon } key = { props . text } />
123+ ) ) }
124+ </ div >
90125 </ section >
91126 ) ;
92127} ;
0 commit comments