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

Try using AMP-based nav menu in non-AMP pages #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

westonruter
Copy link

As noted in ampproject/amphtml#15583 the AMP project plans to directly supporting the use of AMP components outside of AMP pages. In this way, the amp-sidebar and amp-accordion can be used as web components in a vanilla HTML pages, and there is no need maintain separate non-AMP implementations.

In anticipation of this, this PR shows how it can be done. As can be seen in testing, it actually works fine. The only thing is that it is not officially supported yet, though support is improving this year.

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