Skip to content

Commit 8407d58

Browse files
authored
Merge pull request #2355 from dxc-technology/PelayoFelgueroso/links-assure-fix
Update new domain .assure
2 parents 04a7d7c + 2a54e47 commit 8407d58

File tree

7 files changed

+24
-24
lines changed

7 files changed

+24
-24
lines changed

LOCAL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<p align="center">
2-
<a href="https://developer.dxc.com/halstack/">
2+
<a href="https://developer.assure.dxc.com/halstack/">
33
<img src="apps/website/screens/common/images/halstack_logo.svg" alt="Halstack Design System logo" />
44
</a>
55
</p>
@@ -12,7 +12,7 @@ These instructions will get you a copy of the project up and running on your loc
1212

1313
## Before start working
1414

15-
Remember to read [the documentation site](https://developer.dxc.com/halstack/) carefully before trying to modify any Halstack implementation, documentation or examples.
15+
Remember to read [the documentation site](https://developer.assure.dxc.com/halstack/) carefully before trying to modify any Halstack implementation, documentation or examples.
1616

1717
## Monorepo structure
1818

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<p align="center">
2-
<a href="https://developer.dxc.com/halstack/">
2+
<a href="https://developer.assure.dxc.com/halstack/">
33
<img src="apps/website/screens/common/images/halstack_logo.svg" alt="Halstack Design System logo" />
44
</a>
55
</p>
@@ -31,7 +31,7 @@ const App = () => (
3131

3232
## Where to start
3333

34-
Learn everything you need to know about Halstack principles and components on the [official documentation site](https://developer.dxc.com/halstack/).
34+
Learn everything you need to know about Halstack principles and components on the [official documentation site](https://developer.assure.dxc.com/halstack/).
3535

3636
## Contributing
3737

apps/website/screens/overview/introduction/IntroductionPage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,12 +203,12 @@ const sections = [
203203
</DxcParagraph>
204204
<DxcBulletedList>
205205
<DxcBulletedList.Item>
206-
<DxcLink href="https://developer.dxc.com/tools/react" newWindow>
206+
<DxcLink href="https://developer.assure.dxc.com/tools/react" newWindow>
207207
Previous React documentation
208208
</DxcLink>
209209
</DxcBulletedList.Item>
210210
<DxcBulletedList.Item>
211-
<DxcLink href="https://developer.dxc.com/tools/angular" newWindow>
211+
<DxcLink href="https://developer.assure.dxc.com/tools/angular" newWindow>
212212
Previous Angular documentation
213213
</DxcLink>
214214
</DxcBulletedList.Item>

apps/website/screens/overview/releases/ReleasesPage.tsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,34 +28,34 @@ const sections = [
2828
<DxcParagraph>Every major release of Halstack is collected below:</DxcParagraph>
2929
<DxcBulletedList>
3030
<DxcBulletedList.Item>
31-
<DxcLink href="https://developer.dxc.com/halstack/15/overview/introduction/">Halstack 15</DxcLink>
31+
<DxcLink href="https://developer.assure.dxc.com/halstack/15/overview/introduction/">Halstack 15</DxcLink>
3232
</DxcBulletedList.Item>
3333
<DxcBulletedList.Item>
34-
<DxcLink href="https://developer.dxc.com/halstack/14/overview/introduction/">Halstack 14</DxcLink>
34+
<DxcLink href="https://developer.assure.dxc.com/halstack/14/overview/introduction/">Halstack 14</DxcLink>
3535
</DxcBulletedList.Item>
3636
<DxcBulletedList.Item>
37-
<DxcLink href="https://developer.dxc.com/halstack/13/overview/introduction/">Halstack 13</DxcLink>
37+
<DxcLink href="https://developer.assure.dxc.com/halstack/13/overview/introduction/">Halstack 13</DxcLink>
3838
</DxcBulletedList.Item>
3939
<DxcBulletedList.Item>
40-
<DxcLink href="https://developer.dxc.com/halstack/12/overview/introduction/">Halstack 12</DxcLink>
40+
<DxcLink href="https://developer.assure.dxc.com/halstack/12/overview/introduction/">Halstack 12</DxcLink>
4141
</DxcBulletedList.Item>
4242
<DxcBulletedList.Item>
43-
<DxcLink href="https://developer.dxc.com/halstack/11/overview/introduction/">Halstack 11</DxcLink>
43+
<DxcLink href="https://developer.assure.dxc.com/halstack/11/overview/introduction/">Halstack 11</DxcLink>
4444
</DxcBulletedList.Item>
4545
<DxcBulletedList.Item>
46-
<DxcLink href="https://developer.dxc.com/halstack/10/overview/introduction/">Halstack 10</DxcLink>
46+
<DxcLink href="https://developer.assure.dxc.com/halstack/10/overview/introduction/">Halstack 10</DxcLink>
4747
</DxcBulletedList.Item>
4848
<DxcBulletedList.Item>
49-
<DxcLink href="https://developer.dxc.com/halstack/9/overview/introduction/">Halstack 9</DxcLink>
49+
<DxcLink href="https://developer.assure.dxc.com/halstack/9/overview/introduction/">Halstack 9</DxcLink>
5050
</DxcBulletedList.Item>
5151
<DxcBulletedList.Item>
52-
<DxcLink href="https://developer.dxc.com/halstack/8/overview/introduction/">Halstack 8</DxcLink>
52+
<DxcLink href="https://developer.assure.dxc.com/halstack/8/overview/introduction/">Halstack 8</DxcLink>
5353
</DxcBulletedList.Item>
5454
<DxcBulletedList.Item>
55-
<DxcLink href="https://developer.dxc.com/halstack/7/overview/introduction/">Halstack 7</DxcLink>
55+
<DxcLink href="https://developer.assure.dxc.com/halstack/7/overview/introduction/">Halstack 7</DxcLink>
5656
</DxcBulletedList.Item>
5757
<DxcBulletedList.Item>
58-
<DxcLink href="https://developer.dxc.com/halstack/6/overview/introduction/">Halstack 6</DxcLink>
58+
<DxcLink href="https://developer.assure.dxc.com/halstack/6/overview/introduction/">Halstack 6</DxcLink>
5959
</DxcBulletedList.Item>
6060
</DxcBulletedList>
6161
<DxcParagraph>
@@ -75,7 +75,7 @@ const sections = [
7575
<DxcParagraph>
7676
To check the latest features under development by the Halstack team, you can access the <Code>next</Code>{" "}
7777
version of the documentation through this{" "}
78-
<DxcLink href="https://developer.dxc.com/halstack/next/">link</DxcLink>. Please note that this version is
78+
<DxcLink href="https://developer.assure.dxc.com/halstack/next/">link</DxcLink>. Please note that this version is
7979
unstable and may contain minor bugs. For a better experience with Halstack, we recommend, if possible,
8080
always using the latest release available.
8181
</DxcParagraph>

packages/lib/src/avatar/Avatar.test.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ describe("Avatar component tests", () => {
1616
});
1717
test("Avatar renders with image when src is passed", () => {
1818
const { getByRole } = render(
19-
<DxcAvatar imageSrc="https://developer.dxc.com/halstack/next/_next/static/media/neutral_colors.e92a8be2.png" />
19+
<DxcAvatar imageSrc="https://developer.assure.dxc.com/halstack/next/_next/static/media/neutral_colors.e92a8be2.png" />
2020
);
2121
const img = getByRole("img");
2222
expect(img).toHaveAttribute(
2323
"src",
24-
"https://developer.dxc.com/halstack/next/_next/static/media/neutral_colors.e92a8be2.png"
24+
"https://developer.assure.dxc.com/halstack/next/_next/static/media/neutral_colors.e92a8be2.png"
2525
);
2626
});
2727
test("Avatar renders with initials when label is passed", () => {
@@ -42,7 +42,7 @@ describe("Avatar component tests", () => {
4242
test("Avatar renders with image when src and label are passed", () => {
4343
const { getByRole, queryByText } = render(
4444
<DxcAvatar
45-
imageSrc="https://developer.dxc.com/halstack/next/_next/static/media/neutral_colors.e92a8be2.png"
45+
imageSrc="https://developer.assure.dxc.com/halstack/next/_next/static/media/neutral_colors.e92a8be2.png"
4646
label="John Doe"
4747
/>
4848
);
@@ -55,7 +55,7 @@ describe("Avatar component tests", () => {
5555
const CustomIcon = () => <svg data-testid="custom-icon" />;
5656
const { rerender, getByRole, getByText, getByTestId, queryByRole, queryByText, queryByTestId } = render(
5757
<DxcAvatar
58-
imageSrc="https://developer.dxc.com/halstack/next/_next/static/media/neutral_colors.e92a8be2.png"
58+
imageSrc="https://developer.assure.dxc.com/halstack/next/_next/static/media/neutral_colors.e92a8be2.png"
5959
label="John Doe"
6060
icon={<CustomIcon />}
6161
/>

packages/lib/src/dialog/Dialog.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ describe("Dialog component: Focus lock tests", () => {
113113
test("Autofocus with Card component", () => {
114114
const { getByRole } = render(
115115
<DxcDialog>
116-
<DxcCard linkHref="https://developer.dxc.com/halstack/next/components/card/">example-card</DxcCard>
116+
<DxcCard linkHref="https://developer.assure.dxc.com/halstack/next/components/card/">example-card</DxcCard>
117117
</DxcDialog>
118118
);
119119
const card = getByRole("link");

scripts/release-website.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ const moveToBucket = (version) => {
9292
};
9393

9494
const updateRedirectionToLatest = (version) => {
95-
const redirection = `window.location.replace("https://developer.dxc.com/halstack/${version}/");`;
95+
const redirection = `window.location.replace("https://developer.assure.dxc.com/halstack/${version}/");`;
9696
return new Promise((resolve, reject) => {
9797
exec(`echo '${redirection}' | aws s3 cp - s3://${BUCKET_NAME}/${DIRECTORY}redirect.js`, (error, stdout, stderr) => {
9898
if (error) {
@@ -126,7 +126,7 @@ const updateAvailableVersions = async (versions, currentVersion) => {
126126
const currentItem = isNaN(version) ? "next" : version;
127127
return {
128128
versionNumber: currentItem,
129-
versionURL: `https://developer.dxc.com/${
129+
versionURL: `https://developer.assure.dxc.com/${
130130
isNaN(currentItem) && currentItem <= 5 ? "tools/react" : "halstack"
131131
}/${currentItem}/`,
132132
current: currentItem === currentVersion,

0 commit comments

Comments
 (0)