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

[#33] twig tailwind prettier #58

Draft
wants to merge 43 commits into
base: 5.x
Choose a base branch
from
Draft

Conversation

joshuapease
Copy link
Contributor

@joshuapease joshuapease commented Nov 11, 2024

An experimental branch to test the Twig Prettier extension.

TODO: Still need to sort out how to get Tailwind Formatting to work with .twig extension

Uses `vite-plugin-static-copy` to copy SVGs from src/icons

Macro inlines SVG files into page.
- Adds TW class for default site max width
- Uses both image & icon cards
- Simple is just Bold, Italic, Underline plus links
- Advanced has more options like headings, styles, lists, etc.
The nav has a max depth of 3 levels. This simplifies our markup since it doesn't have to be recursive
The desktop and mobile nav markup will be their own partials.
Instead of using a focus trap, we focus on the first element in the
sub nav, but allow you to tab out of the list. When focus
leaves, we pop the subnav.
TODO: Still needc to sort out how to get TW to work with .twig extension
Base automatically changed from jp/51-header-and-footer to jp/45-page-blocks-and-sections December 18, 2024 13:52
Base automatically changed from jp/45-page-blocks-and-sections to jp/44-base-ui-elements December 18, 2024 13:53
Base automatically changed from jp/44-base-ui-elements to 5.x December 18, 2024 13:54
@joshuapease joshuapease force-pushed the 5.x branch 2 times, most recently from ed9b9f8 to 6f1bd23 Compare January 17, 2025 14:50
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