Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several significant changes to enhance the functionality and user interface of the website. The most important changes include the addition of new sections in the
builder.php
template, the inclusion of a new ACF field group for Hero Options, and the enhancement of the Hero Section's styling in the SCSS file.Template Enhancements:
builder.php
: Added various new sections such as Hero, Slideshow, Text, Menu, Accordion, Rooms, Boxes, Features, Gallery, and Stats. Each section includes specific layout and content handling logic.ACF Field Group Addition:
functions.php
: Introduced a new ACF field group for Hero Options to manage hero image, title, tagline, and CTA button details.Styling Enhancements:
src/scss/main.scss
: Enhanced the Hero Section with optimized performance, responsive text scaling, and minimal repaints. Added styles for.hero-section
,.hero-image
,.hero-content
,.hero-title
,.hero-tagline
, and.hero-cta
.Dependency Update:
composer.json
: Addedphp-stubs/acf-pro-stubs
as a development dependency to improve the development environment.