public function set_fields()
{
$this->add_field(new acf_fields\text('Buttons list headline', 'headline', '1509052316y'));
$this->add_repeater((new acf_fields\repeater('Buttons', 'buttons', '1509052323a', ['button_label' => 'Add button']))->add_brick(new demo_button('button', '1509111350i')));
if (!isset($this->args['no_bg_color']) || !$this->args['no_bg_color']) {
$this->add_common_field('demo_background_color', '1509112010i');
}
$this->add_field(new acf_fields\image('Background image', 'bg_img', '1604292314a'));
}