| 
				
			 | 
			
			
				@@ -85,6 +85,7 @@ class EsgResource extends Resource 
			 | 
		
	
		
			
			| 
				85
			 | 
			
				85
			 | 
			
			
				                                 2 => "區塊文字", 
			 | 
		
	
		
			
			| 
				86
			 | 
			
				86
			 | 
			
			
				                                 3 => "表格", 
			 | 
		
	
		
			
			| 
				87
			 | 
			
				87
			 | 
			
			
				                                 4 => "圖片", 
			 | 
		
	
		
			
			| 
				
			 | 
			
				88
			 | 
			
			
				+                                5 => "影片", 
			 | 
		
	
		
			
			| 
				88
			 | 
			
				89
			 | 
			
			
				                             ])->label("")->default(1)->Live(), 
			 | 
		
	
		
			
			| 
				89
			 | 
			
				90
			 | 
			
			
				                             Group::make()->schema([ 
			 | 
		
	
		
			
			| 
				90
			 | 
			
				91
			 | 
			
			
				                                 Translate::make()->schema(fn (string $locale) => [ 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -329,6 +330,18 @@ class EsgResource extends Resource 
			 | 
		
	
		
			
			| 
				329
			 | 
			
				330
			 | 
			
			
				                                     ->orderColumn('order') 
			 | 
		
	
		
			
			| 
				330
			 | 
			
				331
			 | 
			
			
				                                 ]) 
			 | 
		
	
		
			
			| 
				331
			 | 
			
				332
			 | 
			
			
				                             ])->visible(fn (Get $get):bool => $get("type") == 4), 
			 | 
		
	
		
			
			| 
				
			 | 
			
				333
			 | 
			
			
				+                            Group::make()->schema([ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				334
			 | 
			
			
				+                                Section::make("")->schema([ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				335
			 | 
			
			
				+                                    FileUpload::make('content.video_img')->label("影片底圖") 
			 | 
		
	
		
			
			| 
				
			 | 
			
				336
			 | 
			
			
				+                                    ->disk("public") 
			 | 
		
	
		
			
			| 
				
			 | 
			
				337
			 | 
			
			
				+                                    ->directory("esg/paragraphVideo") 
			 | 
		
	
		
			
			| 
				
			 | 
			
				338
			 | 
			
			
				+                                    ->helperText('建議寬高限制為:2000*720px,出血寬度720px,主要圖像範圍為:1280*720px,檔案大小限制為1M以下')->maxSize('1024'), 
			 | 
		
	
		
			
			| 
				
			 | 
			
				339
			 | 
			
			
				+                                    TextInput::make('content.link')->label("網址")->nullable(), 
			 | 
		
	
		
			
			| 
				
			 | 
			
				340
			 | 
			
			
				+                                    Translate::make()->schema(fn (string $locale) => [ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				341
			 | 
			
			
				+                                        TextInput::make('content.video_alt')->label("影片註文"), 
			 | 
		
	
		
			
			| 
				
			 | 
			
				342
			 | 
			
			
				+                                    ])->locales(["zh_TW", "en"]) 
			 | 
		
	
		
			
			| 
				
			 | 
			
				343
			 | 
			
			
				+                                ]), 
			 | 
		
	
		
			
			| 
				
			 | 
			
				344
			 | 
			
			
				+                            ])->visible(fn (Get $get):bool => $get("type") == 5), 
			 | 
		
	
		
			
			| 
				332
			 | 
			
				345
			 | 
			
			
				                         ]) 
			 | 
		
	
		
			
			| 
				333
			 | 
			
				346
			 | 
			
			
				                         ->relationship("paragraphs") 
			 | 
		
	
		
			
			| 
				334
			 | 
			
				347
			 | 
			
			
				                         ->addActionLabel('新增段落') 
			 |