@@ -21,6 +21,7 @@ import AppFooter from 'docs/src/layouts/AppFooter';
21
21
import MuiStatistics from 'docs/src/components/home/MuiStatistics' ;
22
22
import GradientText from 'docs/src/components/typography/GradientText' ;
23
23
import ROUTES from 'docs/src/route' ;
24
+ import Section from 'docs/src/layouts/Section' ;
24
25
import IconImage from 'docs/src/components/icon/IconImage' ;
25
26
import ForumRoundedIcon from '@mui/icons-material/ForumRounded' ;
26
27
import PeopleRoundedIcon from '@mui/icons-material/PeopleRounded' ;
@@ -101,7 +102,7 @@ function Person(props: Profile & { sx?: PaperProps['sx'] }) {
101
102
borderRadius : 1 ,
102
103
backgroundColor : 'primary.100' ,
103
104
...theme . applyDarkStyles ( {
104
- backgroundColor : 'primary.700 ' ,
105
+ backgroundColor : 'primary.900 ' ,
105
106
} ) ,
106
107
} ) }
107
108
/>
@@ -193,11 +194,55 @@ function Widget({
193
194
icon : React . ReactElement ;
194
195
} ) {
195
196
return (
196
- < Paper variant = "outlined" sx = { { height : '100%' , px : 2 , pt : 2 , pb : 1.5 } } >
197
- < Typography component = "div" variant = "body2" fontWeight = "bold" sx = { { mb : 1 } } >
198
- < Box sx = { { display : 'inline-block' , lineHeight : 0 , verticalAlign : 'bottom' , mr : 1 } } >
199
- { icon }
200
- </ Box >
197
+ < Paper
198
+ variant = "outlined"
199
+ sx = { ( theme ) => ( {
200
+ p : 4 ,
201
+ height : '100%' ,
202
+ position : 'relative' ,
203
+ borderRadius : '12px' ,
204
+ border : '1px solid' ,
205
+ borderColor : 'grey.100' ,
206
+ background : `${ ( theme . vars || theme ) . palette . gradients . linearSubtle } ` ,
207
+
208
+ ...theme . applyDarkStyles ( {
209
+ bgcolor : 'primaryDark.900' ,
210
+ borderColor : 'primaryDark.700' ,
211
+ background : `${ ( theme . vars || theme ) . palette . gradients . linearSubtle } ` ,
212
+ } ) ,
213
+ } ) }
214
+ >
215
+ < Box
216
+ sx = { ( theme ) => ( {
217
+ width : 40 ,
218
+ height : 40 ,
219
+ display : 'flex' ,
220
+ justifyContent : 'center' ,
221
+ alignItems : 'center' ,
222
+ borderRadius : 1 ,
223
+ border : '1px solid' ,
224
+ borderColor : 'primary.200' ,
225
+ bgcolor : 'primary.50' ,
226
+ boxShadow :
227
+ '0px 1px 6px 0px rgba(194, 224, 255, 1), 0px 2px 30px 0px rgba(234, 237, 241, 0.3) inset' ,
228
+ ...theme . applyDarkStyles ( {
229
+ borderColor : 'primary.400' ,
230
+ bgcolor : 'primary.900' ,
231
+ boxShadow :
232
+ '0px 1px 6px 0px rgba(0, 89, 178, 1), 0px 2px 30px 0px rgba(0, 0, 0, 0.25) inset' ,
233
+ } ) ,
234
+ } ) }
235
+ >
236
+ { icon }
237
+ </ Box >
238
+ < Typography
239
+ fontWeight = "bold"
240
+ component = "h3"
241
+ color = "text.primary"
242
+ variant = "body2"
243
+ mt = { 2 }
244
+ mb = { 0.5 }
245
+ >
201
246
{ title }
202
247
</ Typography >
203
248
{ children }
@@ -643,8 +688,9 @@ function AboutContent() {
643
688
< Container >
644
689
< Box
645
690
sx = { {
646
- height : '40vh' ,
647
- minHeight : 300 ,
691
+ pt : 12 ,
692
+
693
+ minHeight : 200 ,
648
694
display : 'flex' ,
649
695
flexDirection : 'column' ,
650
696
justifyContent : 'center' ,
@@ -675,48 +721,41 @@ function AboutContent() {
675
721
</ Box >
676
722
< References companies = { CORE_CUSTOMERS } />
677
723
</ Container >
678
- < Box
679
- sx = { ( theme ) => ( {
680
- bgcolor : 'grey.50' ,
681
- ...theme . applyDarkStyles ( {
682
- bgcolor : 'primaryDark.900' ,
683
- } ) ,
684
- } ) }
685
- >
686
- < Container sx = { { py : { xs : 4 , md : 8 } } } >
687
- < Grid container alignItems = "center" spacing = { 4 } >
688
- < Grid item xs = { 12 } md = { 6 } >
689
- < Typography variant = "h2" sx = { { my : 1 } } >
690
- Our ultimate goal
691
- </ Typography >
692
- < Typography color = "text.secondary" sx = { { mb : 1 , maxWidth : 450 } } >
693
- We aim high trying to design the most effective and efficient tool for building UIs,
694
- for developers and designers. MUI started back in 2014, to unify React and Material
695
- Design. Since then, we've become a community of over 2M developers from every
696
- corner of the world.
697
- </ Typography >
698
- < Typography color = "text.secondary" sx = { { mb : 2 } } >
699
- We plan on doing all that cultivating our values:
700
- </ Typography >
701
- { [
702
- 'Customer obsessed. We put our customers front & center.' ,
703
- 'Transparency. Most of our work is public.' ,
704
- 'Freedom. We work from anywhere in the world.' ,
705
- 'Autonomy. We want to create a safe, high-trust team.' ,
706
- "Excellence. We're aiming high, and we know it." ,
707
- ] . map ( ( text ) => (
708
- < Box key = { text } sx = { { display : 'flex' , alignItems : 'flex-start' , mt : 1 } } >
709
- < IconImage name = "yes" />
710
- < Typography variant = "body2" color = "text.primary" fontWeight = { 700 } sx = { { ml : 1 } } >
711
- { text }
712
- </ Typography >
713
- </ Box >
714
- ) ) }
715
- </ Grid >
716
- < MuiStatistics />
724
+ < Divider />
725
+ < Section bg = "gradient" cozy >
726
+ < Grid container alignItems = "center" spacing = { 4 } >
727
+ < Grid item xs = { 12 } md = { 6 } >
728
+ < Typography variant = "h2" sx = { { my : 1 } } >
729
+ Our < GradientText > ultimate</ GradientText > goal
730
+ </ Typography >
731
+ < Typography color = "text.secondary" sx = { { mb : 1 , maxWidth : 450 } } >
732
+ We aim high trying to design the most effective and efficient tool for building UIs,
733
+ for developers and designers. MUI started back in 2014, to unify React and Material
734
+ Design. Since then, we've become a community of over 2M developers from every
735
+ corner of the world.
736
+ </ Typography >
737
+ < Typography color = "text.secondary" sx = { { mb : 2 } } >
738
+ We plan on doing all that cultivating our values:
739
+ </ Typography >
740
+ { [
741
+ 'Customer obsessed. We put our customers front & center.' ,
742
+ 'Transparency. Most of our work is public.' ,
743
+ 'Freedom. We work from anywhere in the world.' ,
744
+ 'Autonomy. We want to create a safe, high-trust team.' ,
745
+ "Excellence. We're aiming high, and we know it." ,
746
+ ] . map ( ( text ) => (
747
+ < Box key = { text } sx = { { display : 'flex' , alignItems : 'center' , mt : 1 } } >
748
+ < IconImage name = "yes" />
749
+ < Typography variant = "body2" color = "text.primary" fontWeight = { 600 } sx = { { ml : 1.5 } } >
750
+ { text }
751
+ </ Typography >
752
+ </ Box >
753
+ ) ) }
717
754
</ Grid >
718
- </ Container >
719
- </ Box >
755
+ < MuiStatistics />
756
+ </ Grid >
757
+ </ Section >
758
+ < Divider />
720
759
< Container sx = { { py : { xs : 4 , md : 8 } } } >
721
760
< Box sx = { { display : 'flex' , justifyContent : 'space-between' , alignItems : 'center' } } >
722
761
< div >
@@ -751,7 +790,7 @@ function AboutContent() {
751
790
>
752
791
Company
753
792
</ Typography >
754
- < Typography color = "text.secondary" sx = { { maxWidth : { md : 500 } } } >
793
+ < Typography color = "text.secondary" sx = { { maxWidth : { md : 450 } } } >
755
794
The development of the project and its ecosystem is guided by an international team.
756
795
</ Typography >
757
796
< Box sx = { { pt : 2 } } >
@@ -764,7 +803,8 @@ function AboutContent() {
764
803
</ Grid >
765
804
</ Box >
766
805
</ Container >
767
- < Box data-mui-color-scheme = "dark" sx = { { bgcolor : 'primaryDark.700' } } >
806
+ < Divider />
807
+ < Box data-mui-color-scheme = "dark" sx = { { bgcolor : 'primaryDark.900' } } >
768
808
< Container sx = { { py : { xs : 4 , sm : 8 } } } >
769
809
< Typography
770
810
component = "h3"
@@ -811,11 +851,12 @@ function AboutContent() {
811
851
</ Box >
812
852
</ Container >
813
853
</ Box >
814
- < Container sx = { { py : { xs : 4 , md : 8 } } } >
854
+ < Divider />
855
+ < Container sx = { { py : { xs : 4 , md : 12 } } } >
815
856
< Typography variant = "h2" sx = { { mt : 1 , mb : { xs : 2 , sm : 4 } } } >
816
857
How can you support us?
817
858
</ Typography >
818
- < Grid container spacing = { 2 } >
859
+ < Grid container spacing = { 3 } >
819
860
< Grid item xs = { 12 } sm = { 6 } md = { 4 } >
820
861
< Widget
821
862
icon = { < ForumRoundedIcon fontSize = "small" color = "primary" /> }
@@ -835,6 +876,7 @@ function AboutContent() {
835
876
size = "small"
836
877
href = "https://github.com/mui/material-ui/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc"
837
878
endIcon = { < KeyboardArrowRightRounded /> }
879
+ sx = { { ml : - 1 } }
838
880
>
839
881
Leave your feedback{ ' ' }
840
882
</ Button >
@@ -854,6 +896,7 @@ function AboutContent() {
854
896
typography : 'body2' ,
855
897
color : 'text.secondary' ,
856
898
pl : 2 ,
899
+ mb : 2 ,
857
900
} }
858
901
>
859
902
< li >
@@ -894,6 +937,7 @@ function AboutContent() {
894
937
size = "small"
895
938
href = "https://github.com/mui/material-ui"
896
939
endIcon = { < KeyboardArrowRightRounded /> }
940
+ sx = { { ml : - 1 } }
897
941
>
898
942
See the repository
899
943
</ Button >
@@ -920,13 +964,15 @@ function AboutContent() {
920
964
size = "small"
921
965
href = "https://opencollective.com/mui"
922
966
endIcon = { < KeyboardArrowRightRounded /> }
967
+ sx = { { ml : - 1 } }
923
968
>
924
969
See Open Collective{ ' ' }
925
970
</ Button >
926
971
</ Widget >
927
972
</ Grid >
928
973
</ Grid >
929
974
</ Container >
975
+ < Divider />
930
976
< HeroEnd />
931
977
< Divider />
932
978
</ React . Fragment >
0 commit comments