Skip to content

Commit b706c2b

Browse files
authored
Merge pull request #2834 from zachlasiuk/auth-and-homepage
switched to production login from QA
2 parents 583f533 + 0b9b7c7 commit b706c2b

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

themes/arm-design-system-hugo-theme/layouts/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ <h1 id="homepage-header" class="orchard-breeze-text">Arm Learning Paths</h1>
3636

3737

3838
<!-- Search functionality -->
39-
<div class="c-row u-margin-top-3">
39+
<div class="c-row u-margin-top-2 u-margin-bottom-2">
4040
<div class="c-col">
4141
<ads-search id="homepage-search-bar" has-search-button placeholder="Search all Learning Paths and Install Guides..." search-index="learning-paths" ></ads-search>
4242
</div>
@@ -57,7 +57,7 @@ <h1 id="homepage-header" class="orchard-breeze-text">Arm Learning Paths</h1>
5757

5858
<!-- List of Learning Path Topics & Install Guide -->
5959
<div class="c-row u-margin-left-1">
60-
<h2>Find reproducible tutorials for your target platform:</h2>
60+
<!-- <h2>Find reproducible tutorials for your target platform:</h2> -->
6161
</div>
6262
<div class="c-row u-margin-top-0">
6363
<div class="c-col">

themes/arm-design-system-hugo-theme/layouts/partials/learning-paths/next-steps.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ <h4 id="arm-account-dynamic-header"></h4>
499499
<p id="arm-account-dynamic-paragraph"></p>
500500
<ads-cta-button id="arm-account-signup-cta" level="primary" style="display: none">Login to Arm Account</ads-cta-button>
501501
<!-- https://developer.arm.com/register -->
502-
<ads-cta-button id="arm-account-signup-view-badges-cta" level="secondary" style="display: none">View your badges</ads-cta-button>
502+
<ads-cta-button id="arm-account-signup-view-badges-cta" level="secondary" style="display: none">Visit Arm Community</ads-cta-button>
503503

504504
<script>
505505
// read msal from window, and check if user is logged in
@@ -509,13 +509,14 @@ <h4 id="arm-account-dynamic-header"></h4>
509509
if (isUserSignedIn()) {
510510
// Additional logic for signed-in users can be added here
511511
document.getElementById('arm-account-dynamic-header').textContent = "Welcome back!";
512-
document.getElementById('arm-account-dynamic-paragraph').textContent = "You're already signed in to your Arm Account. Continue completing Learning Paths to earn more badges on Arm Community!";
512+
document.getElementById('arm-account-dynamic-paragraph').textContent = "You're already signed in to your Arm Account! Check out Arm Community to ask questions and meet other developers.";
513513
document.getElementById('arm-account-signup-view-badges-cta').style.display = 'block';
514514
document.getElementById('arm-account-signup-cta').style.display = 'none';
515515

516516
} else {
517517
document.getElementById('arm-account-dynamic-header').textContent = "Login to Arm Account";
518-
document.getElementById('arm-account-dynamic-paragraph').textContent = "Make sure you're logged in to get badges for completing Learning Paths and show them off on Arm Community!";
518+
//document.getElementById('arm-account-dynamic-paragraph').textContent = "Make sure you're logged in to get badges for completing Learning Paths and show them off on Arm Community!";
519+
document.getElementById('arm-account-dynamic-paragraph').textContent = "Login to your Arm Account to access personalized features.";
519520
document.getElementById('arm-account-signup-cta').style.display = 'block';
520521
document.getElementById('arm-account-signup-view-badges-cta').style.display = 'none';
521522

themes/arm-design-system-hugo-theme/static/js/authentication.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const CLIENT_ID = "20ede7b2-aeb1-43d4-81f9-fc1b7fbfca5e";
77
// Change these in CI/CD pipeline depending on target environment
88
const TENANT_DOMAIN = "armb2ctest.onmicrosoft.com";
99
const TENANT_ID = "f15a8617-9b4e-41dd-8614-adea42784599";
10-
const B2C_DOMAIN = "qa.account.arm.com";
10+
const B2C_DOMAIN = "account.arm.com";
1111

1212
const REDIRECT_URI = window.location.origin + "/";
1313
//const REDIRECT_URI = "http://localhost/";

0 commit comments

Comments
 (0)