|
3 | 3 | app()->booted(function () { |
4 | 4 | theme_option() |
5 | 5 | ->setField([ |
6 | | - 'id' => 'copyright', |
| 6 | + 'id' => 'copyright', |
7 | 7 | 'section_id' => 'opt-text-subsection-general', |
8 | | - 'type' => 'text', |
9 | | - 'label' => __('Copyright'), |
| 8 | + 'type' => 'text', |
| 9 | + 'label' => __('Copyright'), |
10 | 10 | 'attributes' => [ |
11 | | - 'name' => 'copyright', |
12 | | - 'value' => __('© :year Your Company. All right reserved.', ['year' => now()->format('Y')]), |
| 11 | + 'name' => 'copyright', |
| 12 | + 'value' => __('© :year Your Company. All right reserved.', ['year' => now()->format('Y')]), |
13 | 13 | 'options' => [ |
14 | | - 'class' => 'form-control', |
15 | | - 'placeholder' => __('Change copyright'), |
| 14 | + 'class' => 'form-control', |
| 15 | + 'placeholder' => __('Change copyright'), |
16 | 16 | 'data-counter' => 250, |
17 | 17 | ], |
18 | 18 | ], |
19 | | - 'helper' => __('Copyright on footer of site'), |
| 19 | + 'helper' => __('Copyright on footer of site'), |
20 | 20 | ]) |
21 | 21 | ->setField([ |
22 | | - 'id' => 'primary_font', |
| 22 | + 'id' => 'primary_font', |
23 | 23 | 'section_id' => 'opt-text-subsection-general', |
24 | | - 'type' => 'googleFonts', |
25 | | - 'label' => __('Primary font'), |
| 24 | + 'type' => 'googleFonts', |
| 25 | + 'label' => __('Primary font'), |
26 | 26 | 'attributes' => [ |
27 | | - 'name' => 'primary_font', |
| 27 | + 'name' => 'primary_font', |
28 | 28 | 'value' => 'Roboto', |
29 | 29 | ], |
30 | 30 | ]) |
31 | 31 | ->setField([ |
32 | | - 'id' => 'primary_color', |
| 32 | + 'id' => 'primary_color', |
33 | 33 | 'section_id' => 'opt-text-subsection-general', |
34 | | - 'type' => 'customColor', |
35 | | - 'label' => __('Primary color'), |
| 34 | + 'type' => 'customColor', |
| 35 | + 'label' => __('Primary color'), |
36 | 36 | 'attributes' => [ |
37 | | - 'name' => 'primary_color', |
| 37 | + 'name' => 'primary_color', |
38 | 38 | 'value' => '#ff2b4a', |
39 | 39 | ], |
40 | 40 | ]); |
|
0 commit comments