Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Builder Hero Section #2

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Builder Hero Section #2

wants to merge 7 commits into from

Conversation

jasperf
Copy link
Contributor

@jasperf jasperf commented Dec 16, 2024

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.
  • NB Only Hero section is improvement upon parent theme here.

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: Added php-stubs/acf-pro-stubs as a development dependency to improve the development environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant