From 48c0b0f10e04bb96f20d969fad43251eb8bb0cf1 Mon Sep 17 00:00:00 2001 From: cheeto-bandito Date: Fri, 12 Apr 2024 11:52:44 -0500 Subject: [PATCH 1/5] Added Button variant to the Link component and added it to the Header Partial Design. --- .../src/components/Basic Components/Link.tsx | 7 + .../Sugcon/src/components/Navigation.tsx | 20 +-- .../Rendering Variants/Navigation.yml | 127 ++++++++++++++++ .../Basic Components/Button Link.yml | 35 +++++ .../Basic Components/Navigation.yml | 139 ++++++++++++++++++ .../Presentation/Headless Variants/Link.yml | 38 +++++ .../Headless Variants/Link/Button.yml | 31 ++++ .../Headless Variants/Link/Default.yml | 35 +++++ .../Placeholder Settings/Button Link.yml | 38 +++++ .../Presentation/Headless Variants/Link.yml | 38 +++++ .../Headless Variants/Link/Button.yml | 31 ++++ .../Headless Variants/Link/Default.yml | 35 +++++ .../Presentation/Partial Designs/Header.yml | 19 ++- .../Rendering Parameters/Logo.yml | 38 +++++ .../Rendering Parameters/Navigation.yml | 38 +++++ 15 files changed, 654 insertions(+), 15 deletions(-) create mode 100644 src/Project/Sugcon2024/items/Modules/Sugcon2024/Basic Components/Basic Components Headless Site Setup/Rendering Variants/Navigation.yml create mode 100644 src/Project/Sugcon2024/items/PlaceholderSettings/Sugcon2024/Basic Components/Button Link.yml create mode 100644 src/Project/Sugcon2024/items/Renderings/Sugcon2024/Basic Components/Navigation.yml create mode 100644 src/Project/Sugcon2024/items/SiteEU/EU/Presentation/Headless Variants/Link.yml create mode 100644 src/Project/Sugcon2024/items/SiteEU/EU/Presentation/Headless Variants/Link/Button.yml create mode 100644 src/Project/Sugcon2024/items/SiteEU/EU/Presentation/Headless Variants/Link/Default.yml create mode 100644 src/Project/Sugcon2024/items/SiteEU/EU/Presentation/Placeholder Settings/Button Link.yml create mode 100644 src/Project/Sugcon2024/items/SiteShared/Shared/Presentation/Headless Variants/Link.yml create mode 100644 src/Project/Sugcon2024/items/SiteShared/Shared/Presentation/Headless Variants/Link/Button.yml create mode 100644 src/Project/Sugcon2024/items/SiteShared/Shared/Presentation/Headless Variants/Link/Default.yml create mode 100644 src/Project/Sugcon2024/items/Templates/Sugcon2024/Basic Components/Rendering Parameters/Logo.yml create mode 100644 src/Project/Sugcon2024/items/Templates/Sugcon2024/Basic Components/Rendering Parameters/Navigation.yml diff --git a/src/Project/Sugcon2024/Sugcon/src/components/Basic Components/Link.tsx b/src/Project/Sugcon2024/Sugcon/src/components/Basic Components/Link.tsx index 6f1d20b81..036cc6133 100644 --- a/src/Project/Sugcon2024/Sugcon/src/components/Basic Components/Link.tsx +++ b/src/Project/Sugcon2024/Sugcon/src/components/Basic Components/Link.tsx @@ -1,5 +1,6 @@ import React from 'react'; import { Box, Link } from '@chakra-ui/react'; +import { ButtonLink } from 'src/basics/ButtonLink'; import { LinkField, Link as JssLink } from '@sitecore-jss/sitecore-jss-nextjs'; // Define the type of props that Link will accept @@ -24,3 +25,9 @@ export const Default = (props: LinkProps): JSX.Element => { ); }; + +export const Button = (props: LinkProps): JSX.Element => { + return ( + + ); +}; diff --git a/src/Project/Sugcon2024/Sugcon/src/components/Navigation.tsx b/src/Project/Sugcon2024/Sugcon/src/components/Navigation.tsx index 9549ba317..a6773bc95 100644 --- a/src/Project/Sugcon2024/Sugcon/src/components/Navigation.tsx +++ b/src/Project/Sugcon2024/Sugcon/src/components/Navigation.tsx @@ -2,6 +2,7 @@ import { ComponentParams, ComponentRendering, LinkField, + Placeholder, Link as SitecoreLink, Text, TextField, @@ -26,7 +27,6 @@ import { HeaderHeights, PaddingX, PaddingY, - responsiveButtonSizeConfig, } from 'template/LayoutConstants'; export interface Fields { @@ -40,14 +40,11 @@ export interface Fields { Styles: string[]; } -export type CustomComponentRendering = Omit & { - fields: Fields[]; -}; export type NavigationProps = { params?: ComponentParams; fields: Fields; - rendering: CustomComponentRendering; + rendering: ComponentRendering; className?: string; }; @@ -107,6 +104,7 @@ export const Default = (props: NavigationProps): JSX.Element => { navigationMenuItems={navigationMenuItems} onToggle={onToggle} pageEditing={pageEditing} + rendering={props.rendering} /> ); @@ -149,15 +147,17 @@ interface ResponsiveNavigationProps { navigationMenuItems: Fields[]; onToggle?: () => void; pageEditing: boolean | undefined; + rendering: ComponentRendering; } const ResponsiveNavigation = ({ navigationMenuItems, onToggle, pageEditing, + rendering }: ResponsiveNavigationProps): JSX.Element => { return ( - + - + diff --git a/src/Project/Sugcon2024/items/Modules/Sugcon2024/Basic Components/Basic Components Headless Site Setup/Rendering Variants/Navigation.yml b/src/Project/Sugcon2024/items/Modules/Sugcon2024/Basic Components/Basic Components Headless Site Setup/Rendering Variants/Navigation.yml new file mode 100644 index 000000000..f7f3cefad --- /dev/null +++ b/src/Project/Sugcon2024/items/Modules/Sugcon2024/Basic Components/Basic Components Headless Site Setup/Rendering Variants/Navigation.yml @@ -0,0 +1,127 @@ +--- +ID: "e51941b4-d108-45b6-96c0-cc98be9c8c24" +Parent: "3ae11de4-bcb8-45d5-be29-d19e7e206def" +Template: "3aea335c-d06d-45b1-841a-cbc8d2d1ce40" +Path: /sitecore/system/Settings/Project/Sugcon2024/Basic Components/Basic Components Headless Site Setup/Rendering Variants/Navigation +SharedFields: +- ID: "52c91c75-6698-4701-a8a2-242ace59a8d6" + Hint: Location + Value: "{C6F65339-F4DA-40FA-88D1-E1ECFFD54B91}" +- ID: "7868e6bc-525c-4fce-ab8a-77da3e09b171" + Hint: Name + Value: Navigation +- ID: "ad0e8de7-f6c1-49fa-b2c4-87e10fbdaa52" + Hint: Fields + Value: __Icon=Office%2F32x32%2Fsignpost.png +- ID: "e62c28f0-9d3b-46e2-8bec-a5e120542499" + Hint: Template + Value: "{44327230-1E7E-4065-A46C-8047CC75EB60}" +Languages: +- Language: "de-DE" + Fields: + - ID: "b5e02ad9-d56f-4c41-a065-a133db87bdeb" + Hint: __Display name + Value: Navigation + Versions: + - Version: 1 + Fields: + - ID: "25bed78c-4957-4165-998a-ca1b52f67497" + Hint: __Created + Value: 20240411T145914Z + - ID: "52807595-0f8f-4b20-8d2a-cb71d28c6103" + Hint: __Owner + Value: | + sitecore\Admin + - ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f" + Hint: __Created by + Value: | + sitecore\Admin + - ID: "8cdc337e-a112-42fb-bbb4-4143751e123f" + Hint: __Revision + Value: "28a6c6ef-031f-45d1-b714-c0f72c26de01" + - ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a" + Hint: __Updated by + Value: | + sitecore\Admin + - ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522" + Hint: __Updated + Value: 20240411T145914Z +- Language: en + Versions: + - Version: 1 + Fields: + - ID: "25bed78c-4957-4165-998a-ca1b52f67497" + Hint: __Created + Value: 20211130T132634Z + - ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f" + Hint: __Created by + Value: | + sitecore\Admin + - ID: "8cdc337e-a112-42fb-bbb4-4143751e123f" + Hint: __Revision + Value: "48aa8e20-8d19-43f4-b0cc-e739e538f30e" + - ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a" + Hint: __Updated by + Value: | + sitecore\cdJph8P5Hr + - ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522" + Hint: __Updated + Value: 20240411T155300Z +- Language: "ja-JP" + Fields: + - ID: "b5e02ad9-d56f-4c41-a065-a133db87bdeb" + Hint: __Display name + Value: ナビゲーション + Versions: + - Version: 1 + Fields: + - ID: "25bed78c-4957-4165-998a-ca1b52f67497" + Hint: __Created + Value: 20240411T145914Z + - ID: "52807595-0f8f-4b20-8d2a-cb71d28c6103" + Hint: __Owner + Value: | + sitecore\Admin + - ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f" + Hint: __Created by + Value: | + sitecore\Admin + - ID: "8cdc337e-a112-42fb-bbb4-4143751e123f" + Hint: __Revision + Value: "28a6c6ef-031f-45d1-b714-c0f72c26de01" + - ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a" + Hint: __Updated by + Value: | + sitecore\Admin + - ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522" + Hint: __Updated + Value: 20240411T145914Z +- Language: "zh-CN" + Fields: + - ID: "b5e02ad9-d56f-4c41-a065-a133db87bdeb" + Hint: __Display name + Value: 导航 + Versions: + - Version: 1 + Fields: + - ID: "25bed78c-4957-4165-998a-ca1b52f67497" + Hint: __Created + Value: 20240411T145914Z + - ID: "52807595-0f8f-4b20-8d2a-cb71d28c6103" + Hint: __Owner + Value: | + sitecore\Admin + - ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f" + Hint: __Created by + Value: | + sitecore\Admin + - ID: "8cdc337e-a112-42fb-bbb4-4143751e123f" + Hint: __Revision + Value: "28a6c6ef-031f-45d1-b714-c0f72c26de01" + - ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a" + Hint: __Updated by + Value: | + sitecore\Admin + - ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522" + Hint: __Updated + Value: 20240411T145914Z diff --git a/src/Project/Sugcon2024/items/PlaceholderSettings/Sugcon2024/Basic Components/Button Link.yml b/src/Project/Sugcon2024/items/PlaceholderSettings/Sugcon2024/Basic Components/Button Link.yml new file mode 100644 index 000000000..4d14a95a7 --- /dev/null +++ b/src/Project/Sugcon2024/items/PlaceholderSettings/Sugcon2024/Basic Components/Button Link.yml @@ -0,0 +1,35 @@ +--- +ID: "ec86327c-3a50-4550-a096-8a6e83ac0c95" +Parent: "07053efb-6653-4de7-ac40-d607706f9add" +Template: "5c547d4e-7111-4995-95b0-6b561751bf2e" +Path: /sitecore/layout/Placeholder Settings/Project/Sugcon2024/Basic Components/Button Link +SharedFields: +- ID: "7256bdab-1fd2-49dd-b205-cb4873d2917c" + Hint: Placeholder Key + Value: "button-link" +Languages: +- Language: en + Versions: + - Version: 1 + Fields: + - ID: "25bed78c-4957-4165-998a-ca1b52f67497" + Hint: __Created + Value: 20240412T153837Z + - ID: "52807595-0f8f-4b20-8d2a-cb71d28c6103" + Hint: __Owner + Value: | + sitecore\cdJph8P5Hr + - ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f" + Hint: __Created by + Value: | + sitecore\cdJph8P5Hr + - ID: "8cdc337e-a112-42fb-bbb4-4143751e123f" + Hint: __Revision + Value: "2fb5204c-7d37-430a-abd4-5b370afe6762" + - ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a" + Hint: __Updated by + Value: | + sitecore\cdJph8P5Hr + - ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522" + Hint: __Updated + Value: 20240412T153852Z diff --git a/src/Project/Sugcon2024/items/Renderings/Sugcon2024/Basic Components/Navigation.yml b/src/Project/Sugcon2024/items/Renderings/Sugcon2024/Basic Components/Navigation.yml new file mode 100644 index 000000000..868b3439c --- /dev/null +++ b/src/Project/Sugcon2024/items/Renderings/Sugcon2024/Basic Components/Navigation.yml @@ -0,0 +1,139 @@ +--- +ID: "b1d977d1-85b6-489b-8ad5-24f32ff63f97" +Parent: "ddc6ed3d-2e47-4945-a316-9a5304a0db3b" +Template: "04646a89-996f-4ee7-878a-ffdbf1f0ef0d" +Path: /sitecore/layout/Renderings/Project/Sugcon2024/Basic Components/Navigation +SharedFields: +- ID: "037fe404-dd19-4bf7-8e30-4dadf68b27b0" + Hint: componentName + Value: Navigation +- ID: "069a8361-b1cd-437c-8c32-a3be78941446" + Hint: Placeholders + Value: "{EC86327C-3A50-4550-A096-8A6E83AC0C95}" +- ID: "06d5295c-ed2f-4a54-9bf2-26228d113318" + Hint: __Icon + Value: SXA_MDI/16x16/Navigation.png +- ID: "7d8ae35f-9ed1-43b5-96a2-0a5f040d4e4e" + Hint: Open Properties after Add + Value: 0 +- ID: "9c6106ea-7a5a-48e2-8cad-f0f693b1e2d4" + Hint: __Read Only + Value: +- ID: "a77e8568-1ab3-44f1-a664-b7c37ec7810d" + Hint: Parameters Template + Value: "{7830B05D-840E-4074-AA1B-0234FF04CE05}" +- ID: "b0b15510-b138-470e-8f33-8da2e228aafe" + Hint: Rendering Contents Resolver + Value: "{B28B1B20-953B-4BFF-925A-9AE48CA00CDC}" +- ID: "c39a90ce-0035-41bb-90f6-3c8a6ea87797" + Hint: AddFieldEditorButton + Value: +Languages: +- Language: "de-DE" + Fields: + - ID: "b5e02ad9-d56f-4c41-a065-a133db87bdeb" + Hint: __Display name + Value: Navigation + Versions: + - Version: 1 + Fields: + - ID: "25bed78c-4957-4165-998a-ca1b52f67497" + Hint: __Created + Value: 20240411T145914Z + - ID: "52807595-0f8f-4b20-8d2a-cb71d28c6103" + Hint: __Owner + Value: | + sitecore\Admin + - ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f" + Hint: __Created by + Value: | + sitecore\Admin + - ID: "8cdc337e-a112-42fb-bbb4-4143751e123f" + Hint: __Revision + Value: "28a6c6ef-031f-45d1-b714-c0f72c26de01" + - ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a" + Hint: __Updated by + Value: | + sitecore\Admin + - ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522" + Hint: __Updated + Value: 20240411T145914Z +- Language: en + Versions: + - Version: 1 + Fields: + - ID: "25bed78c-4957-4165-998a-ca1b52f67497" + Hint: __Created + Value: 20211125T141804Z + - ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f" + Hint: __Created by + Value: | + sitecore\Admin + - ID: "8cdc337e-a112-42fb-bbb4-4143751e123f" + Hint: __Revision + Value: "ef2be0b5-290d-406a-86cb-1fd039650915" + - ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a" + Hint: __Updated by + Value: | + sitecore\cdJph8P5Hr + - ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522" + Hint: __Updated + Value: 20240412T154007Z +- Language: "ja-JP" + Fields: + - ID: "b5e02ad9-d56f-4c41-a065-a133db87bdeb" + Hint: __Display name + Value: ナビゲーション + Versions: + - Version: 1 + Fields: + - ID: "25bed78c-4957-4165-998a-ca1b52f67497" + Hint: __Created + Value: 20240411T145914Z + - ID: "52807595-0f8f-4b20-8d2a-cb71d28c6103" + Hint: __Owner + Value: | + sitecore\Admin + - ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f" + Hint: __Created by + Value: | + sitecore\Admin + - ID: "8cdc337e-a112-42fb-bbb4-4143751e123f" + Hint: __Revision + Value: "28a6c6ef-031f-45d1-b714-c0f72c26de01" + - ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a" + Hint: __Updated by + Value: | + sitecore\Admin + - ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522" + Hint: __Updated + Value: 20240411T145914Z +- Language: "zh-CN" + Fields: + - ID: "b5e02ad9-d56f-4c41-a065-a133db87bdeb" + Hint: __Display name + Value: 导航 + Versions: + - Version: 1 + Fields: + - ID: "25bed78c-4957-4165-998a-ca1b52f67497" + Hint: __Created + Value: 20240411T145914Z + - ID: "52807595-0f8f-4b20-8d2a-cb71d28c6103" + Hint: __Owner + Value: | + sitecore\Admin + - ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f" + Hint: __Created by + Value: | + sitecore\Admin + - ID: "8cdc337e-a112-42fb-bbb4-4143751e123f" + Hint: __Revision + Value: "28a6c6ef-031f-45d1-b714-c0f72c26de01" + - ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a" + Hint: __Updated by + Value: | + sitecore\Admin + - ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522" + Hint: __Updated + Value: 20240411T145914Z diff --git a/src/Project/Sugcon2024/items/SiteEU/EU/Presentation/Headless Variants/Link.yml b/src/Project/Sugcon2024/items/SiteEU/EU/Presentation/Headless Variants/Link.yml new file mode 100644 index 000000000..834295bfb --- /dev/null +++ b/src/Project/Sugcon2024/items/SiteEU/EU/Presentation/Headless Variants/Link.yml @@ -0,0 +1,38 @@ +--- +ID: "2b067f30-56f6-435f-b6d5-21745715c717" +Parent: "aa2a6eac-c634-4f7d-88d6-847f24c2574d" +Template: "49c111d0-6867-4798-a724-1f103166e6e9" +Path: /sitecore/content/Sugcon2024/EU/Presentation/Headless Variants/Link +SharedFields: +- ID: "06d5295c-ed2f-4a54-9bf2-26228d113318" + Hint: __Icon + Value: office/32x32/link.png +- ID: "087c0553-9162-41f5-98d3-87eb0d80edbb" + Hint: Compatible Renderings + Value: "{55493A56-C60D-44D2-8E5D-BAEFC399938E}" +Languages: +- Language: en + Versions: + - Version: 1 + Fields: + - ID: "25bed78c-4957-4165-998a-ca1b52f67497" + Hint: __Created + Value: 20240402T145211Z + - ID: "52807595-0f8f-4b20-8d2a-cb71d28c6103" + Hint: __Owner + Value: | + sitecore\cdJph8P5Hr + - ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f" + Hint: __Created by + Value: | + sitecore\cdJph8P5Hr + - ID: "8cdc337e-a112-42fb-bbb4-4143751e123f" + Hint: __Revision + Value: "77a6b7fb-3ff9-4505-ac63-3509d143a163" + - ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a" + Hint: __Updated by + Value: | + sitecore\cdJph8P5Hr + - ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522" + Hint: __Updated + Value: 20240402T145454Z diff --git a/src/Project/Sugcon2024/items/SiteEU/EU/Presentation/Headless Variants/Link/Button.yml b/src/Project/Sugcon2024/items/SiteEU/EU/Presentation/Headless Variants/Link/Button.yml new file mode 100644 index 000000000..060519ab1 --- /dev/null +++ b/src/Project/Sugcon2024/items/SiteEU/EU/Presentation/Headless Variants/Link/Button.yml @@ -0,0 +1,31 @@ +--- +ID: "775a5ce6-c126-4466-894c-4cdab71d3fa9" +Parent: "2b067f30-56f6-435f-b6d5-21745715c717" +Template: "4d50cdae-c2d9-4de8-b080-8f992bfb1b55" +Path: /sitecore/content/Sugcon2024/EU/Presentation/Headless Variants/Link/Button +Languages: +- Language: en + Versions: + - Version: 1 + Fields: + - ID: "25bed78c-4957-4165-998a-ca1b52f67497" + Hint: __Created + Value: 20240402T145301Z + - ID: "52807595-0f8f-4b20-8d2a-cb71d28c6103" + Hint: __Owner + Value: | + sitecore\cdJph8P5Hr + - ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f" + Hint: __Created by + Value: | + sitecore\cdJph8P5Hr + - ID: "8cdc337e-a112-42fb-bbb4-4143751e123f" + Hint: __Revision + Value: "addc525b-bba0-4e65-963b-50e5ab71cd85" + - ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a" + Hint: __Updated by + Value: | + sitecore\cdJph8P5Hr + - ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522" + Hint: __Updated + Value: 20240402T215358Z diff --git a/src/Project/Sugcon2024/items/SiteEU/EU/Presentation/Headless Variants/Link/Default.yml b/src/Project/Sugcon2024/items/SiteEU/EU/Presentation/Headless Variants/Link/Default.yml new file mode 100644 index 000000000..bc4bb0c51 --- /dev/null +++ b/src/Project/Sugcon2024/items/SiteEU/EU/Presentation/Headless Variants/Link/Default.yml @@ -0,0 +1,35 @@ +--- +ID: "9065f9d2-8a4a-45a4-933c-9312a7e4cff5" +Parent: "2b067f30-56f6-435f-b6d5-21745715c717" +Template: "4d50cdae-c2d9-4de8-b080-8f992bfb1b55" +Path: /sitecore/content/Sugcon2024/EU/Presentation/Headless Variants/Link/Default +SharedFields: +- ID: "ba3f86a2-4a1c-4d78-b63d-91c2779c1b5e" + Hint: __Sortorder + Value: 0 +Languages: +- Language: en + Versions: + - Version: 1 + Fields: + - ID: "25bed78c-4957-4165-998a-ca1b52f67497" + Hint: __Created + Value: 20240402T145253Z + - ID: "52807595-0f8f-4b20-8d2a-cb71d28c6103" + Hint: __Owner + Value: | + sitecore\cdJph8P5Hr + - ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f" + Hint: __Created by + Value: | + sitecore\cdJph8P5Hr + - ID: "8cdc337e-a112-42fb-bbb4-4143751e123f" + Hint: __Revision + Value: "3391fc9e-1d8b-45f7-81cc-f079c9acf5f5" + - ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a" + Hint: __Updated by + Value: | + sitecore\cdJph8P5Hr + - ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522" + Hint: __Updated + Value: 20240402T145306Z diff --git a/src/Project/Sugcon2024/items/SiteEU/EU/Presentation/Placeholder Settings/Button Link.yml b/src/Project/Sugcon2024/items/SiteEU/EU/Presentation/Placeholder Settings/Button Link.yml new file mode 100644 index 000000000..67b2627f7 --- /dev/null +++ b/src/Project/Sugcon2024/items/SiteEU/EU/Presentation/Placeholder Settings/Button Link.yml @@ -0,0 +1,38 @@ +--- +ID: "b0991a5a-43ff-431a-9f3d-8c82478109e8" +Parent: "b96ec8cb-5e3f-42bf-93e9-1f94567dc8db" +Template: "d2a6884c-04d5-4089-a64e-d27ca9d68d4c" +Path: /sitecore/content/Sugcon2024/EU/Presentation/Placeholder Settings/Button Link +SharedFields: +- ID: "7256bdab-1fd2-49dd-b205-cb4873d2917c" + Hint: Placeholder Key + Value: "button-link" +- ID: "e391b526-d0c5-439d-803e-17512eae6222" + Hint: Allowed Controls + Value: "{692D371A-0B2D-4A9F-927E-98A8B8C600B5}" +Languages: +- Language: en + Versions: + - Version: 1 + Fields: + - ID: "25bed78c-4957-4165-998a-ca1b52f67497" + Hint: __Created + Value: 20240412T151652Z + - ID: "52807595-0f8f-4b20-8d2a-cb71d28c6103" + Hint: __Owner + Value: | + sitecore\cdJph8P5Hr + - ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f" + Hint: __Created by + Value: | + sitecore\cdJph8P5Hr + - ID: "8cdc337e-a112-42fb-bbb4-4143751e123f" + Hint: __Revision + Value: "c1eeec76-5c93-4885-a2e0-832e28746320" + - ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a" + Hint: __Updated by + Value: | + sitecore\cdJph8P5Hr + - ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522" + Hint: __Updated + Value: 20240412T151956Z diff --git a/src/Project/Sugcon2024/items/SiteShared/Shared/Presentation/Headless Variants/Link.yml b/src/Project/Sugcon2024/items/SiteShared/Shared/Presentation/Headless Variants/Link.yml new file mode 100644 index 000000000..76b615c89 --- /dev/null +++ b/src/Project/Sugcon2024/items/SiteShared/Shared/Presentation/Headless Variants/Link.yml @@ -0,0 +1,38 @@ +--- +ID: "84eb2f23-913e-4f59-86f9-91a6efba8a6d" +Parent: "e96c7328-0899-4e7a-a7ba-05f0dca07954" +Template: "49c111d0-6867-4798-a724-1f103166e6e9" +Path: /sitecore/content/Sugcon2024/Shared/Presentation/Headless Variants/Link +SharedFields: +- ID: "06d5295c-ed2f-4a54-9bf2-26228d113318" + Hint: __Icon + Value: office/32x32/link.png +- ID: "087c0553-9162-41f5-98d3-87eb0d80edbb" + Hint: Compatible Renderings + Value: "{55493A56-C60D-44D2-8E5D-BAEFC399938E}" +Languages: +- Language: en + Versions: + - Version: 1 + Fields: + - ID: "25bed78c-4957-4165-998a-ca1b52f67497" + Hint: __Created + Value: 20240402T145211Z + - ID: "52807595-0f8f-4b20-8d2a-cb71d28c6103" + Hint: __Owner + Value: | + sitecore\cdJph8P5Hr + - ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f" + Hint: __Created by + Value: | + sitecore\cdJph8P5Hr + - ID: "8cdc337e-a112-42fb-bbb4-4143751e123f" + Hint: __Revision + Value: "77a6b7fb-3ff9-4505-ac63-3509d143a163" + - ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a" + Hint: __Updated by + Value: | + sitecore\cdJph8P5Hr + - ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522" + Hint: __Updated + Value: 20240402T145454Z diff --git a/src/Project/Sugcon2024/items/SiteShared/Shared/Presentation/Headless Variants/Link/Button.yml b/src/Project/Sugcon2024/items/SiteShared/Shared/Presentation/Headless Variants/Link/Button.yml new file mode 100644 index 000000000..1dcf3ab61 --- /dev/null +++ b/src/Project/Sugcon2024/items/SiteShared/Shared/Presentation/Headless Variants/Link/Button.yml @@ -0,0 +1,31 @@ +--- +ID: "338d9b47-ac81-404a-a470-752675bde609" +Parent: "84eb2f23-913e-4f59-86f9-91a6efba8a6d" +Template: "4d50cdae-c2d9-4de8-b080-8f992bfb1b55" +Path: /sitecore/content/Sugcon2024/Shared/Presentation/Headless Variants/Link/Button +Languages: +- Language: en + Versions: + - Version: 1 + Fields: + - ID: "25bed78c-4957-4165-998a-ca1b52f67497" + Hint: __Created + Value: 20240402T145301Z + - ID: "52807595-0f8f-4b20-8d2a-cb71d28c6103" + Hint: __Owner + Value: | + sitecore\cdJph8P5Hr + - ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f" + Hint: __Created by + Value: | + sitecore\cdJph8P5Hr + - ID: "8cdc337e-a112-42fb-bbb4-4143751e123f" + Hint: __Revision + Value: "25a5d353-59c1-49b2-bd1e-87760600701c" + - ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a" + Hint: __Updated by + Value: | + sitecore\cdJph8P5Hr + - ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522" + Hint: __Updated + Value: 20240402T215412Z diff --git a/src/Project/Sugcon2024/items/SiteShared/Shared/Presentation/Headless Variants/Link/Default.yml b/src/Project/Sugcon2024/items/SiteShared/Shared/Presentation/Headless Variants/Link/Default.yml new file mode 100644 index 000000000..9c516ef6e --- /dev/null +++ b/src/Project/Sugcon2024/items/SiteShared/Shared/Presentation/Headless Variants/Link/Default.yml @@ -0,0 +1,35 @@ +--- +ID: "bf5e637a-9b18-42d2-b991-ceb5ce14c22f" +Parent: "84eb2f23-913e-4f59-86f9-91a6efba8a6d" +Template: "4d50cdae-c2d9-4de8-b080-8f992bfb1b55" +Path: /sitecore/content/Sugcon2024/Shared/Presentation/Headless Variants/Link/Default +SharedFields: +- ID: "ba3f86a2-4a1c-4d78-b63d-91c2779c1b5e" + Hint: __Sortorder + Value: 0 +Languages: +- Language: en + Versions: + - Version: 1 + Fields: + - ID: "25bed78c-4957-4165-998a-ca1b52f67497" + Hint: __Created + Value: 20240402T145253Z + - ID: "52807595-0f8f-4b20-8d2a-cb71d28c6103" + Hint: __Owner + Value: | + sitecore\cdJph8P5Hr + - ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f" + Hint: __Created by + Value: | + sitecore\cdJph8P5Hr + - ID: "8cdc337e-a112-42fb-bbb4-4143751e123f" + Hint: __Revision + Value: "3391fc9e-1d8b-45f7-81cc-f079c9acf5f5" + - ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a" + Hint: __Updated by + Value: | + sitecore\cdJph8P5Hr + - ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522" + Hint: __Updated + Value: 20240402T145306Z diff --git a/src/Project/Sugcon2024/items/SiteShared/Shared/Presentation/Partial Designs/Header.yml b/src/Project/Sugcon2024/items/SiteShared/Shared/Presentation/Partial Designs/Header.yml index c35358e2b..dc20c6397 100644 --- a/src/Project/Sugcon2024/items/SiteShared/Shared/Presentation/Partial Designs/Header.yml +++ b/src/Project/Sugcon2024/items/SiteShared/Shared/Presentation/Partial Designs/Header.yml @@ -20,11 +20,26 @@ SharedFields: id="{FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}"> + + Languages: @@ -45,11 +60,11 @@ Languages: sitecore\UOUBIWQRx7 - ID: "8cdc337e-a112-42fb-bbb4-4143751e123f" Hint: __Revision - Value: "f1168da9-1f08-40a9-8f8b-56882c08667f" + Value: "95adc50f-de14-4201-b4c4-08988514d454" - ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a" Hint: __Updated by Value: | sitecore\cdJph8P5Hr - ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522" Hint: __Updated - Value: 20240303T200808Z + Value: 20240412T163127Z diff --git a/src/Project/Sugcon2024/items/Templates/Sugcon2024/Basic Components/Rendering Parameters/Logo.yml b/src/Project/Sugcon2024/items/Templates/Sugcon2024/Basic Components/Rendering Parameters/Logo.yml new file mode 100644 index 000000000..b715b3c38 --- /dev/null +++ b/src/Project/Sugcon2024/items/Templates/Sugcon2024/Basic Components/Rendering Parameters/Logo.yml @@ -0,0 +1,38 @@ +--- +ID: "23d6cd7c-652d-4291-b1af-6ae7fd3e5ce5" +Parent: "386b9c07-16a9-4475-b1c1-6a18cb694635" +Template: "ab86861a-6030-46c5-b394-e8f99e8b87db" +Path: /sitecore/templates/Project/Sugcon2024/Basic Components/Rendering Parameters/Logo +SharedFields: +- ID: "12c33f3f-86c5-43a5-aeb4-5598cec45116" + Hint: __Base template + Value: "{15185B0E-6418-4449-9F93-4FF03B7EE032}" +- ID: "f7d48a55-2158-4f02-9356-756654404f73" + Hint: __Standard values + Value: "{24B15AB7-2728-45BA-99AB-95662A5BEABA}" +Languages: +- Language: en + Versions: + - Version: 1 + Fields: + - ID: "25bed78c-4957-4165-998a-ca1b52f67497" + Hint: __Created + Value: 20240226T165733Z + - ID: "52807595-0f8f-4b20-8d2a-cb71d28c6103" + Hint: __Owner + Value: | + sitecore\cdJph8P5Hr + - ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f" + Hint: __Created by + Value: | + sitecore\cdJph8P5Hr + - ID: "8cdc337e-a112-42fb-bbb4-4143751e123f" + Hint: __Revision + Value: "0c864120-d490-4f80-88a3-92d40932f468" + - ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a" + Hint: __Updated by + Value: | + sitecore\cdJph8P5Hr + - ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522" + Hint: __Updated + Value: 20240226T171328Z diff --git a/src/Project/Sugcon2024/items/Templates/Sugcon2024/Basic Components/Rendering Parameters/Navigation.yml b/src/Project/Sugcon2024/items/Templates/Sugcon2024/Basic Components/Rendering Parameters/Navigation.yml new file mode 100644 index 000000000..2ce723ba3 --- /dev/null +++ b/src/Project/Sugcon2024/items/Templates/Sugcon2024/Basic Components/Rendering Parameters/Navigation.yml @@ -0,0 +1,38 @@ +--- +ID: "7830b05d-840e-4074-aa1b-0234ff04ce05" +Parent: "386b9c07-16a9-4475-b1c1-6a18cb694635" +Template: "ab86861a-6030-46c5-b394-e8f99e8b87db" +Path: /sitecore/templates/Project/Sugcon2024/Basic Components/Rendering Parameters/Navigation +SharedFields: +- ID: "12c33f3f-86c5-43a5-aeb4-5598cec45116" + Hint: __Base template + Value: "{9CE34BF9-5C93-4DFF-841D-8F649C2BD6C8}" +- ID: "f7d48a55-2158-4f02-9356-756654404f73" + Hint: __Standard values + Value: "{94C604F5-8440-46D0-BD10-6ED0D91104E6}" +Languages: +- Language: en + Versions: + - Version: 1 + Fields: + - ID: "25bed78c-4957-4165-998a-ca1b52f67497" + Hint: __Created + Value: 20240412T153751Z + - ID: "52807595-0f8f-4b20-8d2a-cb71d28c6103" + Hint: __Owner + Value: | + sitecore\cdJph8P5Hr + - ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f" + Hint: __Created by + Value: | + sitecore\cdJph8P5Hr + - ID: "8cdc337e-a112-42fb-bbb4-4143751e123f" + Hint: __Revision + Value: "1177566d-0324-4b7e-ba19-0e25a937dc3e" + - ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a" + Hint: __Updated by + Value: | + sitecore\cdJph8P5Hr + - ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522" + Hint: __Updated + Value: 20240412T154108Z From 2a189328824702163a66ee4a1147852a9456dc2d Mon Sep 17 00:00:00 2001 From: cheeto-bandito Date: Fri, 12 Apr 2024 11:59:50 -0500 Subject: [PATCH 2/5] Removed unecessary items --- ...ailable Headless Sugcon2024 Renderings.yml | 114 ------------------ .../_name.yml | 31 ----- .../Add Available Renderings.yml | 41 ------- .../Logo/__Standard Values.yml | 2 +- .../Navigation/__Standard Values.yml} | 14 +-- .../Sugcon2024/Rendering Parameters/Logo.yml | 38 ------ 6 files changed, 8 insertions(+), 232 deletions(-) delete mode 100644 src/Project/Sugcon2024/items/Branches/Sugcon2024/Basic Components/Available Headless Sugcon2024 Renderings.yml delete mode 100644 src/Project/Sugcon2024/items/Branches/Sugcon2024/Basic Components/Available Headless Sugcon2024 Renderings/_name.yml delete mode 100644 src/Project/Sugcon2024/items/Modules/Sugcon2024/Basic Components/Basic Components Headless Site Setup/Add Available Renderings.yml rename src/Project/Sugcon2024/items/Templates/Sugcon2024/{ => Basic Components}/Rendering Parameters/Logo/__Standard Values.yml (89%) rename src/Project/Sugcon2024/items/Templates/Sugcon2024/{Rendering Parameters.yml => Basic Components/Rendering Parameters/Navigation/__Standard Values.yml} (63%) delete mode 100644 src/Project/Sugcon2024/items/Templates/Sugcon2024/Rendering Parameters/Logo.yml diff --git a/src/Project/Sugcon2024/items/Branches/Sugcon2024/Basic Components/Available Headless Sugcon2024 Renderings.yml b/src/Project/Sugcon2024/items/Branches/Sugcon2024/Basic Components/Available Headless Sugcon2024 Renderings.yml deleted file mode 100644 index 0041fc596..000000000 --- a/src/Project/Sugcon2024/items/Branches/Sugcon2024/Basic Components/Available Headless Sugcon2024 Renderings.yml +++ /dev/null @@ -1,114 +0,0 @@ ---- -ID: "f4b65d06-77ad-42af-a860-a3510a14cf0a" -Parent: "6c059548-d202-4fd6-886c-f3480a7be5a2" -Template: "35e75c72-4985-4e09-88c3-0eac6cd1e64f" -Path: /sitecore/templates/Branches/Project/Sugcon2024/Basic Components/Available Headless Sugcon2024 Renderings -Languages: -- Language: "de-DE" - Fields: - - ID: "b5e02ad9-d56f-4c41-a065-a133db87bdeb" - Hint: __Display name - Value: Leer verfügbare Renderings - Versions: - - Version: 1 - Fields: - - ID: "25bed78c-4957-4165-998a-ca1b52f67497" - Hint: __Created - Value: 20240225T044048Z - - ID: "52807595-0f8f-4b20-8d2a-cb71d28c6103" - Hint: __Owner - Value: | - sitecore\Admin - - ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f" - Hint: __Created by - Value: | - sitecore\Admin - - ID: "8cdc337e-a112-42fb-bbb4-4143751e123f" - Hint: __Revision - Value: "61c07b6b-62ee-4829-8645-8399c9a60807" - - ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a" - Hint: __Updated by - Value: | - sitecore\Admin - - ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522" - Hint: __Updated - Value: 20240225T044048Z -- Language: en - Versions: - - Version: 1 - Fields: - - ID: "25bed78c-4957-4165-998a-ca1b52f67497" - Hint: __Created - Value: 20171113T104335Z - - ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f" - Hint: __Created by - Value: | - sitecore\admin - - ID: "8cdc337e-a112-42fb-bbb4-4143751e123f" - Hint: __Revision - Value: "066bdd30-9cf3-4de7-b53b-6f4cdefccc94" - - ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a" - Hint: __Updated by - Value: | - sitecore\cdJph8P5Hr - - ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522" - Hint: __Updated - Value: 20240226T165735Z -- Language: "ja-JP" - Fields: - - ID: "b5e02ad9-d56f-4c41-a065-a133db87bdeb" - Hint: __Display name - Value: 利用可能なレンダリングを空にする - Versions: - - Version: 1 - Fields: - - ID: "25bed78c-4957-4165-998a-ca1b52f67497" - Hint: __Created - Value: 20240225T044048Z - - ID: "52807595-0f8f-4b20-8d2a-cb71d28c6103" - Hint: __Owner - Value: | - sitecore\Admin - - ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f" - Hint: __Created by - Value: | - sitecore\Admin - - ID: "8cdc337e-a112-42fb-bbb4-4143751e123f" - Hint: __Revision - Value: "61c07b6b-62ee-4829-8645-8399c9a60807" - - ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a" - Hint: __Updated by - Value: | - sitecore\Admin - - ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522" - Hint: __Updated - Value: 20240225T044048Z -- Language: "zh-CN" - Fields: - - ID: "b5e02ad9-d56f-4c41-a065-a133db87bdeb" - Hint: __Display name - Value: 空的可用渲染 - Versions: - - Version: 1 - Fields: - - ID: "25bed78c-4957-4165-998a-ca1b52f67497" - Hint: __Created - Value: 20240225T044048Z - - ID: "52807595-0f8f-4b20-8d2a-cb71d28c6103" - Hint: __Owner - Value: | - sitecore\Admin - - ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f" - Hint: __Created by - Value: | - sitecore\Admin - - ID: "8cdc337e-a112-42fb-bbb4-4143751e123f" - Hint: __Revision - Value: "61c07b6b-62ee-4829-8645-8399c9a60807" - - ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a" - Hint: __Updated by - Value: | - sitecore\Admin - - ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522" - Hint: __Updated - Value: 20240225T044048Z diff --git a/src/Project/Sugcon2024/items/Branches/Sugcon2024/Basic Components/Available Headless Sugcon2024 Renderings/_name.yml b/src/Project/Sugcon2024/items/Branches/Sugcon2024/Basic Components/Available Headless Sugcon2024 Renderings/_name.yml deleted file mode 100644 index 3cbb29ca6..000000000 --- a/src/Project/Sugcon2024/items/Branches/Sugcon2024/Basic Components/Available Headless Sugcon2024 Renderings/_name.yml +++ /dev/null @@ -1,31 +0,0 @@ ---- -ID: "9ac14148-1b76-42f0-a3e4-b2f946de5ce3" -Parent: "f4b65d06-77ad-42af-a860-a3510a14cf0a" -Template: "76da0a8d-fc7e-42b2-af1e-205b49e43f98" -Path: /sitecore/templates/Branches/Project/Sugcon2024/Basic Components/Available Headless Sugcon2024 Renderings/$name -SharedFields: -- ID: "715ae6c0-71c8-4744-ab4f-65362d20ad65" - Hint: Renderings - Value: "{83D0E443-F5BB-4140-8152-BE180E05A225}" -Languages: -- Language: en - Versions: - - Version: 1 - Fields: - - ID: "25bed78c-4957-4165-998a-ca1b52f67497" - Hint: __Created - Value: 20171113T104335Z - - ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f" - Hint: __Created by - Value: | - sitecore\admin - - ID: "8cdc337e-a112-42fb-bbb4-4143751e123f" - Hint: __Revision - Value: "c25396f5-eee9-4213-837d-031498c19528" - - ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a" - Hint: __Updated by - Value: | - sitecore\cdJph8P5Hr - - ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522" - Hint: __Updated - Value: 20240226T165735Z diff --git a/src/Project/Sugcon2024/items/Modules/Sugcon2024/Basic Components/Basic Components Headless Site Setup/Add Available Renderings.yml b/src/Project/Sugcon2024/items/Modules/Sugcon2024/Basic Components/Basic Components Headless Site Setup/Add Available Renderings.yml deleted file mode 100644 index f18669b1f..000000000 --- a/src/Project/Sugcon2024/items/Modules/Sugcon2024/Basic Components/Basic Components Headless Site Setup/Add Available Renderings.yml +++ /dev/null @@ -1,41 +0,0 @@ ---- -ID: "72893f4d-9ffc-4589-a805-6ea91177af1f" -Parent: "6f3393fc-0bcf-43fa-9ee2-47dcff255efc" -Template: "3aea335c-d06d-45b1-841a-cbc8d2d1ce40" -Path: /sitecore/system/Settings/Project/Sugcon2024/Basic Components/Basic Components Headless Site Setup/Add Available Renderings -SharedFields: -- ID: "52c91c75-6698-4701-a8a2-242ace59a8d6" - Hint: Location - Value: "{3F14C1B6-5A2D-44CA-A8EF-DFE3CBD574E4}" -- ID: "7868e6bc-525c-4fce-ab8a-77da3e09b171" - Hint: Name - Value: Basic Components -- ID: "e62c28f0-9d3b-46e2-8bec-a5e120542499" - Hint: Template - Value: "{07B10CE0-7C34-4D7B-8C50-D9F25A11A667}" -Languages: -- Language: en - Versions: - - Version: 1 - Fields: - - ID: "25bed78c-4957-4165-998a-ca1b52f67497" - Hint: __Created - Value: 20240125T183403Z - - ID: "52807595-0f8f-4b20-8d2a-cb71d28c6103" - Hint: __Owner - Value: | - sitecore\UOUBIWQRx7 - - ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f" - Hint: __Created by - Value: | - sitecore\UOUBIWQRx7 - - ID: "8cdc337e-a112-42fb-bbb4-4143751e123f" - Hint: __Revision - Value: "b9de2737-f386-43bd-af58-82a28310a0ca" - - ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a" - Hint: __Updated by - Value: | - sitecore\UOUBIWQRx7 - - ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522" - Hint: __Updated - Value: 20240125T183403Z diff --git a/src/Project/Sugcon2024/items/Templates/Sugcon2024/Rendering Parameters/Logo/__Standard Values.yml b/src/Project/Sugcon2024/items/Templates/Sugcon2024/Basic Components/Rendering Parameters/Logo/__Standard Values.yml similarity index 89% rename from src/Project/Sugcon2024/items/Templates/Sugcon2024/Rendering Parameters/Logo/__Standard Values.yml rename to src/Project/Sugcon2024/items/Templates/Sugcon2024/Basic Components/Rendering Parameters/Logo/__Standard Values.yml index 506538411..f62bcc70c 100644 --- a/src/Project/Sugcon2024/items/Templates/Sugcon2024/Rendering Parameters/Logo/__Standard Values.yml +++ b/src/Project/Sugcon2024/items/Templates/Sugcon2024/Basic Components/Rendering Parameters/Logo/__Standard Values.yml @@ -2,7 +2,7 @@ ID: "24b15ab7-2728-45ba-99ab-95662a5beaba" Parent: "23d6cd7c-652d-4291-b1af-6ae7fd3e5ce5" Template: "23d6cd7c-652d-4291-b1af-6ae7fd3e5ce5" -Path: /sitecore/templates/Project/Sugcon2024/Rendering Parameters/Logo/__Standard Values +Path: /sitecore/templates/Project/Sugcon2024/Basic Components/Rendering Parameters/Logo/__Standard Values Languages: - Language: en Versions: diff --git a/src/Project/Sugcon2024/items/Templates/Sugcon2024/Rendering Parameters.yml b/src/Project/Sugcon2024/items/Templates/Sugcon2024/Basic Components/Rendering Parameters/Navigation/__Standard Values.yml similarity index 63% rename from src/Project/Sugcon2024/items/Templates/Sugcon2024/Rendering Parameters.yml rename to src/Project/Sugcon2024/items/Templates/Sugcon2024/Basic Components/Rendering Parameters/Navigation/__Standard Values.yml index 123dcf6bf..bb73dd64f 100644 --- a/src/Project/Sugcon2024/items/Templates/Sugcon2024/Rendering Parameters.yml +++ b/src/Project/Sugcon2024/items/Templates/Sugcon2024/Basic Components/Rendering Parameters/Navigation/__Standard Values.yml @@ -1,8 +1,8 @@ --- -ID: "0d01471a-af9c-4ec3-a302-53ee36bd7a78" -Parent: "aa7ea3cd-0f71-4031-8afa-8cb36cf60d96" -Template: "0437fee2-44c9-46a6-abe9-28858d9fee8c" -Path: /sitecore/templates/Project/Sugcon2024/Rendering Parameters +ID: "94c604f5-8440-46d0-bd10-6ed0d91104e6" +Parent: "7830b05d-840e-4074-aa1b-0234ff04ce05" +Template: "7830b05d-840e-4074-aa1b-0234ff04ce05" +Path: /sitecore/templates/Project/Sugcon2024/Basic Components/Rendering Parameters/Navigation/__Standard Values Languages: - Language: en Versions: @@ -10,7 +10,7 @@ Languages: Fields: - ID: "25bed78c-4957-4165-998a-ca1b52f67497" Hint: __Created - Value: 20240226T165733Z + Value: 20240412T154108Z - ID: "52807595-0f8f-4b20-8d2a-cb71d28c6103" Hint: __Owner Value: | @@ -21,11 +21,11 @@ Languages: sitecore\cdJph8P5Hr - ID: "8cdc337e-a112-42fb-bbb4-4143751e123f" Hint: __Revision - Value: "59c18503-da92-4104-8022-6b5f3d72485b" + Value: "97740151-4c37-4016-aa70-60de52f8bfdd" - ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a" Hint: __Updated by Value: | sitecore\cdJph8P5Hr - ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522" Hint: __Updated - Value: 20240226T165733Z + Value: 20240412T154108Z diff --git a/src/Project/Sugcon2024/items/Templates/Sugcon2024/Rendering Parameters/Logo.yml b/src/Project/Sugcon2024/items/Templates/Sugcon2024/Rendering Parameters/Logo.yml deleted file mode 100644 index 46104de7a..000000000 --- a/src/Project/Sugcon2024/items/Templates/Sugcon2024/Rendering Parameters/Logo.yml +++ /dev/null @@ -1,38 +0,0 @@ ---- -ID: "23d6cd7c-652d-4291-b1af-6ae7fd3e5ce5" -Parent: "0d01471a-af9c-4ec3-a302-53ee36bd7a78" -Template: "ab86861a-6030-46c5-b394-e8f99e8b87db" -Path: /sitecore/templates/Project/Sugcon2024/Rendering Parameters/Logo -SharedFields: -- ID: "12c33f3f-86c5-43a5-aeb4-5598cec45116" - Hint: __Base template - Value: "{15185B0E-6418-4449-9F93-4FF03B7EE032}" -- ID: "f7d48a55-2158-4f02-9356-756654404f73" - Hint: __Standard values - Value: "{24B15AB7-2728-45BA-99AB-95662A5BEABA}" -Languages: -- Language: en - Versions: - - Version: 1 - Fields: - - ID: "25bed78c-4957-4165-998a-ca1b52f67497" - Hint: __Created - Value: 20240226T165733Z - - ID: "52807595-0f8f-4b20-8d2a-cb71d28c6103" - Hint: __Owner - Value: | - sitecore\cdJph8P5Hr - - ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f" - Hint: __Created by - Value: | - sitecore\cdJph8P5Hr - - ID: "8cdc337e-a112-42fb-bbb4-4143751e123f" - Hint: __Revision - Value: "0c864120-d490-4f80-88a3-92d40932f468" - - ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a" - Hint: __Updated by - Value: | - sitecore\cdJph8P5Hr - - ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522" - Hint: __Updated - Value: 20240226T171328Z From 64f19f5c04933f704c2b08814bf3e21276d2212c Mon Sep 17 00:00:00 2001 From: cheeto-bandito Date: Fri, 12 Apr 2024 12:55:32 -0500 Subject: [PATCH 3/5] Updated storybook --- .../Basic Components/Link.Button.stories.tsx | 32 +++++++++++++++++++ .../Basic Components/Link.stories.tsx | 3 +- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 src/Project/Sugcon2024/Sugcon/src/stories/components/Basic Components/Link.Button.stories.tsx diff --git a/src/Project/Sugcon2024/Sugcon/src/stories/components/Basic Components/Link.Button.stories.tsx b/src/Project/Sugcon2024/Sugcon/src/stories/components/Basic Components/Link.Button.stories.tsx new file mode 100644 index 000000000..5b5df323a --- /dev/null +++ b/src/Project/Sugcon2024/Sugcon/src/stories/components/Basic Components/Link.Button.stories.tsx @@ -0,0 +1,32 @@ +import { Meta, StoryObj } from '@storybook/react'; +import { Button as ButtonLink } from '../../../components/Basic Components/Link'; +const meta = { + title: 'Basic Components/Link', + component: ButtonLink, + parameters: { + layout: 'centered', + }, + tags: ['autodocs'], + argTypes: {}, +} satisfies Meta; +export default meta; +type Story = StoryObj; + +export const Button: Story = { + name: 'Button', + args: { + params: { + styles: '', + }, + fields: { + Link: { + value: { + href: 'https://www.google.com', + text: 'Register Now', + linktype: 'external' + }, + }, + }, + }, +}; + diff --git a/src/Project/Sugcon2024/Sugcon/src/stories/components/Basic Components/Link.stories.tsx b/src/Project/Sugcon2024/Sugcon/src/stories/components/Basic Components/Link.stories.tsx index b3af427f5..9bd0d6154 100644 --- a/src/Project/Sugcon2024/Sugcon/src/stories/components/Basic Components/Link.stories.tsx +++ b/src/Project/Sugcon2024/Sugcon/src/stories/components/Basic Components/Link.stories.tsx @@ -11,6 +11,7 @@ const meta = { } satisfies Meta; export default meta; type Story = StoryObj; + export const Link: Story = { name: 'Link', args: { @@ -30,4 +31,4 @@ export const Link: Story = { }, }, }, -}; +}; \ No newline at end of file From 1f888d5ad8896dad6f6e197560120b8e282d5f8f Mon Sep 17 00:00:00 2001 From: cheeto-bandito Date: Fri, 12 Apr 2024 13:07:57 -0500 Subject: [PATCH 4/5] Fixed Storybook build --- .../Basic Components/Navigation.stories.tsx | 90 ------------------- 1 file changed, 90 deletions(-) diff --git a/src/Project/Sugcon2024/Sugcon/src/stories/components/Basic Components/Navigation.stories.tsx b/src/Project/Sugcon2024/Sugcon/src/stories/components/Basic Components/Navigation.stories.tsx index e6ed18b0e..f3ecd0ff3 100644 --- a/src/Project/Sugcon2024/Sugcon/src/stories/components/Basic Components/Navigation.stories.tsx +++ b/src/Project/Sugcon2024/Sugcon/src/stories/components/Basic Components/Navigation.stories.tsx @@ -31,96 +31,6 @@ export const PrimaryNavigation: Story = { uid: '101b1558-808e-4d52-9ce5-6781dd2fc046', componentName: 'Navigation', dataSource: '', - params: { - FieldNames: 'Default', - LevelFrom: '{1BB88840-5FB3-4353-AD8D-81136F6FF75A}', - LevelTo: '{A59325BB-5A27-46F9-8110-9D499715F3BE}', - Styles: 'navigation-horizontal', - }, - fields: [ - { - Id: '9dc1fb0c-996c-4130-bc07-d5773bf2e824', - Styles: ['level1', 'submenu', 'item0', 'odd', 'first'], - Href: '/Sessssions', - Querystring: '', - NavigationTitle: { - value: 'Sessions', - editable: 'Sessions', - }, - Children: [ - { - Id: 'ffaa7f0d-2fb9-4c57-8846-5a55c7969fbf', - Styles: ['level2', 'item0', 'odd', 'first'], - Href: '/Sessions/Session-1', - Querystring: '', - NavigationTitle: { - value: 'Session 1', - editable: 'Session 1', - }, - }, - { - Id: 'bed50e98-2c1a-402e-a8ac-329015cc4b43', - Styles: ['level2', 'item1', 'even', 'last'], - Href: '/Sessions/Session-2', - Querystring: '', - NavigationTitle: { - value: 'Session 2', - editable: 'Session 2', - }, - }, - ], - }, - { - Id: '20434b37-8963-41c7-88bb-0d63af1854d1', - Styles: ['level1', 'item1', 'even'], - Href: '/Agenda', - Querystring: '', - NavigationTitle: { - value: 'Agenda', - editable: 'Agenda', - }, - }, - { - Id: 'f9718ba4-5378-43c1-89cd-537301b81f1b', - Styles: ['level1', 'item2', 'odd'], - Href: '/Speakers', - Querystring: '', - NavigationTitle: { - value: 'Speakers', - editable: 'Speakers', - }, - }, - { - Id: '0fbd1460-52d5-467a-accd-f955d448ae1d', - Styles: ['level1', 'item3', 'even'], - Href: '/Trainings', - Querystring: '', - NavigationTitle: { - value: 'Trainings', - editable: 'Trainings', - }, - }, - { - Id: '96b9ccc8-50fe-4493-8a2c-62807499262d', - Styles: ['level1', 'item4', 'odd'], - Href: '/Sponsors', - Querystring: '', - NavigationTitle: { - value: 'Sponsors', - editable: 'Sponsors', - }, - }, - { - Id: 'e5525fb5-fa3d-4eeb-a354-a30d01d79296', - Styles: ['level1', 'item5', 'even', 'last'], - Href: '/Organizers', - Querystring: '', - NavigationTitle: { - value: 'Organizers', - editable: 'Organizers', - }, - }, - ], }, fields: { // eslint-disable-next-line @typescript-eslint/ban-ts-comment From 4e6f8f837dfb4e9a8318e9bb88c2d708f456a404 Mon Sep 17 00:00:00 2001 From: cheeto-bandito Date: Mon, 15 Apr 2024 14:58:32 -0500 Subject: [PATCH 5/5] Serialized Header CTA datasource item --- .../Sugcon2024/items/SiteEU/EU/Data/Links.yml | 31 ++++++++++++++++ .../items/SiteEU/EU/Data/Links/Header CTA.yml | 35 +++++++++++++++++++ src/Project/Sugcon2024/sugcon.module.json | 5 +++ 3 files changed, 71 insertions(+) create mode 100644 src/Project/Sugcon2024/items/SiteEU/EU/Data/Links.yml create mode 100644 src/Project/Sugcon2024/items/SiteEU/EU/Data/Links/Header CTA.yml diff --git a/src/Project/Sugcon2024/items/SiteEU/EU/Data/Links.yml b/src/Project/Sugcon2024/items/SiteEU/EU/Data/Links.yml new file mode 100644 index 000000000..d0b449dd7 --- /dev/null +++ b/src/Project/Sugcon2024/items/SiteEU/EU/Data/Links.yml @@ -0,0 +1,31 @@ +--- +ID: "3f09d5c3-848c-4e02-9576-5d2e50cc893c" +Parent: "968dab46-6eda-4775-8a0f-85037e2d92f2" +Template: "cf026914-b7e1-46cf-9ec1-f5de0fc3dde1" +Path: /sitecore/content/Sugcon2024/EU/Data/Links +Languages: +- Language: en + Versions: + - Version: 1 + Fields: + - ID: "25bed78c-4957-4165-998a-ca1b52f67497" + Hint: __Created + Value: 20240402T193310Z + - ID: "52807595-0f8f-4b20-8d2a-cb71d28c6103" + Hint: __Owner + Value: | + sitecore\cdJph8P5Hr + - ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f" + Hint: __Created by + Value: | + sitecore\cdJph8P5Hr + - ID: "8cdc337e-a112-42fb-bbb4-4143751e123f" + Hint: __Revision + Value: "9b5fbd62-86fe-4c10-8672-e5de696d0b8f" + - ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a" + Hint: __Updated by + Value: | + sitecore\cdJph8P5Hr + - ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522" + Hint: __Updated + Value: 20240402T193310Z diff --git a/src/Project/Sugcon2024/items/SiteEU/EU/Data/Links/Header CTA.yml b/src/Project/Sugcon2024/items/SiteEU/EU/Data/Links/Header CTA.yml new file mode 100644 index 000000000..dd33db2d1 --- /dev/null +++ b/src/Project/Sugcon2024/items/SiteEU/EU/Data/Links/Header CTA.yml @@ -0,0 +1,35 @@ +--- +ID: "dc571863-99cf-4d9e-a5d5-f03e29d8b4c4" +Parent: "3f09d5c3-848c-4e02-9576-5d2e50cc893c" +Template: "5cc6967e-43d7-4e02-96b9-6357acd406f2" +Path: /sitecore/content/Sugcon2024/EU/Data/Links/Header CTA +Languages: +- Language: en + Versions: + - Version: 1 + Fields: + - ID: "25bed78c-4957-4165-998a-ca1b52f67497" + Hint: __Created + Value: 20240412T172537Z + - ID: "52807595-0f8f-4b20-8d2a-cb71d28c6103" + Hint: __Owner + Value: | + sitecore\cdJph8P5Hr + - ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f" + Hint: __Created by + Value: | + sitecore\cdJph8P5Hr + - ID: "88fe928d-5136-45fd-8889-9ea13398a015" + Hint: Link + Value: | + + - ID: "8cdc337e-a112-42fb-bbb4-4143751e123f" + Hint: __Revision + Value: "2d32260c-1655-4db0-a6b8-6804b89fcb8c" + - ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a" + Hint: __Updated by + Value: | + sitecore\cdJph8P5Hr + - ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522" + Hint: __Updated + Value: 20240415T195402Z diff --git a/src/Project/Sugcon2024/sugcon.module.json b/src/Project/Sugcon2024/sugcon.module.json index d88ef3848..1dfce265c 100644 --- a/src/Project/Sugcon2024/sugcon.module.json +++ b/src/Project/Sugcon2024/sugcon.module.json @@ -69,6 +69,11 @@ "scope": "singleItem", "allowedPushOperations": "createAndUpdate" }, + { + "path": "/Data/Links/Header CTA", + "scope": "singleItem", + "allowedPushOperations": "createOnly" + }, { "path": "/Data", "scope": "itemAndChildren",