Skip to content

Commit 0004b1a

Browse files
docs(app-degree-pages): updated listing page links for storybook
1 parent a36e5e2 commit 0004b1a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

packages/app-degree-pages/src/components/DetailPage/index.stories.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,12 @@ const defaultArgs = {
136136
{
137137
text: "Undergraduate degrees",
138138
// this is just an example working on Storybook
139-
url: `${getStoryBookBaseUrl()}?path=/story/program-listing-page--default`,
139+
url: `${getStoryBookBaseUrl()}index.html?path=/story/program-listing-page--default`,
140140
},
141141
{
142142
text: "Degree title",
143143
// this is just an example working on Storybook
144-
url: `${getStoryBookBaseUrl()}?path=/story/program-detail-page--with-content`,
144+
url: `${getStoryBookBaseUrl()}index.html?path=/story/program-detail-page--with-content`,
145145
isActive: true,
146146
},
147147
],

packages/app-degree-pages/src/components/ListingPage/index.stories.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const Template = ({
4646
const actionUrls = {
4747
applyNowUrl: "https://admission.asu.edu/apply", // OPTIONAL
4848
// this is just an example working on Storybook
49-
majorInfoUrl: `${getStoryBookBaseUrl()}?path=/story/program-detail-page--default&acadPlan={ACAD_PLAN_CODE}`,
49+
majorInfoUrl: `${getStoryBookBaseUrl()}index.html?path=/story/program-detail-page--default&acadPlan={ACAD_PLAN_CODE}`,
5050
// majorInfoUrl:
5151
// `${DOMAIN_URL}/programs/t5/majorinfo/` +
5252
// `{INSTITUTION_CODE}/{ACAD_PLAN_CODE}/undergrad/false`,
@@ -80,12 +80,12 @@ const defaultArgs = {
8080
{
8181
text: "Undergraduate degrees",
8282
// this is just an example working on Storybook
83-
url: `${getStoryBookBaseUrl()}?path=/story/program-listing-page--default`,
83+
url: `${getStoryBookBaseUrl()}index.html?path=/story/program-listing-page--default`,
8484
},
8585
{
8686
text: "Degree title",
8787
// this is just an example working on Storybook
88-
url: `${getStoryBookBaseUrl()}?path=/story/program-detail-page--with-content`,
88+
url: `${getStoryBookBaseUrl()}index.html?path=/story/program-detail-page--with-content`,
8989
isActive: true,
9090
},
9191
],

packages/app-degree-pages/src/core/types/listing-page-types.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66

77
/**
8-
* @typedef {import("@asu/unity-react-core").ImageComponentProps} ImageItem
8+
* @typedef {import("@asu/unity-react-core").ImageProps} ImageItem
99
*/
1010

1111
/**

0 commit comments

Comments
 (0)