File tree Expand file tree Collapse file tree
backend/firebase/functions/src/utilities Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,12 +17,12 @@ export const generateCodeWithCodingCatCoverURL = async ({
1717 fetch_format : 'jpg' ,
1818 transformation : [
1919 {
20- width : 990 ,
20+ width : 1090 ,
2121 color : '#FBFBFB' ,
22- y : '550 ' ,
23- x : '75 ' ,
22+ y : '0 ' ,
23+ x : '100 ' ,
2424 crop : 'fit' ,
25- gravity : 'north_west ' ,
25+ gravity : 'west ' ,
2626 overlay : {
2727 text : title ,
2828 font_family : 'Nunito' ,
@@ -31,33 +31,6 @@ export const generateCodeWithCodingCatCoverURL = async ({
3131 line_spacing : '-10' ,
3232 } ,
3333 } ,
34- {
35- color : '#FBFBFB' ,
36- y : '10' ,
37- x : '0' ,
38- crop : 'fit' ,
39- gravity : 'north' ,
40- background : '#D11663' ,
41- radius : '8:50' ,
42- border : '30px_solid_rgb:D11663' ,
43- overlay : {
44- font_family : 'Nunito' ,
45- font_size : 65 ,
46- text : guestName ,
47- font_weight : 'bold' ,
48- text_align : 'left' ,
49- } ,
50- } ,
51- {
52- overlay : guestImagePublicId . split ( '/' ) . join ( ':' ) ,
53- height : '250' ,
54- width : '250' ,
55- y : '180' ,
56- x : '0' ,
57- gravity : 'north' ,
58- crop : 'fill' ,
59- border : '5px_solid_rgb:FBFBFB' ,
60- } ,
6134 ] ,
6235 } ) ;
6336
@@ -81,27 +54,24 @@ export const generatePurrfectDevCoverURL = async ({
8154 guestImagePublicId : string ;
8255 folder : string ;
8356} ) => {
84- const url = cloudinary . url ( `${ folder } /Season2Background ` , {
57+ const url = cloudinary . url ( `${ folder } /codingcatdev-podcast-season2 ` , {
8558 quality : 'auto' ,
8659 fetch_format : 'jpg' ,
8760 transformation : [
8861 {
8962 width : 1200 ,
9063 color : '#FBFBFB' ,
91- y : '60 ' ,
92- x : '0 ' ,
64+ y : '59 ' ,
65+ x : '87 ' ,
9366 crop : 'fit' ,
94- gravity : 'north' ,
95- background : '#4B0A75' ,
96- radius : '8:50' ,
97- border : '5px_solid_rgb:4B0A75' ,
67+ gravity : 'north_west' ,
9868 overlay : {
9969 text : title ,
10070 font_family : 'Nunito' ,
101- font_size : 100 ,
71+ font_size : 96 ,
10272 font_weight : 'black' ,
10373 line_spacing : '-10' ,
104- text_align : 'center ' ,
74+ text_align : 'left ' ,
10575 } ,
10676 } ,
10777 {
You can’t perform that action at this time.
0 commit comments