1
1
import React from 'react'
2
2
import Link from '@docusaurus/Link'
3
3
import classNames from 'classnames'
4
- import { Terminal , Layers , Coffee , Code , Unlock , Repeat , Send , Link2 , Grid , ArrowRight , Globe , Settings , Mail , Type , Star } from 'react-feather'
4
+ import {
5
+ Terminal ,
6
+ Layers ,
7
+ Coffee ,
8
+ Code ,
9
+ Unlock ,
10
+ Repeat ,
11
+ Send ,
12
+ Link2 ,
13
+ Grid ,
14
+ ArrowRight ,
15
+ Globe ,
16
+ Settings ,
17
+ Mail ,
18
+ Type ,
19
+ Star ,
20
+ } from 'react-feather'
5
21
6
22
import SectionContainer from './Layouts/SectionContainer'
7
23
@@ -10,33 +26,41 @@ import styles from '../pages/styles.module.css'
10
26
// TODO(matija): this is duplication from HowItWorks section.
11
27
const GhIssueLink = ( { url, label } ) => (
12
28
< Link to = { url } >
13
- < span className = { `
29
+ < span
30
+ className = { `
14
31
cursor-pointer text-xs
15
32
bg-neutral-600 text-white
16
33
px-2.5 py-1 rounded-full
17
34
` }
18
35
>
19
- < div className = ' group inline-flex gap-1 items-center' >
36
+ < div className = " group inline-flex gap-1 items-center" >
20
37
< span > { label } </ span >
21
- < div className = ' transition-all group-hover:ml-0.5' >
22
- < span className = ' text-yellow-400' >
38
+ < div className = " transition-all group-hover:ml-0.5" >
39
+ < span className = " text-yellow-400" >
23
40
< ArrowRight size = { 14 } strokeWidth = { 2 } />
24
41
</ span >
25
42
</ div >
26
43
</ div >
27
-
28
44
</ span >
29
45
</ Link >
30
46
)
31
47
32
48
const Section = ( { features } ) => (
33
- < ul className = ' space-y-6' >
34
- { features . map ( f => (
35
- < li className = ' grid grid-cols-12' >
36
- < div className = ' flex items-center col-start-3 col-span-8' >
49
+ < ul className = " space-y-6" >
50
+ { features . map ( ( f ) => (
51
+ < li className = " grid grid-cols-12" >
52
+ < div className = " flex items-center col-start-3 col-span-8" >
37
53
< span >
38
- < span className = 'text-neutral-600' > { f [ 0 ] } </ span >
39
- { f [ 1 ] && < > < GhIssueLink url = { 'https://github.com/wasp-lang/wasp/issues/' + f [ 1 ] } label = { f [ 1 ] } /> </ > }
54
+ < span className = "text-neutral-600" > { f [ 0 ] } </ span >
55
+ { f [ 1 ] && (
56
+ < >
57
+
58
+ < GhIssueLink
59
+ url = { 'https://github.com/wasp-lang/wasp/issues/' + f [ 1 ] }
60
+ label = { f [ 1 ] }
61
+ />
62
+ </ >
63
+ ) }
40
64
</ span >
41
65
</ div >
42
66
</ li >
@@ -45,60 +69,65 @@ const Section = ({ features }) => (
45
69
)
46
70
47
71
const Roadmap = ( ) => (
48
- < SectionContainer className = 'space-y-16 lg:py-18' id = 'roadmap' >
49
- < div className = 'grid grid-cols-12' >
50
- < div className = 'col-span-12 text-center' >
51
- < h2 className = 'text-xl lg:text-2xl text-neutral-700 mb-4' >
52
- 🚧 Roadmap 🚧
53
- </ h2 >
54
- < p className = 'text-neutral-500' >
55
- Work on Wasp never stops: get a glimpse of what is coming next!
56
- </ p >
57
- </ div >
72
+ < SectionContainer className = "space-y-16 lg:py-18" id = "roadmap" >
73
+ < div className = "grid grid-cols-12" >
74
+ < div className = "col-span-12 text-center" >
75
+ < h2 className = "text-xl lg:text-2xl text-neutral-700 mb-4" >
76
+ 🚧 Roadmap 🚧
77
+ </ h2 >
78
+ < p className = "text-neutral-500" >
79
+ Work on Wasp never stops: get a glimpse of what is coming next!
80
+ </ p >
58
81
</ div >
82
+ </ div >
59
83
60
- < div className = 'grid grid-cols-1 lg:grid-cols-2 md:gap-16' >
61
-
62
- < div
63
- className = { `
84
+ < div className = "grid grid-cols-1 lg:grid-cols-2 md:gap-16" >
85
+ < div
86
+ className = { `
64
87
bg-yellow-500/5 border border-yellow-500/25
65
88
p-5 rounded-lg
66
89
` }
67
- >
68
- < div className = 'font-bold text-center mb-6' > Near-term improvements and features</ div >
69
- < Section features = { [
90
+ >
91
+ < div className = "font-bold text-center text-neutral-700 mb-6" >
92
+ Near-term improvements and features
93
+ </ div >
94
+ < Section
95
+ features = { [
70
96
[ 'Improve Wasp project structure' , 734 ] ,
71
97
[ 'Allow custom steps in the build pipeline' , 906 ] ,
72
98
[ 'Support for SSR / SSG' , 911 ] ,
73
99
[ 'Automatic generation of API for Operations' , 863 ] ,
74
100
[ 'Better Prisma support (more features, IDE)' , 641 ] ,
75
101
[ 'Support for backend testing' , 110 ] ,
76
- [ 'Better way to define JS dependencies' , 243 ]
77
- ] } />
78
- </ div >
102
+ [ 'Better way to define JS dependencies' , 243 ] ,
103
+ ] }
104
+ />
105
+ </ div >
79
106
80
- < div
81
- className = { `
107
+ < div
108
+ className = { `
82
109
bg-yellow-500/20 border border-yellow-500/25
83
110
p-5 rounded-lg
84
111
mt-6 lg:mt-0
85
112
` }
86
- >
87
- < div className = 'font-bold text-center mb-6' > Advanced Features</ div >
88
- < Section features = { [
113
+ >
114
+ < div className = "font-bold text-center text-neutral-700 mb-6" >
115
+ Advanced Features
116
+ </ div >
117
+ < Section
118
+ features = { [
89
119
[ 'Top-level data schema' , 642 ] ,
90
120
[ 'Automatic generation of CRUD UI' , 489 ] ,
91
121
[ 'Multiple targets (e.g. mobile)' , 1088 ] ,
92
122
[ 'Multiple servers, serverless' ] ,
93
123
[ 'Polyglot' ] ,
94
124
[ 'Multiple frontend libraries' ] ,
95
- [ 'Full-stack modules' ]
96
- ] } />
97
- </ div >
98
-
125
+ [ 'Full-stack modules' ] ,
126
+ ] }
127
+ />
99
128
</ div >
100
-
101
- </ SectionContainer >
129
+ </ div >
130
+ </ SectionContainer >
102
131
)
103
132
104
133
export default Roadmap
0 commit comments