From c2e86017bff430a305b70e6c6d58cd1c87e973c9 Mon Sep 17 00:00:00 2001 From: Adam Kudrna Date: Thu, 7 Sep 2023 18:30:59 +0200 Subject: [PATCH] Docs(web-twig): Demonstrate composition of `Header` with `Dropdown` --- .../components/Header/Header.stories.twig | 4 + .../HeaderInvertedWithActionsAndDropdown.twig | 92 +++++++++++++++++++ 2 files changed, 96 insertions(+) create mode 100644 packages/web-twig/src/Resources/components/Header/stories/HeaderInvertedWithActionsAndDropdown.twig diff --git a/packages/web-twig/src/Resources/components/Header/Header.stories.twig b/packages/web-twig/src/Resources/components/Header/Header.stories.twig index 5867c4f595..4278cca437 100644 --- a/packages/web-twig/src/Resources/components/Header/Header.stories.twig +++ b/packages/web-twig/src/Resources/components/Header/Header.stories.twig @@ -10,6 +10,10 @@ {% include '@components/Header/stories/HeaderInvertedWithActions.twig' %} + + {% include '@components/Header/stories/HeaderInvertedWithActionsAndDropdown.twig' %} + + {% include '@components/Header/stories/HeaderInvertedWithActionsAndDialog.twig' %} diff --git a/packages/web-twig/src/Resources/components/Header/stories/HeaderInvertedWithActionsAndDropdown.twig b/packages/web-twig/src/Resources/components/Header/stories/HeaderInvertedWithActionsAndDropdown.twig new file mode 100644 index 0000000000..162fd16c30 --- /dev/null +++ b/packages/web-twig/src/Resources/components/Header/stories/HeaderInvertedWithActionsAndDropdown.twig @@ -0,0 +1,92 @@ +
+ {% include '@components/Header/stories/_partials/SpiritLogo.twig' %} + + + + + + + Dashboard + Profile + Favourites + Notifications + Sign out + + + + + + + + + Job offers + + + Part-time jobs + + + Inspiration + + + Replies + + + Employers + + + + + + + + + Marian + + + + Dashboard + Profile + Favourites + Notifications + Sign out + + + + + +
+ + + + + + + Job offers + + + Part-time jobs + + + Inspiration + + + Replies + + + Employers + + + +