1+ import React from 'react' ;
2+ import './editButton.css' ;
3+ import { MDBCol , MDBContainer , MDBRow , MDBCard , MDBCardText , MDBCardBody , MDBCardImage , MDBBtn , MDBTypography } from 'mdb-react-ui-kit' ;
4+
5+ export default function EditButton ( ) {
6+ return (
7+ < div className = "gradient-custom-2" style = { { backgroundColor : '#9de2ff' } } >
8+ < MDBContainer className = "py-5 h-100" >
9+ < MDBRow className = "justify-content-center align-items-center h-100" >
10+ < MDBCol lg = "9" xl = "7" >
11+ < MDBCard >
12+ < div className = "rounded-top text-white d-flex flex-row" style = { { backgroundColor : '#000' , height : '200px' } } >
13+ < div className = "ms-4 mt-5 d-flex flex-column" style = { { width : '150px' } } >
14+ < MDBCardImage src = "https://mdbcdn.b-cdn.net/img/Photos/new-templates/bootstrap-profiles/avatar-1.webp"
15+ alt = "Generic placeholder image" className = "mt-4 mb-2 img-thumbnail" fluid style = { { width : '150px' , zIndex : '1' } } />
16+ < MDBBtn outline color = "dark" style = { { height : '36px' } } >
17+ Edit profile
18+ </ MDBBtn >
19+ </ div >
20+ < div className = "ms-3" style = { { marginTop : '130px' } } >
21+ < MDBTypography tag = "h5" > Andy Horwitz</ MDBTypography >
22+ < MDBCardText > New York</ MDBCardText >
23+ </ div >
24+ </ div >
25+ < div className = "p-4 text-black" style = { { backgroundColor : '#f8f9fa' } } >
26+ < div className = "d-flex justify-content-end text-center py-1" >
27+ < div >
28+ < MDBCardText className = "mb-1 h5" > 253</ MDBCardText >
29+ < MDBCardText className = "small text-muted mb-0" > Photos</ MDBCardText >
30+ </ div >
31+ < div className = "px-3" >
32+ < MDBCardText className = "mb-1 h5" > 1026</ MDBCardText >
33+ < MDBCardText className = "small text-muted mb-0" > Followers</ MDBCardText >
34+ </ div >
35+ < div >
36+ < MDBCardText className = "mb-1 h5" > 478</ MDBCardText >
37+ < MDBCardText className = "small text-muted mb-0" > Following</ MDBCardText >
38+ </ div >
39+ </ div >
40+ </ div >
41+ < MDBCardBody className = "text-black p-4" >
42+ < div className = "mb-5" >
43+ < p className = "lead fw-normal mb-1" > About</ p >
44+ < div className = "p-4" style = { { backgroundColor : '#f8f9fa' } } >
45+ < MDBCardText className = "font-italic mb-1" > Web Developer</ MDBCardText >
46+ < MDBCardText className = "font-italic mb-1" > Lives in New York</ MDBCardText >
47+ < MDBCardText className = "font-italic mb-0" > Photographer</ MDBCardText >
48+ </ div >
49+ </ div >
50+ < div className = "d-flex justify-content-between align-items-center mb-4" >
51+ < MDBCardText className = "lead fw-normal mb-0" > Recent photos</ MDBCardText >
52+ < MDBCardText className = "mb-0" > < a href = "#!" className = "text-muted" > Show all</ a > </ MDBCardText >
53+ </ div >
54+ < MDBRow >
55+ < MDBCol className = "mb-2" >
56+ < MDBCardImage src = "https://mdbcdn.b-cdn.net/img/Photos/Lightbox/Original/img%20(112).webp"
57+ alt = "image 1" className = "w-100 rounded-3" />
58+ </ MDBCol >
59+ < MDBCol className = "mb-2" >
60+ < MDBCardImage src = "https://mdbcdn.b-cdn.net/img/Photos/Lightbox/Original/img%20(107).webp"
61+ alt = "image 1" className = "w-100 rounded-3" />
62+ </ MDBCol >
63+ </ MDBRow >
64+ < MDBRow className = "g-2" >
65+ < MDBCol className = "mb-2" >
66+ < MDBCardImage src = "https://mdbcdn.b-cdn.net/img/Photos/Lightbox/Original/img%20(108).webp"
67+ alt = "image 1" className = "w-100 rounded-3" />
68+ </ MDBCol >
69+ < MDBCol className = "mb-2" >
70+ < MDBCardImage src = "https://mdbcdn.b-cdn.net/img/Photos/Lightbox/Original/img%20(114).webp"
71+ alt = "image 1" className = "w-100 rounded-3" />
72+ </ MDBCol >
73+ </ MDBRow >
74+ </ MDBCardBody >
75+ </ MDBCard >
76+ </ MDBCol >
77+ </ MDBRow >
78+ </ MDBContainer >
79+ </ div >
80+ ) ;
81+ }
0 commit comments