name = esc_html__('Trip Chat', 'et_builder'); $this->icon = 'e'; // Optional: Divi icon for module } public function get_fields() { return array( 'supabase_url' => array( 'label' => esc_html__('Supabase URL', 'et_builder'), 'type' => 'text', 'option_category' => 'basic_option', 'description' => esc_html__('Enter your Supabase project URL.', 'et_builder'), ), 'supabase_key' => array( 'label' => esc_html__('Supabase Anon Key', 'et_builder'), 'type' => 'text', 'option_category' => 'basic_option', 'description' => esc_html__('Enter your Supabase anonymous key.', 'et_builder'), ), 'admin_password' => array( 'label' => esc_html__('Admin Password', 'et_builder'), 'type' => 'text', 'option_category' => 'basic_option', 'description' => esc_html__('Enter the admin password for trip registration.', 'et_builder'), ), ); } public function render($attrs, $content = null, $render_slug) { $supabase_url = $this->props['supabase_url']; $supabase_key = $this->props['supabase_key']; $admin_password = $this->props['admin_password']; $output = ''; $output .= ' '; $output .= '