Skip to content

Update/fe pattern updates - #127

Merged
rbhensley merged 2 commits into
masterfrom
update/fe-pattern-updates
Sep 16, 2026
Merged

rbhensley merged 2 commits into
masterfrom
update/fe-pattern-updates

Conversation

@rbhensley

Copy link
Copy Markdown
Contributor

All updates focus on the base front end setup for templates and patterns. Focus was on html and css with a little bit of added js functionality for news filtering.

  • updated base styles for a bunch of stuff
  • updated news landing base layout and filter functionality (matches sprig more or less for structure and streamlines post cards to 1 style)
  • added image content rows
  • updated base acf for the homepage
  • added appropriate base crop sizes
  • made some pagination updates for ada and cleaner base styles
  • cleaned up base search layout

h5, .h5{ font-size: ~'clamp(@{font-size-h5-m}, 1rem + 0.5vw, @{font-size-h5})'; }
h6, .h6{ font-size: ~'clamp(@{font-size-h6-m}, 0.875rem + 0.5vw, @{font-size-h6})'; }
//max fontsize value at 1100px, min fontsize value at 700px
h1, .h1{ font-size: ~'clamp(@{font-size-h1-m}, 0.781rem + 2.5vw, @{font-size-h1})'; } //clamp(1.875rem, 0.781rem + 2.5vw, 2.5rem)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want to have a comment with the link to minmax actual numbers?

{% set imageHeight = attribute(imageSizes, crop).height %}

<img loading="lazy"{{ class ? ' class="' ~ class ~ '"' }} src="{{ image.src(crop) }}" {{ generate_retina_srcset(image.src(crop), 2) }} alt="{{ image.alt() }}" width="{{ imageWidth }}px" height="{{ imageHeight }}px" />
<img loading="lazy"{{ class ? ' class="' ~ class ~ '"' }} src="{{ image.src(crop) }}" {{ generate_retina_srcset(image.src(crop), 2) }} alt="{{ customAlt|default(image.alt()) }}" width="{{ imageWidth }}" height="{{ imageHeight }}" />

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need the px? If not we need to update sprig too?

@digitalNightingale digitalNightingale left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added two comments with questions, but approving the PR

@rbhensley
rbhensley merged commit 503ef4d into master Sep 16, 2026
1 check passed
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.

2 participants