File tree Expand file tree Collapse file tree
src/components/Contributors Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import React from 'react' ;
22import Data from '../../data/Contributors.json' ;
3- import Header from '../../components/Header/Header ' ;
3+ import Layout from '../../components/Layout/Layout ' ;
44import './css/index.css' ;
55
66function Contribute ( ) {
77 return (
8- < div >
9- < Header / >
8+ < Layout >
9+ < section className = 'flex flex-wrap justify-center' >
1010 {
1111 Data . map ( data =>
12- < div
13- id = "container"
14- className = "py-4 mb-4 col-span-12 md:col-span-6 xl:col-span-4 px-2 md:px-6 border-l-4 rounded-lg items-start bg-dark-secondary flex flex-col flex mt-8 items-center gap-2 px-3 py-2 border border-gray rounded-lg hover:border-primary hover:text-primary" >
15- < h1 > { data . name } </ h1 >
16- < img className = 'pfp' src = { data . image } />
17- < div className = "links" >
18- < a className = 'spf-link' href = { data . github } > Github</ a >
19- < a className = 'spf-link' href = { data . twiter } > Twiter</ a >
20- { /* spf-link : abbreviation of (specific-link) for css */ }
12+ < div
13+ id = "container"
14+ className = "py-4 mb-4 col-span-12 md:col-span-6 xl:col-span-4 md:px-6 border-l-4 rounded-lg bg-dark-secondary flex flex-col mt-8 items-center mx-auto gap-2 px-3 border-gray hover:border-primary hover:text-primary" >
15+ < h1 > { data . name } </ h1 >
16+ < img className = 'pfp' src = { data . image } />
17+ < div className = "links" >
18+ < a className = 'spf-link' href = { data . github } > Github</ a >
19+ < a className = 'spf-link' href = { data . twiter } > Twiter</ a >
20+ { /* spf-link : abbreviation of (specific-link) for css */ }
21+ </ div >
2122 </ div >
22- </ div >
2323 )
2424 }
25- </ div >
25+ </ section >
26+ </ Layout >
2627 )
2728}
2829
You can’t perform that action at this time.
0 commit comments