I need help to make a menu/submenu with LVGL in esphome

I created a project called esphome-modular-lvgl-buttons. It can be used to create complex button panels with only a few lines of code. You can add a button that goes to another LVGL “page” so a button called “weather” can be used to switch to weather page.

esphome-modular-lvgl-buttons

This is an example of what it looks like on a 480px touch screen