Skip to content

Commit

Permalink
Simplify implementation of homepage layout and styles (#6350)
Browse files Browse the repository at this point in the history
- Removes reliance on bootstrap classes for layout and responsiveness.
- Stops using bootstrap-provided mixins and other utilities.
- Remove some unnecessary div nesting.
- Rely on same elements for narrow and wide layouts so that it's not
required to update two locations.
- Adds a missing missing aria attributes where necessary to improve
accessibility.
- Other general cleanup.

Contributes to #4164
Contributes to #5251
  • Loading branch information
parlough authored Jan 23, 2025
1 parent a5a97d1 commit 41dfddc
Show file tree
Hide file tree
Showing 5 changed files with 406 additions and 660 deletions.
14 changes: 9 additions & 5 deletions src/_layouts/homepage.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@
{% render 'cookie-notice.html' %}
{% render 'gtags.html' %}
{% include 'page-header.html' %}
{% include 'navigation-side.html' %}
<main id="page-content" class="focused">
{{content}}
</main>
{% render 'page-footer.html' %}
<div id="site-below-header">
<div id="site-main-row">
{% include 'navigation-side.html' %}
<main id="page-content" class="focused">
{{content}}
</main>
</div>
{% render 'page-footer.html' %}
</div>
</body>
</html>
Loading

0 comments on commit 41dfddc

Please sign in to comment.