1- import Navigation from '@/components/Navigation' ;
2- import { Container , Paper , Stack , Typography } from '@mui/material' ;
1+ import { Paper , Stack , Typography } from '@mui/material' ;
32
43export default function Home ( ) {
54 const serviceSummary = {
@@ -17,45 +16,41 @@ export default function Home() {
1716 ] ;
1817
1918 return (
20- < Container component = 'main' >
21- < Navigation />
22- < Stack direction = { { sm : 'column' , md : 'row' } } gap = { 2 } mt = { 2 } >
19+ < Stack direction = { { sm : 'column' , md : 'row' } } gap = { 2 } mt = { 2 } >
20+ < Paper sx = { { p : 2 } } elevation = { 3 } >
21+ < Typography variant = 'body1' >
22+ The mission of Polygon is to provide platform for creation of
23+ programming contest problems. Polygon supports the whole development
24+ cycle:
25+ </ Typography >
26+ < ul className = 'list-disc list-inside' >
27+ < li > problem statement writing</ li >
28+ < li > test data preparing (generators supported)</ li >
29+ < li > model solutions (including correct and wittingly incorrect)</ li >
30+ < li > judging</ li >
31+ < li > automatic validation</ li >
32+ </ ul >
33+ </ Paper >
34+ < Stack direction = 'column' gap = { 2 } >
2335 < Paper sx = { { p : 2 } } elevation = { 3 } >
24- < Typography variant = 'body1' >
25- The mission of Polygon is to provide platform for creation of
26- programming contest problems. Polygon supports the whole development
27- cycle:
36+ < Typography variant = 'body2' >
37+ Registered users: { serviceSummary . numUsers }
38+ </ Typography >
39+ < Typography variant = 'body2' >
40+ Problems total: { serviceSummary . numProblems }
41+ </ Typography >
42+ < Typography variant = 'body2' >
43+ Invokers waiting: { serviceSummary . numInvokers }
2844 </ Typography >
29- { /* The following has to have a list using Tailwind CSS */ }
30- < ul className = 'list-disc list-inside' >
31- < li > problem statement writing</ li >
32- < li > test data preparing (generators supported)</ li >
33- < li > model solutions (including correct and wittingly incorrect)</ li >
34- < li > judging</ li >
35- < li > automatic validation</ li >
36- </ ul >
3745 </ Paper >
38- < Stack direction = 'column' gap = { 2 } >
39- < Paper sx = { { p : 2 } } elevation = { 3 } >
40- < Typography variant = 'body2' >
41- Registered users: { serviceSummary . numUsers }
42- </ Typography >
43- < Typography variant = 'body2' >
44- Problems total: { serviceSummary . numProblems }
46+ < Paper sx = { { p : 2 } } elevation = { 3 } data-testid = 'changelog' >
47+ { changeLogs . map ( ( log , index ) => (
48+ < Typography key = { index } variant = 'body2' >
49+ { log }
4550 </ Typography >
46- < Typography variant = 'body2' >
47- Invokers waiting: { serviceSummary . numInvokers }
48- </ Typography >
49- </ Paper >
50- < Paper sx = { { p : 2 } } elevation = { 3 } >
51- { changeLogs . map ( ( log , index ) => (
52- < Typography key = { index } variant = 'body2' >
53- { log }
54- </ Typography >
55- ) ) }
56- </ Paper >
57- </ Stack >
51+ ) ) }
52+ </ Paper >
5853 </ Stack >
59- </ Container >
54+ </ Stack >
6055 ) ;
6156}
0 commit comments