aemsites / momentive

AEM Sites Edge Delivery project for Momentive.com
Apache License 2.0
0 stars 0 forks source link

Implementing Tabs #57

Closed anuj-adobe closed 5 months ago

anuj-adobe commented 5 months ago

To create tabs, author will have to add one 'tabs-group' section (by adding style='tabs-group') as the parent along with a comma separated values of the tab names in the metadata. The next 'N' sections will be considered as the tabs content if the style is 'tab-content' and the tab-name is one of the name entered in tabs-group section.

Author doc 1: Single section under Tab

image

Author doc 2: Multiple sections under a Tab

https://tabs--momentive--aemsites.hlx.page/drafts/anuj/tabstest1

Fix #53

Test URLs:

aem-code-sync[bot] commented 5 months ago

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed. In case there are problems, just click a checkbox below to rerun the respective action.

Commits * [b2a77ab](https://github.com/aemsites/momentive/commit/b2a77aba5b56e329761252f188fecea76d7877ec) :white_check_mark: (latest) * [ae57d77](https://github.com/aemsites/momentive/commit/ae57d77cf60f0c304d0f0b5f0d036ff4836043f9) :white_check_mark:
aem-code-sync[bot] commented 5 months ago
Page Scores Audits Google
/drafts/anuj/tabstest PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
/drafts/anuj/tabstest1 PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI