From 86cdc4d38832bcb32c8284f7eef456a6bbf4df24 Mon Sep 17 00:00:00 2001 From: Kristen Pol <kristen.pol@gmail.com> Date: Sun, 9 Mar 2025 10:11:10 -0700 Subject: [PATCH 1/4] Add config and recipe for header logo and menus. --- .../assets/logos/logo_navy_drupal.svg | 38 +++++++ .../config/install/starshot_demo.settings.yml | 102 ++++++++++++++++++ ...ock.block.starshot_demo_mainnavigation.yml | 25 +++++ ...block.block.starshot_demo_sitebranding.yml | 23 ++++ ...ck.block.starshot_demo_useraccountmenu.yml | 25 +++++ .../starshot_demo_recipe_menus/composer.json | 9 ++ .../084c0b2e-a5e2-4494-a5eb-c80dafea7e99.yml | 36 +++++++ .../3d789e19-2c14-49b0-a18a-9b35e41fea76.yml | 36 +++++++ .../74ff1062-b186-428a-a423-5080c488700b.yml | 36 +++++++ .../87409916-7a0f-481c-92e9-62d554f2b142.yml | 36 +++++++ .../abb94d88-fcd6-446c-9f3e-cfd598098b76.yml | 36 +++++++ .../ae11d5c9-d967-4df2-8157-45ddb3b48c22.yml | 36 +++++++ .../bf36cd6d-c249-4654-a898-c7c003d9b0a3.yml | 36 +++++++ .../c73eeb95-c35b-4a7c-bf58-d6e911cb6582.yml | 36 +++++++ .../starshot_demo_recipe_menus/recipe.yml | 6 ++ 15 files changed, 516 insertions(+) create mode 100644 starshot_demo/assets/logos/logo_navy_drupal.svg create mode 100644 starshot_demo/config/install/starshot_demo.settings.yml create mode 100644 starshot_demo/config/optional/block.block.starshot_demo_mainnavigation.yml create mode 100644 starshot_demo/config/optional/block.block.starshot_demo_sitebranding.yml create mode 100644 starshot_demo/config/optional/block.block.starshot_demo_useraccountmenu.yml create mode 100644 starshot_demo/recipes/starshot_demo_recipe_menus/composer.json create mode 100644 starshot_demo/recipes/starshot_demo_recipe_menus/content/menu_link_content/084c0b2e-a5e2-4494-a5eb-c80dafea7e99.yml create mode 100644 starshot_demo/recipes/starshot_demo_recipe_menus/content/menu_link_content/3d789e19-2c14-49b0-a18a-9b35e41fea76.yml create mode 100644 starshot_demo/recipes/starshot_demo_recipe_menus/content/menu_link_content/74ff1062-b186-428a-a423-5080c488700b.yml create mode 100644 starshot_demo/recipes/starshot_demo_recipe_menus/content/menu_link_content/87409916-7a0f-481c-92e9-62d554f2b142.yml create mode 100644 starshot_demo/recipes/starshot_demo_recipe_menus/content/menu_link_content/abb94d88-fcd6-446c-9f3e-cfd598098b76.yml create mode 100644 starshot_demo/recipes/starshot_demo_recipe_menus/content/menu_link_content/ae11d5c9-d967-4df2-8157-45ddb3b48c22.yml create mode 100644 starshot_demo/recipes/starshot_demo_recipe_menus/content/menu_link_content/bf36cd6d-c249-4654-a898-c7c003d9b0a3.yml create mode 100644 starshot_demo/recipes/starshot_demo_recipe_menus/content/menu_link_content/c73eeb95-c35b-4a7c-bf58-d6e911cb6582.yml create mode 100644 starshot_demo/recipes/starshot_demo_recipe_menus/recipe.yml diff --git a/starshot_demo/assets/logos/logo_navy_drupal.svg b/starshot_demo/assets/logos/logo_navy_drupal.svg new file mode 100644 index 00000000..47cfe419 --- /dev/null +++ b/starshot_demo/assets/logos/logo_navy_drupal.svg @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 28.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> +<svg version="1.1" id="Group_40" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" + width="515.7px" height="179.7px" viewBox="0 0 515.7 179.7" style="enable-background:new 0 0 515.7 179.7;" xml:space="preserve" + > +<style type="text/css"> + .st0{fill:#12285F;} +</style> +<g> + <path class="st0" d="M126,66.3c-0.1-0.2-0.2-0.3-0.4-0.5c-9.8-11-23.7-26.6-33.7-37.7c-3.1-3.3-6.2-6.6-9.1-10 + c-0.7-0.8-1.3-1.6-2-2.4c-0.6-0.6-0.9-1-0.9-1l0.1,0c-3.4-4-6.1-8.5-8-13.3l-0.5-1.1c0-0.1-0.1-0.1-0.2-0.2C71.2,0.1,71,0,70.9,0 + h-0.1c-0.2,0-0.3,0.1-0.4,0.1c-0.1,0.1-0.1,0.1-0.2,0.2l-0.5,1.1c-2,4.8-4.7,9.3-8,13.3l0.1,0c0,0-0.3,0.4-0.9,1 + c-0.7,0.8-1.3,1.6-2,2.4c-3,3.4-6,6.7-9.1,10C39.8,39.2,25.8,54.8,16,65.8c-0.1,0.2-0.2,0.3-0.4,0.5c-37,49.3,3.2,89.5,3.2,89.5 + l-0.1,0c11.9,13.8,28.8,22.3,46.9,23.6c1.6,0.2,3.3,0.3,5.1,0.3h0.1c1.7,0,3.4-0.1,5.1-0.3c18.2-1.3,35-9.8,46.9-23.6l-0.1,0 + C122.8,155.8,163,115.6,126,66.3z M39.8,101l-0.9,1.4l-0.1,0.1c-6.8,8.2-10.8,17-12.1,25.7c-0.2,1.1-1.2,1.8-2.2,1.6 + c-0.7-0.1-1.2-0.6-1.5-1.2c-1.8-4.2-3-8.6-3.6-13.1C17.2,99.6,22,85.7,32.2,73.8c4.1-4.7,8.2-9.4,12.3-14.1 + c0.7-0.8,1.9-0.9,2.7-0.2l0,0c0.1,0.1,0.1,0.1,0.2,0.2c3.3,3.8,7.6,8.7,12.4,14.3c0.6,0.7,0.6,1.8,0,2.6 + c-6.6,7.9-13.6,16.3-19.9,24.3L39.8,101z M96.7,142.2L96.7,142.2c-3.8,10-11.3,16-21.9,17.7c-15.1,2.3-29.2-8-31.5-23.1 + c0-0.2,0-0.3-0.1-0.5c-1.2-8.5,1.4-16,6.9-22.4c6.4-7.5,20.5-24.9,20.7-25.2h0c0.3,0.3,15.3,19,20.9,25.6 + C98.8,122.6,100.5,132.1,96.7,142.2z M119,126.5L119,126.5c-0.1,0.3-0.3,0.7-0.4,1c-0.4,1-1.5,1.5-2.5,1.1 + c-0.6-0.3-1.1-0.8-1.2-1.5c-1.4-8.4-5.4-16.8-11.9-24.7l-0.1-0.1l-0.6-0.9l-0.4-0.5c-5.2-6.6-32.7-38.8-44.7-52.9 + c-0.6-0.7-0.6-1.8,0-2.6c4-4.4,8-8.8,11.9-13.3c0.7-0.8,1.9-0.8,2.7-0.1c0,0,0,0,0,0c0,0,0.1,0.1,0.1,0.1c1.8,1.9,3.5,3.8,5.2,5.8 + c10.9,12.2,21.9,24.2,32.5,36.5C123,89.9,126.1,107.7,119,126.5z"/> + <path id="Path_13739" class="st0" d="M485.1,56.9h12.5v2.5h-5v12.4h-2.5V59.5h-5L485.1,56.9z"/> + <path id="Path_13740" class="st0" d="M513.2,71.8L512.1,61l-0.7,3.6l-2.6,7.2h-3.2l-2.6-7.2l-0.7-3.6l-1.1,10.8h-2.6l1.5-14.9h2.8 + l4.3,11.9l4.3-11.9h2.8l1.5,14.9H513.2z"/> + <path id="Path_13741" class="st0" d="M194.2,60.9h-28v73.2h28c20.2,0,36.6-16.4,36.6-36.6C230.8,77.3,214.4,60.9,194.2,60.9 + M211.5,114.8c-4.6,4.6-10.8,7.2-17.3,7.1h-15.8V73h15.8c13.6,0.1,24.5,11.2,24.4,24.7C218.6,104.1,216,110.3,211.5,114.8 + M467.7,134.1h12.2V56.6h-12.2L467.7,134.1z M251.4,84.3v-4.5h-12.2v54.4h12.2v-33.6c0-5.9,4.9-8.6,9.5-8.6h7.6V79.7h-7.6 + C257.3,79.8,253.8,81.5,251.4,84.3 M316.5,107.9c0.1,4.2-1.2,8.2-3.7,11.6c-2.5,3.1-6.3,4.8-10.3,4.7c-3.3,0.1-6.5-1.1-9-3.3 + c-2.6-2.5-3.9-6.2-3.9-11V80.8h-12.2v31.9c-0.1,6.1,2.4,12,6.9,16.2c4.6,4.3,10.7,6.6,16.9,6.5c5.6,0.1,11.1-1.9,15.2-5.8v4.6h12.2 + V80.8h-12.2V107.9z M367.7,79.4c-6.2,0-12.2,2.2-16.9,6.3v-5h-12.2v77.7h12.2v-29.3c4.7,4.1,10.7,6.3,16.9,6.3 + c15,0,27.3-12.5,27.3-27.9C395,92,382.8,79.4,367.7,79.4 M378.3,118.6c-2.8,2.9-6.6,4.6-10.6,4.6c-8.6-0.2-15.4-7.2-15.3-15.8 + c0-4.2,1.6-8.2,4.5-11.3c2.8-3,6.7-4.6,10.8-4.6c8.3,0,15.1,7.1,15.1,15.9C382.8,111.6,381.2,115.6,378.3,118.6 M444.9,85.7 + c-4.7-4.1-10.7-6.4-16.9-6.3c-15,0-27.3,12.5-27.3,27.9c0,15.4,12.2,28,27.3,28c6.2,0.1,12.3-2.2,16.9-6.3v5.1h12.2V80.6h-12.2 + V85.7z M428,123.3c-8.4,0-15.2-7.1-15.2-15.9c0-8.7,6.8-15.8,15.2-15.8s15.2,7.1,15.2,15.8C443.2,116.1,436.3,123.3,428,123.3"/> +</g> +</svg> diff --git a/starshot_demo/config/install/starshot_demo.settings.yml b/starshot_demo/config/install/starshot_demo.settings.yml new file mode 100644 index 00000000..d9d2ece3 --- /dev/null +++ b/starshot_demo/config/install/starshot_demo.settings.yml @@ -0,0 +1,102 @@ +features: + favicon: 1 +favicon: + use_default: 1 +colors: + use_color_selector: 0 + use_brand_colors: 1 + brand: + light: + brand1: '#000000' + brand2: '#000000' + brand3: '#000000' + dark: + brand1: '#ffffff' + brand2: '#ffffff' + brand3: '#ffffff' + palette: + light: + background: '#cccccc' + border: '#cccccc' + highlight: '#cccccc' + heading: '#cccccc' + body: '#cccccc' + background_light: '#cccccc' + background_dark: '#cccccc' + border_light: '#cccccc' + border_dark: '#cccccc' + interaction_text: '#cccccc' + interaction_background: '#cccccc' + interaction_hover_text: '#cccccc' + interaction_hover_background: '#cccccc' + interaction_focus: '#cccccc' + information: '#cccccc' + warning: '#cccccc' + error: '#cccccc' + success: '#cccccc' + dark: + background: '#cccccc' + border: '#cccccc' + highlight: '#cccccc' + heading: '#cccccc' + body: '#cccccc' + background_light: '#cccccc' + background_dark: '#cccccc' + border_light: '#cccccc' + border_dark: '#cccccc' + interaction_text: '#cccccc' + interaction_background: '#cccccc' + interaction_hover_text: '#cccccc' + interaction_hover_background: '#cccccc' + interaction_focus: '#cccccc' + information: '#cccccc' + warning: '#cccccc' + error: '#cccccc' + success: '#cccccc' +components: + logo: + primary: + light: + desktop: + path: themes/contrib/demo_design_system/starshot_demo/assets/logos/logo_navy_drupal.svg + mobile: + path: '' + dark: + desktop: + path: '' + mobile: + path: '' + secondary: + light: + desktop: + path: '' + mobile: + path: '' + dark: + desktop: + path: '' + mobile: + path: '' + image_alt: 'Drupal logo navy' + site_slogan: + content: '' + link: + new_window: 0 + external_new_window: 0 + external_override_domains: { } + skip_link: + theme: light + event_card: + summary_length: '160' + navigation_card: + summary_length: '160' + promo_card: + summary_length: '160' + publication_card: + summary_length: '160' + use_media_name: 1 + snippet: + summary_length: '160' + attachment: + use_media_name: 1 +optouts: { } diff --git a/starshot_demo/config/optional/block.block.starshot_demo_mainnavigation.yml b/starshot_demo/config/optional/block.block.starshot_demo_mainnavigation.yml new file mode 100644 index 00000000..d653d225 --- /dev/null +++ b/starshot_demo/config/optional/block.block.starshot_demo_mainnavigation.yml @@ -0,0 +1,25 @@ +uuid: 5ab3cc01-16fa-4361-8f14-81b2e9a5931f +langcode: en +status: true +dependencies: + config: + - system.menu.main + module: + - system + theme: + - starshot_demo +id: starshot_demo_mainnavigation +theme: starshot_demo +region: header_middle_2 +weight: 0 +provider: null +plugin: 'system_menu_block:main' +settings: + id: 'system_menu_block:main' + label: 'Main navigation' + label_display: '0' + provider: system + level: 1 + depth: 0 + expand_all_items: false +visibility: { } diff --git a/starshot_demo/config/optional/block.block.starshot_demo_sitebranding.yml b/starshot_demo/config/optional/block.block.starshot_demo_sitebranding.yml new file mode 100644 index 00000000..4e9763cf --- /dev/null +++ b/starshot_demo/config/optional/block.block.starshot_demo_sitebranding.yml @@ -0,0 +1,23 @@ +uuid: f5b13ab2-214a-4a00-ae83-fc604e363a0e +langcode: en +status: true +dependencies: + module: + - system + theme: + - starshot_demo +id: starshot_demo_sitebranding +theme: starshot_demo +region: header_middle_2 +weight: -1 +provider: null +plugin: system_branding_block +settings: + id: system_branding_block + label: 'Site branding' + label_display: '0' + provider: system + use_site_logo: true + use_site_name: false + use_site_slogan: false +visibility: { } diff --git a/starshot_demo/config/optional/block.block.starshot_demo_useraccountmenu.yml b/starshot_demo/config/optional/block.block.starshot_demo_useraccountmenu.yml new file mode 100644 index 00000000..22d0f1cd --- /dev/null +++ b/starshot_demo/config/optional/block.block.starshot_demo_useraccountmenu.yml @@ -0,0 +1,25 @@ +uuid: 95d1c0ab-770b-4915-bbe0-5ba52aaf9ea0 +langcode: en +status: true +dependencies: + config: + - system.menu.account + module: + - system + theme: + - starshot_demo +id: starshot_demo_useraccountmenu +theme: starshot_demo +region: header_middle_3 +weight: 0 +provider: null +plugin: 'system_menu_block:account' +settings: + id: 'system_menu_block:account' + label: 'User account menu' + label_display: '0' + provider: system + level: 1 + depth: 0 + expand_all_items: false +visibility: { } diff --git a/starshot_demo/recipes/starshot_demo_recipe_menus/composer.json b/starshot_demo/recipes/starshot_demo_recipe_menus/composer.json new file mode 100644 index 00000000..89487613 --- /dev/null +++ b/starshot_demo/recipes/starshot_demo_recipe_menus/composer.json @@ -0,0 +1,9 @@ +{ + "name": "starshot_demo/starshot_demo_recipe_menus", + "description": "Provides menu link content for the Starshot Demo theme", + "type": "drupal-recipe", + "require": { + "drupal/core": ">=10.4" + }, + "license": "GPL-2.0-or-later" +} diff --git a/starshot_demo/recipes/starshot_demo_recipe_menus/content/menu_link_content/084c0b2e-a5e2-4494-a5eb-c80dafea7e99.yml b/starshot_demo/recipes/starshot_demo_recipe_menus/content/menu_link_content/084c0b2e-a5e2-4494-a5eb-c80dafea7e99.yml new file mode 100644 index 00000000..e5f5eaa1 --- /dev/null +++ b/starshot_demo/recipes/starshot_demo_recipe_menus/content/menu_link_content/084c0b2e-a5e2-4494-a5eb-c80dafea7e99.yml @@ -0,0 +1,36 @@ +_meta: + version: '1.0' + entity_type: menu_link_content + uuid: 084c0b2e-a5e2-4494-a5eb-c80dafea7e99 + bundle: menu_link_content + default_langcode: en +default: + enabled: + - + value: true + title: + - + value: 'Get Started' + menu_name: + - + value: account + link: + - + uri: 'https://new.drupal.org/home' + title: '' + options: { } + external: + - + value: false + rediscover: + - + value: false + weight: + - + value: 0 + expanded: + - + value: false + revision_translation_affected: + - + value: true diff --git a/starshot_demo/recipes/starshot_demo_recipe_menus/content/menu_link_content/3d789e19-2c14-49b0-a18a-9b35e41fea76.yml b/starshot_demo/recipes/starshot_demo_recipe_menus/content/menu_link_content/3d789e19-2c14-49b0-a18a-9b35e41fea76.yml new file mode 100644 index 00000000..196ef33a --- /dev/null +++ b/starshot_demo/recipes/starshot_demo_recipe_menus/content/menu_link_content/3d789e19-2c14-49b0-a18a-9b35e41fea76.yml @@ -0,0 +1,36 @@ +_meta: + version: '1.0' + entity_type: menu_link_content + uuid: 3d789e19-2c14-49b0-a18a-9b35e41fea76 + bundle: menu_link_content + default_langcode: en +default: + enabled: + - + value: true + title: + - + value: Platform + menu_name: + - + value: main + link: + - + uri: 'https://new.drupal.org/drupal-cms' + title: '' + options: { } + external: + - + value: false + rediscover: + - + value: false + weight: + - + value: -49 + expanded: + - + value: false + revision_translation_affected: + - + value: true diff --git a/starshot_demo/recipes/starshot_demo_recipe_menus/content/menu_link_content/74ff1062-b186-428a-a423-5080c488700b.yml b/starshot_demo/recipes/starshot_demo_recipe_menus/content/menu_link_content/74ff1062-b186-428a-a423-5080c488700b.yml new file mode 100644 index 00000000..9f11e287 --- /dev/null +++ b/starshot_demo/recipes/starshot_demo_recipe_menus/content/menu_link_content/74ff1062-b186-428a-a423-5080c488700b.yml @@ -0,0 +1,36 @@ +_meta: + version: '1.0' + entity_type: menu_link_content + uuid: 74ff1062-b186-428a-a423-5080c488700b + bundle: menu_link_content + default_langcode: en +default: + enabled: + - + value: true + title: + - + value: Connect + menu_name: + - + value: main + link: + - + uri: 'https://www.drupal.org/community' + title: '' + options: { } + external: + - + value: false + rediscover: + - + value: false + weight: + - + value: -44 + expanded: + - + value: false + revision_translation_affected: + - + value: true diff --git a/starshot_demo/recipes/starshot_demo_recipe_menus/content/menu_link_content/87409916-7a0f-481c-92e9-62d554f2b142.yml b/starshot_demo/recipes/starshot_demo_recipe_menus/content/menu_link_content/87409916-7a0f-481c-92e9-62d554f2b142.yml new file mode 100644 index 00000000..50480629 --- /dev/null +++ b/starshot_demo/recipes/starshot_demo_recipe_menus/content/menu_link_content/87409916-7a0f-481c-92e9-62d554f2b142.yml @@ -0,0 +1,36 @@ +_meta: + version: '1.0' + entity_type: menu_link_content + uuid: 87409916-7a0f-481c-92e9-62d554f2b142 + bundle: menu_link_content + default_langcode: en +default: + enabled: + - + value: true + title: + - + value: Develop + menu_name: + - + value: main + link: + - + uri: 'https://www.drupal.org/docs/official_docs/local-development-guide' + title: '' + options: { } + external: + - + value: false + rediscover: + - + value: false + weight: + - + value: -47 + expanded: + - + value: false + revision_translation_affected: + - + value: true diff --git a/starshot_demo/recipes/starshot_demo_recipe_menus/content/menu_link_content/abb94d88-fcd6-446c-9f3e-cfd598098b76.yml b/starshot_demo/recipes/starshot_demo_recipe_menus/content/menu_link_content/abb94d88-fcd6-446c-9f3e-cfd598098b76.yml new file mode 100644 index 00000000..b8fe02c7 --- /dev/null +++ b/starshot_demo/recipes/starshot_demo_recipe_menus/content/menu_link_content/abb94d88-fcd6-446c-9f3e-cfd598098b76.yml @@ -0,0 +1,36 @@ +_meta: + version: '1.0' + entity_type: menu_link_content + uuid: abb94d88-fcd6-446c-9f3e-cfd598098b76 + bundle: menu_link_content + default_langcode: en +default: + enabled: + - + value: true + title: + - + value: 'Support Drupal' + menu_name: + - + value: main + link: + - + uri: 'https://www.drupal.org/association' + title: '' + options: { } + external: + - + value: false + rediscover: + - + value: false + weight: + - + value: -43 + expanded: + - + value: false + revision_translation_affected: + - + value: true diff --git a/starshot_demo/recipes/starshot_demo_recipe_menus/content/menu_link_content/ae11d5c9-d967-4df2-8157-45ddb3b48c22.yml b/starshot_demo/recipes/starshot_demo_recipe_menus/content/menu_link_content/ae11d5c9-d967-4df2-8157-45ddb3b48c22.yml new file mode 100644 index 00000000..fa6d5901 --- /dev/null +++ b/starshot_demo/recipes/starshot_demo_recipe_menus/content/menu_link_content/ae11d5c9-d967-4df2-8157-45ddb3b48c22.yml @@ -0,0 +1,36 @@ +_meta: + version: '1.0' + entity_type: menu_link_content + uuid: ae11d5c9-d967-4df2-8157-45ddb3b48c22 + bundle: menu_link_content + default_langcode: en +default: + enabled: + - + value: true + title: + - + value: 'Get Support' + menu_name: + - + value: main + link: + - + uri: 'https://www.drupal.org/drupal-services' + title: '' + options: { } + external: + - + value: false + rediscover: + - + value: false + weight: + - + value: -45 + expanded: + - + value: false + revision_translation_affected: + - + value: true diff --git a/starshot_demo/recipes/starshot_demo_recipe_menus/content/menu_link_content/bf36cd6d-c249-4654-a898-c7c003d9b0a3.yml b/starshot_demo/recipes/starshot_demo_recipe_menus/content/menu_link_content/bf36cd6d-c249-4654-a898-c7c003d9b0a3.yml new file mode 100644 index 00000000..3c8d1fb3 --- /dev/null +++ b/starshot_demo/recipes/starshot_demo_recipe_menus/content/menu_link_content/bf36cd6d-c249-4654-a898-c7c003d9b0a3.yml @@ -0,0 +1,36 @@ +_meta: + version: '1.0' + entity_type: menu_link_content + uuid: bf36cd6d-c249-4654-a898-c7c003d9b0a3 + bundle: menu_link_content + default_langcode: en +default: + enabled: + - + value: true + title: + - + value: Solutions + menu_name: + - + value: main + link: + - + uri: 'https://www.drupal.org/case-studies' + title: '' + options: { } + external: + - + value: false + rediscover: + - + value: false + weight: + - + value: -48 + expanded: + - + value: false + revision_translation_affected: + - + value: true diff --git a/starshot_demo/recipes/starshot_demo_recipe_menus/content/menu_link_content/c73eeb95-c35b-4a7c-bf58-d6e911cb6582.yml b/starshot_demo/recipes/starshot_demo_recipe_menus/content/menu_link_content/c73eeb95-c35b-4a7c-bf58-d6e911cb6582.yml new file mode 100644 index 00000000..63c75416 --- /dev/null +++ b/starshot_demo/recipes/starshot_demo_recipe_menus/content/menu_link_content/c73eeb95-c35b-4a7c-bf58-d6e911cb6582.yml @@ -0,0 +1,36 @@ +_meta: + version: '1.0' + entity_type: menu_link_content + uuid: c73eeb95-c35b-4a7c-bf58-d6e911cb6582 + bundle: menu_link_content + default_langcode: en +default: + enabled: + - + value: true + title: + - + value: Download + menu_name: + - + value: main + link: + - + uri: 'https://www.drupal.org/download' + title: '' + options: { } + external: + - + value: false + rediscover: + - + value: false + weight: + - + value: -46 + expanded: + - + value: false + revision_translation_affected: + - + value: true diff --git a/starshot_demo/recipes/starshot_demo_recipe_menus/recipe.yml b/starshot_demo/recipes/starshot_demo_recipe_menus/recipe.yml new file mode 100644 index 00000000..4b0ee965 --- /dev/null +++ b/starshot_demo/recipes/starshot_demo_recipe_menus/recipe.yml @@ -0,0 +1,6 @@ +name: 'Starshot Demo Menu Content' +description: 'Provides menu link content for the Starshot Demo theme' +type: 'Demo' + +config: + strict: false -- GitLab From 687e661d731f1f3ab4f9bc7a78e2fb471a1af3cc Mon Sep 17 00:00:00 2001 From: Kristen Pol <kristen.pol@gmail.com> Date: Sun, 9 Mar 2025 10:15:45 -0700 Subject: [PATCH 2/4] Add recipe step to README.md. --- starshot_demo/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/starshot_demo/README.md b/starshot_demo/README.md index 9246099a..0d53bff6 100644 --- a/starshot_demo/README.md +++ b/starshot_demo/README.md @@ -7,6 +7,11 @@ Based on [CivicTheme](https://www.drupal.org/project/civictheme) Drupal theme. npm install npm run build +## Adding default content + + ddev drush recipe themes/contrib/demo_design_system/starshot_demo/recipes/starshot_demo_recipe_menus/ + [more to come] + ## Linting code npm run lint -- GitLab From 5515dfe33f2fa847b61e43b440311d93016a2e00 Mon Sep 17 00:00:00 2001 From: Kristen Pol <kristen.pol@gmail.com> Date: Sun, 9 Mar 2025 10:17:52 -0700 Subject: [PATCH 3/4] Add default_content as a dependency. --- starshot_demo/starshot_demo.info.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/starshot_demo/starshot_demo.info.yml b/starshot_demo/starshot_demo.info.yml index 2368d1cd..645b6896 100644 --- a/starshot_demo/starshot_demo.info.yml +++ b/starshot_demo/starshot_demo.info.yml @@ -4,6 +4,9 @@ base theme: civictheme description: 'The Starshot Demo Design System theme' core_version_requirement: ^9 || ^10 || ^11 +dependencies: + - default_content:default_content + regions: header_top_1: 'Header top 1' header_top_2: 'Header top 2' -- GitLab From e82560700bfd719784d3e05afb6888ad21ef3c21 Mon Sep 17 00:00:00 2001 From: Kristen Pol <kristen.pol@gmail.com> Date: Sun, 9 Mar 2025 11:13:51 -0700 Subject: [PATCH 4/4] Rename drupal logo. --- .../assets/logos/{logo_navy_drupal.svg => logo_drupal_navy.svg} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename starshot_demo/assets/logos/{logo_navy_drupal.svg => logo_drupal_navy.svg} (100%) diff --git a/starshot_demo/assets/logos/logo_navy_drupal.svg b/starshot_demo/assets/logos/logo_drupal_navy.svg similarity index 100% rename from starshot_demo/assets/logos/logo_navy_drupal.svg rename to starshot_demo/assets/logos/logo_drupal_navy.svg -- GitLab