refactor(ui): migrate Bootstrap 4 to Bootstrap 5 and update content #60
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refactor/bootstrap5-migration"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The vendored Bootstrap 4 partial tree (42 files under
src/_sass/vendor/bootstrap-custom/) is replaced with Bootstrap 5.3.3. Alltemplates are updated to the renamed utility classes (
fw-bold,text-start/text-end,ms-*/me-*,ps-*/pe-*,float-end,w-100), and site-local jumbotron styles are re-introduced in_layout.scsssince Bootstrap 5 dropped thatcomponent. Semantic HTML is corrected throughout:
<navbar>becomes<nav>, page content is wrapped in<main>,anchor-used-as-button elements are converted to
<button type="button">, and ARIA attributes are added to social icons.Two shared CTA partials (
contact-cta.htmlandlets-talk.html) are extracted for reuse across pages. Copy in both locales isupdated — "Project Manager" becomes "CTO", button labels and section titles are revised — and a
cookie.dismissi18n key is addedfor the cookie-consent dismiss button.
Update copy in both locales: rename "Project Manager" to "CTO" in the about-us experience blurb, soften the services header lead to include a call-to-action sentence, rename the about-us contact section title, and update button labels ("Learn more" / "Voglio saperne di più"). Add a cookie.dismiss i18n key used by the new dismiss button in the cookie-consent partial. Note: the template changes that render these strings (CTAs, button replacements, lets-talk include) are part of the preceding commit and must land first.