Uses of Class
io.mindspice.simplypages.modules.HeroModule
Packages that use HeroModule
-
Uses of HeroModule in io.mindspice.simplypages.modules
Methods in io.mindspice.simplypages.modules that return HeroModuleModifier and TypeMethodDescriptionHeroModule.centered()Centers all content in the hero section.static HeroModuleHeroModule.create()HeroModule.withBackgroundColor(String color) Sets raw CSS background color.HeroModule.withBackgroundImage(String imageUrl) Sets a background image using raw single-quoted CSS url() interpolation.HeroModule.withCustomContent(Component content) Adds custom content to the hero section.HeroModule.withDescription(String description) Sets the description text displayed below the subtitle.HeroModule.withModuleId(String moduleId) HeroModule.withPrimaryButton(String text, String url) Adds a primary CTA with an application-controlled or separately navigation-validated URL.HeroModule.withSecondaryButton(String text, String url) Adds a secondary CTA with an application-controlled or separately navigation-validated URL.HeroModule.withSubtitle(String subtitle) Sets the subtitle text displayed below the title.