@@ -52,15 +52,15 @@ export default function License() {
52
52
< Card >
53
53
{ licenseLevel }
54
54
{ paid }
55
- < p className = "mt-4 font-semibold" > Available features:</ p >
55
+ < div className = "mt-4 font-semibold text-sm " > Available features:</ div >
56
56
< div className = "flex flex-col items-start text-sm" >
57
57
{ features &&
58
58
features . map ( ( feat : string ) => (
59
59
< span className = "inline-flex space-x-1" >
60
60
{ featureList ?. includes ( feat ) ? (
61
- < CheckSvg fill = "currentColor" className = "self-center" />
61
+ < CheckSvg fill = "currentColor" className = "self-center mt-1 " />
62
62
) : (
63
- < XSvg fill = "currentColor" className = "self-center h-2" />
63
+ < XSvg fill = "currentColor" className = "self-center h-2 mt-1 " />
64
64
) }
65
65
< span > { capitalizeInitials ( feat ) } </ span >
66
66
</ span >
@@ -75,7 +75,7 @@ export default function License() {
75
75
< p className = "dark:text-gray-500 pt-2 font-semibold" > License Type</ p >
76
76
< h4 className = "dark:text-gray-300 text-lg" > { capitalizeInitials ( license ?. type || "" ) } </ h4 >
77
77
< a
78
- className = "gp-link flex flex-row mr-4 justify-end font-semibold space-x-2"
78
+ className = "gp-link flex flex-row mr-2 justify-end font-semibold space-x-2 mt-6 "
79
79
href = "https://www.gitpod.io/self-hosted"
80
80
target = "_blank"
81
81
>
@@ -118,7 +118,7 @@ function licenseLevel(level: string): ReactElement {
118
118
}
119
119
120
120
function additionalLicenseInfo ( data : string ) : ReactElement {
121
- return < div className = "dark:text-gray-500 font-semibold" > { data } </ div > ;
121
+ return < div className = "dark:text-gray-500 text-gray-400 font-semibold text-sm " > { data } </ div > ;
122
122
}
123
123
124
124
function defaultMessage ( ) : ReactElement [ ] {
@@ -162,7 +162,10 @@ function professionalPlan(userCount: number, seats: number, trial: boolean, vali
162
162
if ( typeof expDate . getTime !== "function" ) {
163
163
return trial ? additionalLicenseInfo ( "Trial" ) : additionalLicenseInfo ( "Paid" ) ;
164
164
} else {
165
- return additionalLicenseInfo ( "Expires on " + expDate . toDateString ( ) ) ;
165
+ return additionalLicenseInfo (
166
+ "Expires on " +
167
+ expDate . toLocaleDateString ( "en-DB" , { year : "numeric" , month : "short" , day : "numeric" } ) ,
168
+ ) ;
166
169
}
167
170
} ;
168
171
0 commit comments