1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2024-11-27 06:58:55 +00:00
bedrock-samples/resource_pack/ui/realmsPlus_sections/landing_section.json
Mike Ammerlaan 1440438305 v1.21.30.3
2024-09-17 09:13:33 -07:00

561 lines
15 KiB
JSON

{
"namespace": "realmsPlus_landing",
"landing_content_section@realmsPlus.section_base": {
"controls": [
{
"landing_content": {
"type": "stack_panel",
"size": [ "100%", "100%c" ],
"controls": [
{
"title_stack@realmsPlus_landing.title_stack": {}
},
{
"vertical_small_spacer_0@realmsPlus_landing.vertical_small_spacer": {}
},
{
"divider_panel": {
"ignored": "$pre_release",
"type": "panel",
"size": [ "100%", "100%c" ],
"controls": [
{
"section_divider@common.section_divider": {
"$divider_size": [ "100% - 2px", 1 ]
}
}
]
}
},
{
"vertical_small_spacer_1@realmsPlus_landing.vertical_small_spacer": {}
},
{
"info_stack@realmsPlus_landing.info_stack": {}
},
{
"vertical_small_spacer_2@realmsPlus_landing.vertical_small_spacer": {
"size": [ "100%", 4 ]
}
}
]
}
}
]
},
"horizontal_small_spacer": {
"type": "panel",
"size": [ 2, 0 ]
},
"vertical_small_spacer": {
"type": "panel",
"size": [ 0, 2 ]
},
"vertical_med_spacer": {
"type": "panel",
"size": [ 0, 4 ]
},
"vertical_large_spacer": {
"type": "panel",
"size": [ 0, 8 ]
},
"title_stack": {
"type": "stack_panel",
"size": [ "100%", "100%c" ],
"controls": [
{
"title_image_panel@realmsPlus_landing.title_image_panel": {}
},
{
"gradient_panel": {
"type": "panel",
"size": [ "100%", "100%c" ],
"controls": [
{
"label_with_gradient_wrapper@common.tts_label_focus_wrapper": {
"size": [ "100% - 6px", 15 ],
"$tts_label_panel": "realmsPlus_landing.label_with_gradient"
}
}
],
"bindings": [
{
"binding_name": "#realms_plus_one_month_free_trial_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"vertical_space@realmsPlus_landing.vertical_small_spacer": {
"bindings": [
{
"binding_name": "#realms_plus_one_month_free_trial_visible",
"binding_name_override": "#visible"
}
]
}
},
{
"action_button@realmsPlus_buy.buy_button_panel": {
"ignored": "$pre_release",
"$pressed_button_name": "button.action_button",
"bindings": [
{
"binding_name": "#buy_visible",
"binding_name_override": "#visible"
}
],
"$buy_now_bindings": [
]
}
},
{
"sign_in_button@realmsPlus_buy.buy_button_panel": {
"$pressed_button_name": "button.signin",
"bindings": [
{
"binding_name": "#sign_in_visible",
"binding_name_override": "#visible"
}
],
"$buy_now_bindings": [
]
}
},
{
"vertical_space2@realmsPlus_landing.vertical_small_spacer": {
"bindings": [
{
"binding_name": "(not #realms_plus_one_month_free_trial_visible)",
"binding_name_override": "#visible"
}
]
}
}
]
},
"label_with_gradient@realmsPlus.gradient_content_panel": {
"$gradient_content": "realmsPlus_landing.free_trial_text"
},
"free_trial_text": {
"type": "label",
"size": [ "100% - 6 px", "default" ],
"text": "#free_trial_header_text",
"color": "$store_white_text_color",
"bindings": [
{
"binding_name": "#free_trial_header_text"
}
]
},
"title_image_panel": {
"type": "panel",
"size": [ "100%", "100%c" ],
"controls": [
{
"title_image_container": {
"ignored": "$pre_release",
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100%", "100%cm" ],
"controls": [
{
"title_image": {
"type": "image",
"size": [ "43.86%", "38.162%x" ],
"texture": "textures/ui/realms_title"
}
},
{
"title_art_image": {
"type": "image",
"size": [ "56.14%", "30.12%x" ],
"texture": "textures/ui/realms_header_art"
}
}
]
}
},
{
"title_image_pre_release_container": {
"ignored": "(not $pre_release)",
"type": "panel",
"size": [ "100%", "60%c" ],
"controls": [
{
"title_image_pre_release": {
"type": "image",
"size": [ 220, "38%x" ],
"texture": "textures/ui/realms_title"
}
}
]
}
}
]
},
"info_stack": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100% - 3px", "100%cm" ],
"controls": [
{
"info_stack": {
"type": "panel",
"size": [ "fill", "100%c" ],
"controls": [
{
"info_description_stack_retail@realmsPlus_landing.info_description_stack_retail": {
"ignored": "$pre_release",
"size": [ "100%", "100%c" ]
}
},
{
"info_description_stack_preview@realmsPlus_landing.info_description_stack_prerelease": {
"ignored": "(not $pre_release)",
"size": [ "100%", "100%c" ]
}
}
]
}
}
]
},
"info_description_stack_retail": {
"type": "stack_panel",
"controls": [
{
"info_section_stack_1@realmsPlus_landing.info_section_stack": {
"controls": [
{
"horizontal_small_spacer@realmsPlus_landing.horizontal_small_spacer": {}
},
{
"info_section_text_1_wrapper@common.tts_label_focus_wrapper": {
"$tts_label_panel": "realmsPlus_landing.info_section_text_1"
}
}
]
}
},
{
"vertical_med_spacer0@realmsPlus_landing.vertical_med_spacer": {}
},
{
"divider_centering_panel": {
"type": "panel",
"size": [ "100%", "100%c" ],
"controls": [
{
"divider@common.section_divider": {
"offset": [ 0.5, 0 ],
"$divider_size": [ "100%", 1 ]
}
}
]
}
},
{
"vertical_med_spacer1@realmsPlus_landing.vertical_med_spacer": {}
},
{
"info_section_stack_recently_added@realmsPlus_landing.info_section_stack": {
"controls": [
{
"horizontal_small_spacer@realmsPlus_landing.horizontal_small_spacer": {}
},
{
"info_section_text_recently_added_wrapper@common.tts_label_focus_wrapper": {
"$tts_label_panel": "realmsPlus_landing.info_section_text_recently_added"
}
}
]
}
},
{
"vertical_med_spacer2@realmsPlus_landing.vertical_med_spacer": {}
},
{
"divider_centering_panel2": {
"type": "panel",
"size": [ "100%", "100%c" ],
"controls": [
{
"divider2@common.section_divider": {
"offset": [ 0.5, 0 ],
"$divider_size": [ "100%", 1 ]
}
}
]
}
},
{
"vertical_med_spacer3@realmsPlus_landing.vertical_med_spacer": {}
},
{
"info_section_stack_2@realmsPlus_landing.info_section_stack": {
"controls": [
{
"horizontal_small_spacer@realmsPlus_landing.horizontal_small_spacer": {}
},
{
"info_section_text_2_wrapper@common.tts_label_focus_wrapper": {
"$tts_label_panel": "realmsPlus_landing.info_section_text_2"
}
}
]
}
}
]
},
"info_description_stack_prerelease": {
"type": "panel",
"controls": [
{
"info_section_stack@realmsPlus_landing.info_section_stack": {
"controls": [
{
"horizontal_large_spacer": {
"type": "panel",
"size": [ 4, 0 ]
}
},
{
"info_section_text_3_wrapper@common.tts_label_focus_wrapper": {
"$tts_label_panel": "realmsPlus_landing.info_section_text_3"
}
}
]
}
}
]
},
"info_section_stack": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100%", "100%cm" ]
},
"info_section_text_1@realmsPlus_landing.info_section_text": {
"controls": [
{
"info_text_bullet_1@realmsPlus_landing.info_text_bullet": {
"$info_text_line": "store.realmsPlus.landing.info1.line1"
}
},
{
"vertical_small_spacer_0@realmsPlus_landing.vertical_small_spacer": {}
},
{
"info_text_bullet_2@realmsPlus_landing.info_text_bullet": {
"$info_text_line": "store.realmsPlus.landing.info1.line2"
}
},
{
"vertical_small_spacer_1@realmsPlus_landing.vertical_small_spacer": {}
},
{
"info_text_bullet_3@realmsPlus_landing.info_text_bullet": {
"$info_text_line": "store.realmsPlus.landing.info1.line3"
}
}
]
},
"info_section_text_recently_added@realmsPlus_landing.info_section_text": {
"controls": [
{
"recently_added_header": {
"type": "label",
"text": "store.realmsPlus.landing.info2.recentlyAdded",
"size": [ "100%", "default" ],
"font_type": "smooth",
"color": "$csb_upsell_pink-3"
}
},
{
"info_text_bullet_contentSub@realmsPlus_landing.info_section_text": {
"controls": [
{
"vertical_small_spacer_0@realmsPlus_landing.vertical_small_spacer": {}
},
{
"info_text_bullet_0@realmsPlus_landing.info_text_bullet": {
"$info_text_line": "store.realmsPlus.landing.info2.contentSub"
}
}
]
}
},
{
"vertical_small_spacer_1@realmsPlus_landing.vertical_small_spacer": {}
},
{
"info_text_bullet_1@realmsPlus_landing.info_text_bullet": {
"$info_text_line": "store.realmsPlus.landing.info2.persona"
}
},
{
"vertical_small_spacer_2@realmsPlus_landing.vertical_small_spacer": {}
},
{
"info_text_bullet_2@realmsPlus_landing.info_text_bullet": {
"$info_text_line": "store.realmsPlus.landing.info2.social"
}
}
]
},
"info_section_text_2@realmsPlus_landing.info_section_text": {
"controls": [
{
"info_text_bullet_2@realmsPlus_landing.info_text_bullet": {
"$info_text_line": "store.realmsPlus.landing.info2.backups"
}
},
{
"vertical_small_spacer_0@realmsPlus_landing.vertical_small_spacer": {}
},
{
"info_text_bullet_3@realmsPlus_landing.info_text_bullet": {
"$info_text_line": "store.realmsPlus.landing.info2.renews"
}
},
{
"vertical_small_spacer_1@realmsPlus_landing.vertical_small_spacer": {}
},
{
"info_text_bullet_4@realmsPlus_landing.info_text_bullet": {
"$info_text_line": "store.realmsPlus.landing.info2.cancel"
}
},
{
"info_text_bullet_notFreeTrial@realmsPlus_landing.info_section_text": {
"controls": [
{
"vertical_small_spacer@realmsPlus_landing.vertical_small_spacer": {}
},
{
"info_text_bullet_4@realmsPlus_landing.info_text_bullet": {
"$info_text_line": "#landing_info_subscribe",
"$text_bindings": [
{
"binding_name": "#landing_info_subscribe"
}
]
}
}
],
"bindings": [
{
"binding_name": "#sign_in_visible",
"binding_name_override": "#visible"
}
]
}
}
]
},
"info_section_text_3@realmsPlus_landing.info_section_text": {
"controls": [
{
"info_text_unbulletted_1@realmsPlus_landing.info_text_unbulletted": {
"$info_text_line": "#landing_info_preview_line_1"
}
},
{
"vertical_large_spacer_0@realmsPlus_landing.vertical_large_spacer": {}
},
{
"info_text_unbulletted_2@realmsPlus_landing.info_text_unbulletted": {
"$info_text_line": "#landing_info_preview_line_2"
}
},
{
"vertical_large_spacer_1@realmsPlus_landing.vertical_large_spacer": {}
},
{
"info_text_unbulletted_3@realmsPlus_landing.info_text_unbulletted": {
"$info_text_line": "#landing_info_preview_line_3"
}
},
{
"vertical_large_spacer_2@realmsPlus_landing.vertical_large_spacer": {}
},
{
"info_text_unbulletted_4@realmsPlus_landing.info_text_unbulletted": {
"$info_text_line": "#landing_info_preview_line_4"
}
}
]
},
"info_section_text": {
"type": "stack_panel",
"size": [ "100%", "100%c" ]
},
"info_text_bullet": {
"type": "stack_panel",
"orientation": "horizontal",
"size": [ "100%", "100%cm" ],
"$text_bindings|default": [],
"controls": [
{
"info_text_bullet_bullet": {
"type": "label",
"text": "- ",
"font_type": "smooth",
"color": "$store_white_text_color"
}
},
{
"info_text_bullet_body": {
"type": "label",
"text": "$info_text_line",
"size": [ "fill", "default" ],
"font_type": "smooth",
"color": "$store_white_text_color",
"bindings": "$text_bindings"
}
}
]
},
"info_text_unbulletted": {
"type": "panel",
"size": [ "100%", "100%cm" ],
"controls": [
{
"info_text_bullet_body": {
"type": "label",
"text": "$info_text_line",
"size": [ "100%", "default" ],
"font_type": "smooth",
"color": "$store_white_text_color",
"bindings": [
{
"binding_name": "$info_text_line"
}
]
}
}
]
}
}