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,42 @@ 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+ { /* The following has to have a list using Tailwind CSS */ }
27+ < ul className = 'list-disc list-inside' >
28+ < li > problem statement writing</ li >
29+ < li > test data preparing (generators supported)</ li >
30+ < li > model solutions (including correct and wittingly incorrect)</ li >
31+ < li > judging</ li >
32+ < li > automatic validation</ li >
33+ </ ul >
34+ </ Paper >
35+ < Stack direction = 'column' gap = { 2 } >
2336 < 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:
37+ < Typography variant = 'body2' >
38+ Registered users: { serviceSummary . numUsers }
39+ </ Typography >
40+ < Typography variant = 'body2' >
41+ Problems total: { serviceSummary . numProblems }
42+ </ Typography >
43+ < Typography variant = 'body2' >
44+ Invokers waiting: { serviceSummary . numInvokers }
2845 </ 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 >
3746 </ 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 }
45- </ Typography >
46- < Typography variant = 'body2' >
47- Invokers waiting: { serviceSummary . numInvokers }
47+ < Paper sx = { { p : 2 } } elevation = { 3 } >
48+ { changeLogs . map ( ( log , index ) => (
49+ < Typography key = { index } variant = 'body2' >
50+ { log }
4851 </ 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 >
52+ ) ) }
53+ </ Paper >
5854 </ Stack >
59- </ Container >
55+ </ Stack >
6056 ) ;
6157}
0 commit comments