Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Header Partial with Login Variant #7

Merged
merged 1 commit into from
Jan 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
ID: "bc2610ef-9cc3-4e63-b60c-5f21af5bacc7"
Parent: "489cbf6a-902a-4979-9d68-c9a404d5b7cf"
Template: "4d50cdae-c2d9-4de8-b080-8f992bfb1b55"
Path: /sitecore/content/GlobalUniversitySC/GlobalUniversity/Presentation/Headless Variants/Language Selector/Login
Languages:
- Language: en
Versions:
- Version: 1
Fields:
- ID: "25bed78c-4957-4165-998a-ca1b52f67497"
Hint: __Created
Value: 20240115T125722Z
- ID: "52807595-0f8f-4b20-8d2a-cb71d28c6103"
Hint: __Owner
Value: |
sitecore\[email protected]
- ID: "5dd74568-4d4b-44c1-b513-0af5f4cda34f"
Hint: __Created by
Value: |
sitecore\[email protected]
- ID: "8cdc337e-a112-42fb-bbb4-4143751e123f"
Hint: __Revision
Value: "4285b4b3-2748-4538-b5bf-944899fdf029"
- ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a"
Hint: __Updated by
Value: |
sitecore\[email protected]
- ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522"
Hint: __Updated
Value: 20240115T125722Z
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ Languages:
Versions:
- Version: 1
Fields:
- ID: "001dd393-96c5-490b-924a-b0f25cd9efd8"
Hint: __Lock
Value: <r />
- ID: "04bf00db-f5fb-41f7-8ab7-22408372a981"
Hint: __Final Renderings
Value: |
Expand All @@ -54,26 +57,40 @@ Languages:
p:before="*"
s:ds="local:/Data/Image 1"
s:id="{AB2EDBA0-3960-4F12-B765-579DC231894A}"
s:par="GridParameters=%7B7465D855-992E-4DC2-9855-A03250DFA74B%7D%7C%7B44DE8663-1F41-422C-8D4C-021D981CEC4F%7D&amp;FieldNames=%7B053A5949-AEEB-412B-A35B-8160C2CCE328%7D&amp;Styles&amp;CacheClearingBehavior=Clear%20on%20publish&amp;RenderingIdentifier&amp;CSSStyles&amp;DynamicPlaceholderId=6"
s:par="GridParameters=%7B824C8D0B-5538-4E25-BAF2-82CF5E7D94FF%7D%7C%7B44DE8663-1F41-422C-8D4C-021D981CEC4F%7D&amp;FieldNames=%7B053A5949-AEEB-412B-A35B-8160C2CCE328%7D&amp;Styles&amp;CacheClearingBehavior=Clear%20on%20publish&amp;RenderingIdentifier&amp;CSSStyles&amp;DynamicPlaceholderId=6"
s:ph="/headless-header/container-1/container-3" />
<r
uid="{394A055A-80A7-4EB9-887C-B0F312193232}"
uid="{E541B6F3-A4E4-4AF7-BBC4-A62CEB86117A}"
p:after="r[@uid='{3A71C5FC-D362-4F2F-8FA3-5006B7BEE263}']"
s:id="{61C1F68A-C058-479D-B2E1-40BA649F44DD}"
s:par="GridParameters=%7B824C8D0B-5538-4E25-BAF2-82CF5E7D94FF%7D%7C%7B765BE77D-D018-486C-ADD5-8443BB79B1DD%7D%7C%7BC6CDDBF6-58AF-4BBE-B9B3-B8E0B4561701%7D&amp;FieldNames=%7B12AD19B5-E457-440F-AFB0-1A6142A81C52%7D&amp;Styles&amp;CacheClearingBehavior=Clear%20on%20publish&amp;RenderingIdentifier&amp;CSSStyles&amp;DynamicPlaceholderId=7"
s:ph="/headless-header/container-1/container-3" />
<r
uid="{394A055A-80A7-4EB9-887C-B0F312193232}"
p:after="r[@uid='{E541B6F3-A4E4-4AF7-BBC4-A62CEB86117A}']"
s:id="{1DEB067F-0BB1-405E-94F5-2ABB537A6160}"
s:par="GridParameters=%7B7465D855-992E-4DC2-9855-A03250DFA74B%7D%7C%7B3479A28B-5D80-4AD0-A8DC-ECDA353309F5%7D&amp;FieldNames=%7BE7A41A16-1692-4608-8E74-FD66F308E8BB%7D&amp;Styles=%7BEA185E71-D581-48D7-B832-595D6F258CCB%7D&amp;NavigationRoot=%7BC74739BB-394A-4F5D-A449-0DF57C1545BD%7D&amp;LevelFrom=%7B1BB88840-5FB3-4353-AD8D-81136F6FF75A%7D&amp;LevelTo=%7B4CDEFD87-00DA-4529-AD4D-7E1318644E97%7D&amp;Filter=%7BD063E9D1-C7B5-4B1E-B31E-69886C9C59F5%7D&amp;Flattened&amp;AddRoot&amp;SerializerFieldNames&amp;CacheClearingBehavior=Clear%20on%20publish&amp;RenderingIdentifier&amp;CSSStyles"
s:par="GridParameters=%7B824C8D0B-5538-4E25-BAF2-82CF5E7D94FF%7D%7C%7B3479A28B-5D80-4AD0-A8DC-ECDA353309F5%7D&amp;FieldNames=%7BE7A41A16-1692-4608-8E74-FD66F308E8BB%7D&amp;Styles=%7BEA185E71-D581-48D7-B832-595D6F258CCB%7D&amp;NavigationRoot=%7BC74739BB-394A-4F5D-A449-0DF57C1545BD%7D&amp;LevelFrom=%7B1BB88840-5FB3-4353-AD8D-81136F6FF75A%7D&amp;LevelTo=%7B4CDEFD87-00DA-4529-AD4D-7E1318644E97%7D&amp;Filter=%7BD063E9D1-C7B5-4B1E-B31E-69886C9C59F5%7D&amp;Flattened&amp;AddRoot&amp;SerializerFieldNames&amp;CacheClearingBehavior=Clear%20on%20publish&amp;RenderingIdentifier&amp;CSSStyles"
s:ph="/headless-header/container-1/container-3" />
<r
uid="{7635CE06-B75F-403B-A63F-BC3A1A48CC28}"
uid="{CF3523E4-1EDB-48F5-B7CE-100B64445F41}"
p:after="r[@uid='{394A055A-80A7-4EB9-887C-B0F312193232}']"
s:id="{152960A2-5729-4F52-97E5-ED616269A858}"
s:par="GridParameters=%7B824C8D0B-5538-4E25-BAF2-82CF5E7D94FF%7D%7C%7B7A4A5028-B4C4-4E41-AFEA-A0A46AFB677B%7D%7C%7B765BE77D-D018-486C-ADD5-8443BB79B1DD%7D%7C%7BC6CDDBF6-58AF-4BBE-B9B3-B8E0B4561701%7D&amp;FieldNames=%7BBC2610EF-9CC3-4E63-B60C-5F21AF5BACC7%7D&amp;Styles&amp;CacheClearingBehavior=Clear%20on%20publish&amp;RenderingIdentifier&amp;CSSStyles&amp;DynamicPlaceholderId=8"
s:ph="/headless-header/container-1/container-3" />
<r
uid="{7635CE06-B75F-403B-A63F-BC3A1A48CC28}"
p:after="r[@uid='{CF3523E4-1EDB-48F5-B7CE-100B64445F41}']"
s:id="{61C1F68A-C058-479D-B2E1-40BA649F44DD}"
s:par="GridParameters=%7B7465D855-992E-4DC2-9855-A03250DFA74B%7D%7C%7B44DE8663-1F41-422C-8D4C-021D981CEC4F%7D%7C%7B58705701-FB15-4F70-B642-8D12090CCBC3%7D&amp;FieldNames=%7B3C0923D0-7A43-4BE9-9DC9-C8FFD5D7FFDF%7D&amp;Styles&amp;CacheClearingBehavior=Clear%20on%20publish&amp;RenderingIdentifier&amp;CSSStyles&amp;DynamicPlaceholderId=4"
s:par="GridParameters=%7B7465D855-992E-4DC2-9855-A03250DFA74B%7D%7C%7B44DE8663-1F41-422C-8D4C-021D981CEC4F%7D%7C%7B64E70996-17A5-42B1-ACA7-0CC49459B74B%7D%7C%7B58705701-FB15-4F70-B642-8D12090CCBC3%7D%7C%7BBE3AE849-B39A-4A65-AE35-28F847E8A191%7D&amp;FieldNames=%7B3C0923D0-7A43-4BE9-9DC9-C8FFD5D7FFDF%7D&amp;Styles&amp;CacheClearingBehavior=Clear%20on%20publish&amp;RenderingIdentifier&amp;CSSStyles&amp;DynamicPlaceholderId=4"
s:ph="/headless-header/container-1/container-2" />
<r
uid="{85D8265C-7880-4B0C-B303-364BB429D2B0}"
p:after="r[@uid='{7635CE06-B75F-403B-A63F-BC3A1A48CC28}']"
s:ds=""
s:id="{152960A2-5729-4F52-97E5-ED616269A858}"
s:par="GridParameters=%7B7465D855-992E-4DC2-9855-A03250DFA74B%7D%7C%7B9FEA365C-DCAF-4AE4-AAD3-E85E03FA355F%7D&amp;FieldNames=%7B93FBEBAD-7A3C-4774-ABA3-61E5BCC10561%7D&amp;Styles&amp;CacheClearingBehavior=Clear%20on%20publish&amp;RenderingIdentifier&amp;CSSStyles&amp;DynamicPlaceholderId=5"
s:ph="/headless-header/container-1/container-2" />
s:par="GridParameters=%7B7465D855-992E-4DC2-9855-A03250DFA74B%7D%7C%7B9FEA365C-DCAF-4AE4-AAD3-E85E03FA355F%7D%7C%7B64E70996-17A5-42B1-ACA7-0CC49459B74B%7D%7C%7BBE3AE849-B39A-4A65-AE35-28F847E8A191%7D&amp;FieldNames=%7BBC2610EF-9CC3-4E63-B60C-5F21AF5BACC7%7D&amp;Styles&amp;RenderingIdentifier&amp;CSSStyles&amp;DynamicPlaceholderId=5"
s:ph="/headless-header/container-1/container-2"
s:ccb="Clear on publish" />
<r
uid="{3CDAFFC7-CA73-42FF-BBE9-1751CF4AD6AD}"
p:after="r[@uid='{85D8265C-7880-4B0C-B303-364BB429D2B0}']"
Expand Down Expand Up @@ -122,11 +139,11 @@ Languages:
sitecore\[email protected]
- ID: "8cdc337e-a112-42fb-bbb4-4143751e123f"
Hint: __Revision
Value: "553c8730-55b3-4d16-aa98-c20533fe2733"
Value: "4fae7016-32ca-46b1-8c35-d9cf0c63f360"
- ID: "badd9cf9-53e0-4d0c-bcc0-2d784c282f6a"
Hint: __Updated by
Value: |
sitecore\[email protected]
- ID: "d9cf14b1-fa16-4ba6-9288-e8a174d4d522"
Hint: __Updated
Value: 20240115T092634Z
Value: 20240115T130740Z
11 changes: 11 additions & 0 deletions src/sxastarter/src/components/Espire/Header/LanguageSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,15 @@ const LanguageSelector = (props: ComponentProps): JSX.Element => {
);
};

export const Login = (props: ComponentProps): JSX.Element => {
return (
<div className={`${props.params.styles}`}>
<div className="login">
<Form.Select aria-label="Login Functionality">
<option>Login</option>
</Form.Select>
</div>
</div>
);
};
export default LanguageSelector;