@@ -44,7 +44,7 @@ const Share = ({ cert }) => {
44
44
< link href = "https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900& display = swap " rel = "stylesheet" />
45
45
< link href = "https://fonts.googleapis.com/css2?family=Mrs+Saint+Delafield& display = swap " rel = "stylesheet" />
46
46
</ Head >
47
- < div className = "container-fluid share" >
47
+ < div className = "container-fluid share" style = { { maxWidth : '1280px' , margin : '0 auto' } } >
48
48
< div className = "row bg-light-blue" >
49
49
< div className = "col-md-12 col-12" >
50
50
< div className = " mb-3 mt-3 d-flex bg-green-success rounded align-items-center" >
@@ -60,16 +60,16 @@ const Share = ({ cert }) => {
60
60
</ div >
61
61
< div className = "container" >
62
62
< div className = "row pt-4 pb-4 d-flex justify-content-between" >
63
- < div className = "col-md-7 col-12" >
63
+ < div className = "col-md-7 col-12 p-0 " >
64
64
< div className = "row " >
65
- < div className = "col-sm-12 col-12 " >
65
+ < div className = "col-sm-12 col-12 p-0 " >
66
66
< h3 > { cert . specialty . name || strings [ "Full Stack Web Development" ] } </ h3 >
67
67
< p > { cert . specialty . description } </ p >
68
68
</ div >
69
69
</ div >
70
- < div className = "row " >
70
+ < div className = "row" >
71
71
< div className = "col-md-12 col-12 p-0" >
72
- < div className = "d-flex" >
72
+ < div className = "d-flex p-0 mb-3 " >
73
73
< div className = "mr-2" >
74
74
{ cert . user . avatar_url ? < img src = { cert . user . avatar_url } width = "40px" height = "40px" /> : SVGS . userIcon }
75
75
</ div >
@@ -81,7 +81,7 @@ const Share = ({ cert }) => {
81
81
</ div >
82
82
</ div >
83
83
< div className = "row" >
84
- < div className = "col-sm-4 col-12 d-flex" >
84
+ < div className = "col-sm-4 col-12 d-flex p-0 " >
85
85
< div className = "mr-2" >
86
86
{ SVGS . timeIcon }
87
87
</ div >
@@ -90,7 +90,7 @@ const Share = ({ cert }) => {
90
90
< p > { cert && cert . cohort . syllabus_version . duration_in_hours } { strings [ "Hours" ] } </ p >
91
91
</ div >
92
92
</ div >
93
- < div className = "col-sm-4 col-12 d-flex" >
93
+ < div className = "col-sm-4 col-12 d-flex p-0 " >
94
94
< div className = "mr-2" >
95
95
{ SVGS . calendarIcon }
96
96
</ div >
@@ -99,7 +99,7 @@ const Share = ({ cert }) => {
99
99
< p > { cert && dayjs ( cert . created_at ) . locale ( query . lang || "en" ) . format ( "DD MMMM YYYY" ) } </ p >
100
100
</ div >
101
101
</ div >
102
- < div className = "col-sm-4 col-12 d-flex" >
102
+ < div className = "col-sm-4 col-12 d-flex p-0 " >
103
103
< div className = "mr-2" >
104
104
{ SVGS . birrete }
105
105
</ div >
@@ -112,10 +112,10 @@ const Share = ({ cert }) => {
112
112
</ div >
113
113
< div className = "col-md-3 p-0" >
114
114
< div className = "row pb-2" >
115
- < div className = "col-12 p-0" >
115
+ < div className = "col-12 mt-3 mt-sm-0 p-0" >
116
116
< p > Share certificate</ p >
117
117
</ div >
118
- < div className = "col-md-12 col-12 d-flex justify-content-between p-0" >
118
+ < div className = "col-md-12 col-12 d-flex p-0" style = { { gap : '50px' , width : '200px' , justifyContent : 'center' } } >
119
119
< a
120
120
target = { "_blank" }
121
121
href = { `https://www.linkedin.com/sharing/share-offsite/?url=${ generateShareUrl ( ) } ` } >
@@ -131,11 +131,6 @@ const Share = ({ cert }) => {
131
131
href = { `https://twitter.com/intent/tweet?url=${ generateShareUrl ( ) } &text=Texto%20opcional` } >
132
132
{ SVGS . twitter }
133
133
</ a >
134
- < a
135
- target = { "_blank" }
136
- href = { `https://www.instagram.com` } >
137
- { SVGS . instagram }
138
- </ a >
139
134
</ div >
140
135
</ div >
141
136
< div className = "separator" >
0 commit comments