diff --git a/theme_aviato/__manifest__.py b/theme_aviato/__manifest__.py index ce04884dc..f57bee371 100644 --- a/theme_aviato/__manifest__.py +++ b/theme_aviato/__manifest__.py @@ -11,21 +11,25 @@ 'data/ir_asset.xml', 'views/images_library.xml', + 'views/snippets/s_banner.xml', 'views/snippets/s_framed_intro.xml', 'views/snippets/s_cards_grid.xml', 'views/snippets/s_cta_box.xml', 'views/snippets/s_cover.xml', + 'views/snippets/s_company_team.xml', 'views/snippets/s_striped_top.xml', 'views/snippets/s_features.xml', 'views/snippets/s_sidegrid.xml', 'views/snippets/s_image_text.xml', 'views/snippets/s_freegrid.xml', + 'views/snippets/s_hr.xml', 'views/snippets/s_image_title.xml', 'views/snippets/s_images_mosaic.xml', 'views/snippets/s_text_image.xml', 'views/snippets/s_image_punchy.xml', 'views/snippets/s_card_offset.xml', 'views/snippets/s_three_columns.xml', + 'views/snippets/s_masonry_block.xml', 'views/snippets/s_motto.xml', 'views/snippets/s_picture.xml', 'views/snippets/s_popup.xml', @@ -34,6 +38,7 @@ 'views/snippets/s_quotes_carousel_minimal.xml', 'views/snippets/s_features_wall.xml', 'views/snippets/s_striped_center_top.xml', + 'views/snippets/s_showcase.xml', 'views/snippets/s_quadrant.xml', 'views/snippets/s_unveil.xml', 'views/snippets/s_accordion_image.xml', @@ -56,14 +61,18 @@ 'static/description/aviato_screenshot.jpg', ], 'images_preview_theme': { - 'website.s_cover_default_image': '/theme_aviato/static/src/img/content/s_cover.jpg', + 'website.s_image_text_default_image': '/theme_aviato/static/src/img/content/s_banner_2.jpg', + 'website.s_product_list_default_image_1': '/theme_aviato/static/src/img/content/s_banner_3.jpg', + 'website.s_picture_default_image': '/theme_aviato/static/src/img/content/s_popup.jpg', + 'website.s_media_list_default_image_1': '/theme_aviato/static/src/img/content/s_wall_01.jpg', + 'website.s_carousel_default_image_1': '/theme_aviato/static/src/img/content/s_carousel_1.jpg', + 'website.s_quotes_carousel_demo_image_2': '/theme_aviato/static/src/img/content/s_quote_bg_3.jpg', + 'website.s_text_image_default_image': '/theme_aviato/static/src/img/content/s_wall_05.jpg', 'website.s_three_columns_default_image_1': '/theme_aviato/static/src/img/content/s_three_columns_1.jpg', - 'website.s_three_columns_default_image_2': '/theme_aviato/static/src/img/content/s_three_columns_2.jpg', - 'website.s_three_columns_default_image_3': '/theme_aviato/static/src/img/content/s_three_columns_3.jpg', - 'website.s_picture_default_image': '/theme_aviato/static/src/img/content/s_picture.jpg', + 'website.s_quotes_carousel_demo_image_0': '/theme_aviato/static/src/img/content/s_quote_bg_1.jpg', }, 'configurator_snippets': { - 'homepage': ['s_cover', 's_text_image', 's_image_text', 's_title', 's_three_columns', 's_picture'], + 'homepage': ['s_banner', 's_text_image', 's_image_text', 's_picture', 's_title', 's_masonry_block', 's_company_team', 's_showcase', 's_quotes_carousel'], }, 'license': 'LGPL-3', 'live_test_url': 'https://theme-aviato.odoo.com', diff --git a/theme_aviato/static/description/aviato_cover.jpg b/theme_aviato/static/description/aviato_cover.jpg index bfd8b14d5..25c01ddee 100644 Binary files a/theme_aviato/static/description/aviato_cover.jpg and b/theme_aviato/static/description/aviato_cover.jpg differ diff --git a/theme_aviato/static/description/aviato_screenshot.jpg b/theme_aviato/static/description/aviato_screenshot.jpg index 349f49969..cb3356ac0 100644 Binary files a/theme_aviato/static/description/aviato_screenshot.jpg and b/theme_aviato/static/description/aviato_screenshot.jpg differ diff --git a/theme_aviato/static/description/theme_aviato.svg b/theme_aviato/static/description/theme_aviato.svg index e5f082b44..8e230f9d0 100644 --- a/theme_aviato/static/description/theme_aviato.svg +++ b/theme_aviato/static/description/theme_aviato.svg @@ -1,524 +1,1092 @@ - + - - + + - - - + + - - + + - - + + - - - + + - - - + + + + + + + + + + + + + + - - - + + + - - - + + + - - + + + - - - - - - - - - - - - - + + + + + + + + - - - - /> - - - - - - - - - - - - + + + + Welcome + Message + + + + + + + + + + + - - - - - - - - - - + + + + + Section Title + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + + + Section Title + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - + + + + + + + - - + - - - - + + + + - + + + + + + + + - - - + + + + + + + + + - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - + + + + + Section title + + + + - - - - - + + + Section title + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + Section title + + + + + + + Entry Title + + + + + + + + Entry Title + + + + + + + + Entry Title + + + + + + + + Entry Title + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Entry Title + + + + + + + + Entry Title + + + + + + + + Entry Title + + + + Section title + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/theme_aviato/static/src/js/tour.js b/theme_aviato/static/src/js/tour.js index 9bfd06b85..081d391b5 100644 --- a/theme_aviato/static/src/js/tour.js +++ b/theme_aviato/static/src/js/tour.js @@ -1,12 +1,11 @@ /** @odoo-module */ import * as wTourUtils from '@website/js/tours/tour_utils'; -import { _t } from "@web/core/l10n/translation"; const snippets = [ { - id: 's_cover', - name: 'Cover', + id: 's_banner', + name: 'Banner', groupName: "Intro", }, { @@ -19,25 +18,40 @@ const snippets = [ name: 'Image - Text', groupName: "Content", }, + { + id: 's_picture', + name: 'Title - Image', + groupName: "Images", + }, { id: 's_title', name: 'Title', groupName: "Text", }, { - id: 's_three_columns', - name: 'Columns', - groupName: "Columns", + id: 's_masonry_block', + name: 'Masonry', + groupName: "Images", }, { - id: 's_picture', - name: 'Title - Image', - groupName: "Images", + id: 's_company_team', + name: 'Team', + groupName: "People", + }, + { + id: 's_showcase', + name: 'Showcase', + groupName: "Content", + }, + { + id: 's_quotes_carousel', + name: 'Quotes', + groupName: "People", }, ]; wTourUtils.registerThemeHomepageTour("aviato_tour", () => [ - wTourUtils.assertCssVariable('--color-palettes-name', '"treehouse-5"'), + wTourUtils.assertCssVariable('--color-palettes-name', '"default-16"'), ...wTourUtils.insertSnippet(snippets[0]), ...wTourUtils.clickOnText(snippets[0], 'h1', 'top'), wTourUtils.goBackToBlocks(), @@ -46,7 +60,7 @@ wTourUtils.registerThemeHomepageTour("aviato_tour", () => [ ...wTourUtils.insertSnippet(snippets[3]), ...wTourUtils.insertSnippet(snippets[4]), ...wTourUtils.insertSnippet(snippets[5]), - ...wTourUtils.clickOnSnippet(snippets[5], 'top'), - wTourUtils.changeOption('ColoredLevelBackground', 'we-button[data-toggle-bg-shape]', _t('Background Shape')), - wTourUtils.selectNested('we-select-page', 'BackgroundShape', ':not(.o_we_pager_controls)', _t('Background Shape')), + ...wTourUtils.insertSnippet(snippets[6]), + ...wTourUtils.insertSnippet(snippets[7]), + ...wTourUtils.insertSnippet(snippets[8]), ]); diff --git a/theme_aviato/static/src/scss/primary_variables.scss b/theme_aviato/static/src/scss/primary_variables.scss index 80f98681a..d2e1011d3 100644 --- a/theme_aviato/static/src/scss/primary_variables.scss +++ b/theme_aviato/static/src/scss/primary_variables.scss @@ -15,15 +15,15 @@ $o-theme-h6-font-size-multiplier: (20 / 16); $o-website-values-palettes: ( ( - 'color-palettes-name': 'treehouse-5', + 'color-palettes-name': 'default-16', // Header 'logo-height': 3rem, 'fixed-logo-height': 2rem, // Font - 'font': 'Open Sans', - 'headings-font': 'Libre Baskerville', + 'font': 'Lato', + 'headings-font': 'Playfair Display', // Buttons 'btn-padding-y': .45rem, @@ -47,12 +47,6 @@ $o-website-values-palettes: ( ), ); -//------------------------------------------------------------------------------ -// Palettes -//------------------------------------------------------------------------------ - -$o-selected-color-palettes-names: append($o-selected-color-palettes-names, 'treehouse-5'); - //------------------------------------------------------------------------------ // Fonts //------------------------------------------------------------------------------ @@ -70,6 +64,10 @@ $o-theme-font-configs: ( 'family': ('Lato', sans-serif), 'url': 'Lato:300,300i,400,400i,700,700i', ), + 'Playfair Display': ( + 'family': ('Playfair Display', serif), + 'url': 'Playfair+Display:400,400i,700,700i', + ), 'Advent Pro': ( 'family': ('Advent Pro', sans-serif), 'url': 'Advent+Pro:300,300i,400,400i,600,600i', @@ -95,7 +93,7 @@ $o-theme-font-configs: ( ); //------------------------------------------------------------------------------ -// Fonts +// Background Shapes //------------------------------------------------------------------------------ $o-bg-shapes: change-shape-colors-mapping('web_editor', 'Wavy/21', (2: 1)); diff --git a/theme_aviato/views/images_library.xml b/theme_aviato/views/images_library.xml index 721961bbf..34aaa2957 100644 --- a/theme_aviato/views/images_library.xml +++ b/theme_aviato/views/images_library.xml @@ -46,7 +46,7 @@ website.s_picture_default_image website.s_picture_default_image - /theme_aviato/static/src/img/content/s_picture.jpg + /theme_aviato/static/src/img/content/s_popup.jpg @@ -101,7 +101,7 @@ website.s_media_list_default_image_1 website.s_media_list_default_image_1 - /theme_aviato/static/src/img/content/media_02.jpg + /theme_aviato/static/src/img/content/media_01.jpg website.s_media_list_default_image_2 @@ -111,7 +111,7 @@ website.s_media_list_default_image_3 website.s_media_list_default_image_3 - /theme_aviato/static/src/img/content/media_02.jpg + /theme_aviato/static/src/img/content/media_03.jpg diff --git a/theme_aviato/views/new_page_template.xml b/theme_aviato/views/new_page_template.xml index 5eceece8c..91448cbd2 100644 --- a/theme_aviato/views/new_page_template.xml +++ b/theme_aviato/views/new_page_template.xml @@ -5,7 +5,7 @@ @@ -24,13 +24,13 @@ @@ -110,7 +110,7 @@ @@ -129,7 +129,7 @@ diff --git a/theme_aviato/views/snippets/s_banner.xml b/theme_aviato/views/snippets/s_banner.xml new file mode 100644 index 000000000..f993d51b3 --- /dev/null +++ b/theme_aviato/views/snippets/s_banner.xml @@ -0,0 +1,35 @@ + + + +
+ + + +

Let's
travel the world

+
+ + +
Enjoy breathtaking views of nature. Relax and embrace your dreams.

+
+ + + Explore Now + + + + An unforgettable experience! Every destination was stunning, and the service was exceptional. + + + Explored Peru in 2024 + + + + + diff --git a/theme_aviato/views/snippets/s_company_team.xml b/theme_aviato/views/snippets/s_company_team.xml new file mode 100644 index 000000000..bf2e7cc4b --- /dev/null +++ b/theme_aviato/views/snippets/s_company_team.xml @@ -0,0 +1,49 @@ + + + + + + diff --git a/theme_aviato/views/snippets/s_features_wall.xml b/theme_aviato/views/snippets/s_features_wall.xml index c5557654b..8cd6014fc 100644 --- a/theme_aviato/views/snippets/s_features_wall.xml +++ b/theme_aviato/views/snippets/s_features_wall.xml @@ -2,6 +2,17 @@