@@ -3,68 +3,69 @@ import clsx from 'clsx';
3
3
import styles from './styles.module.css' ;
4
4
5
5
type FeatureItem = {
6
- title : string ;
7
- // Svg: React.ComponentType<React.ComponentProps<'svg'>>;
8
- description : JSX . Element ;
6
+ title : string ;
7
+ // Svg: React.ComponentType<React.ComponentProps<'svg'>>;
8
+ description : JSX . Element ;
9
9
} ;
10
10
11
11
const FeatureList : FeatureItem [ ] = [
12
- {
13
- title : 'Domain' ,
14
- // Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
15
- description : (
16
- < >
17
- Event-sourced Aggregate base classes and Aggregate Store building blocks to build your domain model,
18
- and persist state transitions as events.
19
- </ >
20
- ) ,
21
- } ,
22
- {
23
- title : 'Subscriptions' ,
24
- // Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,
25
- description : (
26
- < >
27
- Real-time subscriptions to support event reactors and read model projections,
28
- using EventStoreDB, Google PubSub, and RabbitMQ.
29
- </ >
30
- ) ,
31
- } ,
32
- {
33
- title : 'EventStoreDB' ,
34
- // Svg: require('@site/static/img/undraw_docusaurus_react.svg').default,
35
- description : (
36
- < >
37
- Aggregate persistence, subscriptions, and event producers backed by EventStoreDB.
38
- </ >
39
- ) ,
40
- } ,
12
+ {
13
+ title : 'Domain and persistence' ,
14
+ // Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
15
+ description : (
16
+ < >
17
+ Event-sourced Aggregate base classes and Aggregate Store building blocks to build your domain model,
18
+ and persist state transitions as events using EventStoreDB, PostgreSQL and Microsoft SQL Server.
19
+ </ >
20
+ ) ,
21
+ } ,
22
+ {
23
+ title : 'Subscriptions' ,
24
+ // Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,
25
+ description : (
26
+ < >
27
+ Real-time subscriptions to support event reactors and read model projections,
28
+ using EventStoreDB, PostgreSQL, Microsoft SQL Server, Google PubSub, and RabbitMQ.
29
+ </ >
30
+ ) ,
31
+ } ,
32
+ {
33
+ title : 'Messaging' ,
34
+ // Svg: require('@site/static/img/undraw_docusaurus_react.svg').default,
35
+ description : (
36
+ < >
37
+ Produce and consume messages using EventStoreDB, PostgreSQL, Microsoft SQL Server, Google PubSub,
38
+ and RabbitMQ.
39
+ </ >
40
+ ) ,
41
+ } ,
41
42
] ;
42
43
43
44
function Feature ( { title, description} : FeatureItem ) {
44
- return (
45
- < div className = { clsx ( 'col col--4' ) } >
46
- < div className = "text--center" >
47
- { /*<i className="fas fa-sitemap"/>*/ }
48
- { /*<Svg className={styles.featureSvg} role="img" />*/ }
49
- </ div >
50
- < div className = "text--center padding-horiz--md" >
51
- < h3 > { title } </ h3 >
52
- < p > { description } </ p >
53
- </ div >
54
- </ div >
55
- ) ;
45
+ return (
46
+ < div className = { clsx ( 'col col--4' ) } >
47
+ < div className = "text--center" >
48
+ { /*<i className="fas fa-sitemap"/>*/ }
49
+ { /*<Svg className={styles.featureSvg} role="img" />*/ }
50
+ </ div >
51
+ < div className = "text--center padding-horiz--md" >
52
+ < h3 > { title } </ h3 >
53
+ < p > { description } </ p >
54
+ </ div >
55
+ </ div >
56
+ ) ;
56
57
}
57
58
58
59
export default function HomepageFeatures ( ) : JSX . Element {
59
- return (
60
- < section className = { styles . features } >
61
- < div className = "container" >
62
- < div className = "row" >
63
- { FeatureList . map ( ( props , idx ) => (
64
- < Feature key = { idx } { ...props } />
65
- ) ) }
66
- </ div >
67
- </ div >
68
- </ section >
69
- ) ;
60
+ return (
61
+ < section className = { styles . features } >
62
+ < div className = "container" >
63
+ < div className = "row" >
64
+ { FeatureList . map ( ( props , idx ) => (
65
+ < Feature key = { idx } { ...props } />
66
+ ) ) }
67
+ </ div >
68
+ </ div >
69
+ </ section >
70
+ ) ;
70
71
}
0 commit comments