diff --git a/theme_bookstore/__manifest__.py b/theme_bookstore/__manifest__.py index 20a7156aa..cd831ae20 100644 --- a/theme_bookstore/__manifest__.py +++ b/theme_bookstore/__manifest__.py @@ -58,6 +58,8 @@ 'views/snippets/s_shape_image.xml', 'views/snippets/s_images_constellation.xml', 'views/snippets/s_text_cover.xml', + 'views/snippets/s_accordion.xml', + 'views/snippets/s_accordion_image.xml', 'views/new_page_template.xml', ], 'images': [ @@ -65,18 +67,18 @@ 'static/description/bookstore_screenshot.jpg', ], 'images_preview_theme': { - 'website.s_cover_default_image': '/theme_bookstore/static/src/img/snippets/s_cover.jpg', - 'website.s_masonry_block_default_image_1': '/theme_bookstore/static/src/img/snippets/s_masonry_block.jpg', - 'website.s_picture_default_image': '/theme_bookstore/static/src/img/snippets/s_picture.jpg', 'website.s_product_list_default_image_1': '/theme_bookstore/static/src/img/snippets/s_product_1.jpg', - 'website.s_product_list_default_image_2': '/theme_bookstore/static/src/img/snippets/s_product_2.jpg', - 'website.s_product_list_default_image_3': '/theme_bookstore/static/src/img/snippets/s_product_3.jpg', - 'website.s_product_list_default_image_4': '/theme_bookstore/static/src/img/snippets/s_product_4.jpg', - 'website.s_product_list_default_image_5': '/theme_bookstore/static/src/img/snippets/s_product_5.jpg', - 'website.s_product_list_default_image_6': '/theme_bookstore/static/src/img/snippets/s_product_6.jpg', + 'website.s_banner_default_image_3': '/theme_bookstore/static/src/img/snippets/s_banner_3.jpg', + 'website.s_image_text_default_image': '/theme_bookstore/static/src/img/snippets/s_image_text.jpg', + 'website.library_image_02': '/theme_bookstore/static/src/img/snippets/library_image_02.jpg', + 'website.s_cover_default_image': '/theme_bookstore/static/src/img/snippets/s_cover.jpg', + 'website.s_media_list_default_image_1': '/theme_bookstore/static/src/img/snippets/s_media_list_1.jpg', + 'website.s_image_text_default_image': '/theme_bookstore/static/src/img/snippets/s_image_text.jpg', + 'website.s_media_list_default_image_2': '/theme_bookstore/static/src/img/snippets/s_media_list_2.jpg', + 'website.s_text_image_default_image': '/theme_bookstore/static/src/img/snippets/s_text_image.jpg', }, 'configurator_snippets': { - 'homepage': ['s_banner', 's_masonry_block', 's_process_steps', 's_showcase', 's_title'], + 'homepage': ['s_banner', 's_key_images', 's_title', 's_accordion_image', 's_cta_box'], }, 'new_page_templates': { 'about': { diff --git a/theme_bookstore/static/description/bookstore_description.jpg b/theme_bookstore/static/description/bookstore_description.jpg index b40dccf8f..b786e32b9 100644 Binary files a/theme_bookstore/static/description/bookstore_description.jpg and b/theme_bookstore/static/description/bookstore_description.jpg differ diff --git a/theme_bookstore/static/description/bookstore_screenshot.jpg b/theme_bookstore/static/description/bookstore_screenshot.jpg index 7e9106c4f..c70865b64 100644 Binary files a/theme_bookstore/static/description/bookstore_screenshot.jpg and b/theme_bookstore/static/description/bookstore_screenshot.jpg differ diff --git a/theme_bookstore/static/description/theme_bookstore.svg b/theme_bookstore/static/description/theme_bookstore.svg index 0d83d6f76..1676f9886 100644 --- a/theme_bookstore/static/description/theme_bookstore.svg +++ b/theme_bookstore/static/description/theme_bookstore.svg @@ -1,367 +1,196 @@ - + - - - - - - - - - - - - - - - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - WelcomeMessage - - Discover - - - - - - - - - - - - - - - - - - - - - Entry Title - - - - - - - - - - - Entry Title - - - - - - - - - - - Entry Title - - - - - - - - - - - - - - - - - - - - - - - Entry Title - - - - - - - - - - - - - - - - - - Section Title - Discover - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Section Title - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Section Title - Discover - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + Section Title + + + + + Discover + + - - - - - + + + + + + + + Section Title + + + + + + + + + + + + + + + + + Lorem ipsum dolor sit amet, consectetur adipiscing + elit. Praesent tristique fringilla. + + + + + + + + + + 04 + + + + + + + + 03 + + + + + + + + 02 + + + + + + + + 01 + + + + + + + Section Title + + + + + + + + + Discover + + + + + + + + + + + + + + Welcome + Message + + + + + + + + + + + + + + + + + + + diff --git a/theme_bookstore/static/src/img/snippets/s_accordion_image.jpg b/theme_bookstore/static/src/img/snippets/s_accordion_image.jpg new file mode 100644 index 000000000..73e920e81 Binary files /dev/null and b/theme_bookstore/static/src/img/snippets/s_accordion_image.jpg differ diff --git a/theme_bookstore/static/src/img/snippets/s_text_cover.jpg b/theme_bookstore/static/src/img/snippets/s_text_cover.jpg new file mode 100644 index 000000000..a7315d1a7 Binary files /dev/null and b/theme_bookstore/static/src/img/snippets/s_text_cover.jpg differ diff --git a/theme_bookstore/static/src/js/tour.js b/theme_bookstore/static/src/js/tour.js index 19d35cd47..5cdc85aea 100644 --- a/theme_bookstore/static/src/js/tour.js +++ b/theme_bookstore/static/src/js/tour.js @@ -10,25 +10,25 @@ const snippets = [ groupName: "Intro", }, { - id: 's_masonry_block', - name: 'Masonry', - groupName: "Images", - }, - { - id: 's_process_steps', - name: 'Steps', - groupName: "Content", - }, - { - id: 's_showcase', - name: 'Showcase', - groupName: "Content", + id: 's_key_images', + name: 'Key Images', + groupName: "Columns", }, { id: 's_title', name: 'Title', groupName: "Text", }, + { + id: 's_accordion_image', + name: 'Accordion Image', + groupName: "Content", + }, + { + id: 's_cta_box', + name: 'CTA Box', + groupName: "Content", + }, ]; wTourUtils.registerThemeHomepageTour("bookstore_tour", () => [ diff --git a/theme_bookstore/static/src/scss/primary_variables.scss b/theme_bookstore/static/src/scss/primary_variables.scss index 39ca35be3..c3cb2a14e 100644 --- a/theme_bookstore/static/src/scss/primary_variables.scss +++ b/theme_bookstore/static/src/scss/primary_variables.scss @@ -2,10 +2,6 @@ // Fonts //------------------------------------------------------------------------------ -$o-theme-h1-font-size-multiplier: (62 / 16); -$o-theme-h2-font-size-multiplier: (48 / 16); -$o-theme-h5-font-size-multiplier: 1; - $o-theme-font-configs: ( 'Heebo': ( 'family': ('Heebo', sans-serif), diff --git a/theme_bookstore/views/images.xml b/theme_bookstore/views/images.xml index 0f87ced5b..226ba7322 100644 --- a/theme_bookstore/views/images.xml +++ b/theme_bookstore/views/images.xml @@ -274,7 +274,7 @@ Check in theme_loftspace's primary_variables.scss and theme.scss --> website.s_accordion_image_default_image website.s_accordion_image_default_image - /theme_bookstore/static/src/img/snippets/s_banner_2.jpg + /theme_bookstore/static/src/img/snippets/s_accordion_image.jpg website.s_image_title_default_image @@ -414,4 +414,11 @@ Check in theme_loftspace's primary_variables.scss and theme.scss --> /theme_bookstore/static/src/img/snippets/s_empowerment_default_image.jpg + + + website.s_text_cover_default_image + website.s_text_cover_default_image + /theme_bookstore/static/src/img/snippets/s_text_cover.jpg + + diff --git a/theme_bookstore/views/snippets/s_accordion.xml b/theme_bookstore/views/snippets/s_accordion.xml new file mode 100644 index 000000000..5be12f109 --- /dev/null +++ b/theme_bookstore/views/snippets/s_accordion.xml @@ -0,0 +1,32 @@ + + + + + + diff --git a/theme_bookstore/views/snippets/s_accordion_image.xml b/theme_bookstore/views/snippets/s_accordion_image.xml new file mode 100644 index 000000000..89fb7299a --- /dev/null +++ b/theme_bookstore/views/snippets/s_accordion_image.xml @@ -0,0 +1,19 @@ + + + + + + diff --git a/theme_bookstore/views/snippets/s_banner.xml b/theme_bookstore/views/snippets/s_banner.xml index 0474e2e41..e5b7fb184 100644 --- a/theme_bookstore/views/snippets/s_banner.xml +++ b/theme_bookstore/views/snippets/s_banner.xml @@ -2,9 +2,33 @@
+ - The best sellers
of the year + Adventure awaits at the Bookstore +
+ + + Discover an extensive collection of books, from bestsellers to hidden gems, curated to ignite your imagination and inspire reading. + + + + Come Visit Us + + + + "I've never found a bookstore with such variety and charm. Every visit feels like uncovering a hidden treasure!" + + + Sci-fi Enthusiast diff --git a/theme_bookstore/views/snippets/s_call_to_action.xml b/theme_bookstore/views/snippets/s_call_to_action.xml index a1d484ee7..8b9babd2b 100644 --- a/theme_bookstore/views/snippets/s_call_to_action.xml +++ b/theme_bookstore/views/snippets/s_call_to_action.xml @@ -4,7 +4,7 @@