11import React from "react" ;
2- import NavBar from "../../components/Navs/Navbar" ;
32import { createStyles , makeStyles } from "@material-ui/core/styles" ;
4- import { Container , Typography } from "@material-ui/core" ;
5- import DomainCard from "src/components/Cards/DomainCard" ;
3+ import { Typography } from "@material-ui/core" ;
4+ import Nav2 from "src/components/Navs/Nav_v2" ;
5+ import DomainCard2 from "src/components/Cards/DomainCard_v2" ;
66import { teamlist } from "./teamlist" ;
77
88const useStyles = makeStyles ( ( ) =>
99 createStyles ( {
1010 root : {
1111 minHeight : "100vh" ,
12+ display : "flex" ,
13+ flexDirection : "column" ,
14+ alignItems : "center" ,
15+ } ,
16+ heading : {
17+ fontFamily : "var(--heading-font)" ,
18+ fontSize : "4rem" ,
19+ textTransform : "uppercase" ,
20+ color : "rgba(255, 255, 255, 0.9)" ,
21+ textShadow : "-4px 4px 4px #10ABC2" ,
22+ } ,
23+ subHeading : {
24+ color : "rgba(255, 255, 255, 0.75)" ,
25+ fontFamily : "monospace" ,
1226 } ,
1327 title : {
14- margin : "4vh" ,
15- color : "white" ,
16- fontWeight : "bold" ,
17- fontSize : "1.7rem" ,
28+ marginBottom : "5vh" ,
29+ marginTop : "8vh" ,
30+ fontFamily : "var(--heading-font)" ,
31+ fontSize : "2.5rem" ,
32+ textTransform : "uppercase" ,
33+ color : "rgba(255, 255, 255, 0.9)" ,
34+ textShadow : "-4px 4px 4px #10ABC2" ,
1835 } ,
1936 flexbox : {
20- flexGrow : 1 ,
37+ width : "90vw" ,
2138 display : "flex" ,
2239 justifyContent : "space-around" ,
2340 flexWrap : "wrap" ,
@@ -27,61 +44,69 @@ const useStyles = makeStyles(() =>
2744const Domains : React . FC = ( ) => {
2845 const classes = useStyles ( ) ;
2946 return (
30- < div className = { classes . root } >
31- < NavBar />
32-
33- < Container >
47+ < div >
48+ < Nav2 />
49+ < div className = { classes . root } >
50+ < Typography className = { classes . heading } align = "center" >
51+ We are everywhere
52+ </ Typography >
53+ < Typography className = { classes . subHeading } align = "center" >
54+ { "<p>From web to app, AI to ML, Blockchain to DevOps</p>" }
55+ </ Typography >
3456 < Typography className = { classes . title } align = "center" >
35- Coordinator
57+ COORDINATOR
3658 </ Typography >
37- < Container className = { classes . flexbox } >
59+ < div className = { classes . flexbox } >
3860 { teamlist . map ( ( e , i ) => {
3961 if ( e . team === "coordinator" ) {
40- return < DomainCard key = { i } { ...e } /> ;
62+ return < DomainCard2 key = { i } { ...{ ...e , team : "Coordinator" } } /> ;
63+ } else {
64+ return < > </ > ;
4165 }
42- return null ;
4366 } ) }
44- </ Container >
45- </ Container >
46- < Container >
67+ </ div >
4768 < Typography className = { classes . title } align = "center" >
48- Co-Coordinator
69+ CO-COORDINATOR
4970 </ Typography >
50- < Container className = { classes . flexbox } >
71+ < div className = { classes . flexbox } >
5172 { teamlist . map ( ( e , i ) => {
5273 if ( e . team === "coco" ) {
53- return < DomainCard key = { i } { ...e } /> ;
74+ return < DomainCard2 key = { i } { ...{ ...e , team : "Coco" } } /> ;
75+ } else {
76+ return < > </ > ;
5477 }
55- return null ;
5678 } ) }
57- </ Container >
58- </ Container >
59- < Container >
79+ </ div >
6080 < Typography className = { classes . title } align = "center" >
61- Developers
81+ DEVELOPERS
6282 </ Typography >
63- < Container className = { classes . flexbox } >
83+ < div className = { classes . flexbox } >
6484 { teamlist . map ( ( e , i ) => {
6585 if ( e . team === "dev" ) {
66- return < DomainCard key = { i } { ...e } /> ;
86+ return < DomainCard2 key = { i } { ...{ ...e , team : "Developer" } } /> ;
87+ } else {
88+ return < > </ > ;
6789 }
68- return null ;
6990 } ) }
70- </ Container >
71- </ Container >
72- < Container >
91+ </ div >
7392 < Typography className = { classes . title } align = "center" >
74- Competitive Programmers
93+ COMPETITIVE PROGRAMMERS
7594 </ Typography >
76- < Container className = { classes . flexbox } >
95+ < div className = { classes . flexbox } >
7796 { teamlist . map ( ( e , i ) => {
7897 if ( e . team === "cp" ) {
79- return < DomainCard key = { i } { ...e } /> ;
98+ return (
99+ < DomainCard2
100+ key = { i }
101+ { ...{ ...e , team : "Competitive Programmer" } }
102+ />
103+ ) ;
104+ } else {
105+ return < > </ > ;
80106 }
81- return null ;
82107 } ) }
83- </ Container >
84- </ Container >
108+ </ div >
109+ </ div >
85110 </ div >
86111 ) ;
87112} ;
0 commit comments