-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(react): update asset base paths
- Loading branch information
1 parent
9ab8b75
commit 64dde46
Showing
10 changed files
with
34 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,9 +34,9 @@ It includes the user's profile picture, name, email, account progress and accoun | |
name="Overview" | ||
args={{ | ||
title: <Typography variant="h5">Welcome Mathew</Typography>, | ||
subheader: <Typography variant="body2">Manage your personal information, account security and privacy settings.</Typography>, | ||
subheader: <Typography variant="body2">Manage your personal information, account security and privacy settings.</Typography>, | ||
user:{ | ||
image: '/assets/images/avatar-john.svg', | ||
image: 'assets/images/avatar-john.svg', | ||
name: 'Matthew', | ||
email: '[email protected]' | ||
}, | ||
|
@@ -46,19 +46,19 @@ It includes the user's profile picture, name, email, account progress and accoun | |
{ | ||
title: 'Add your email address', | ||
description: 'You can add your email address to your profile to receive notifications and updates from us.', | ||
illustration: <img src="/assets/images/carousel-illustration.svg" alt="carousel illustration" />, | ||
illustration: <img src="assets/images/carousel-illustration.svg" alt="carousel illustration" />, | ||
action: <Button variant="outlined">Add Email</Button> | ||
}, | ||
{ | ||
title: 'Add your phone number', | ||
description: 'You can add your phone number to your profile to receive notifications and updates from us.', | ||
illustration: <img src="/assets/images/carousel-illustration.svg" alt="carousel illustration" />, | ||
illustration: <img src="assets/images/carousel-illustration.svg" alt="carousel illustration" />, | ||
action: <Button variant="outlined">Add Phone</Button> | ||
}, | ||
{ | ||
title: 'Add your address', | ||
description: 'You can add your address to your profile to receive notifications and updates from us.', | ||
illustration: <img src="/assets/images/carousel-illustration.svg" alt="carousel illustration" />, | ||
illustration: <img src="assets/images/carousel-illustration.svg" alt="carousel illustration" />, | ||
action: <Button variant="outlined">Add Address</Button> | ||
} | ||
], | ||
|
@@ -85,7 +85,7 @@ import AccountOverview from '@oxygen-ui/react/AccountOverview';\n | |
function Demo() { | ||
return <AccountOverview | ||
user={{ | ||
image: '/assets/images/avatar-john.svg', | ||
image: 'assets/images/avatar-john.svg', | ||
name: 'Matthew', | ||
email: '[email protected]', | ||
}} | ||
|
@@ -104,9 +104,9 @@ function Demo() { | |
name="Incomplete" | ||
args={{ | ||
title: <Typography variant="h5">Welcome Mathew</Typography>, | ||
subheader: <Typography variant="body2">Manage your personal information, account security and privacy settings.</Typography>, | ||
subheader: <Typography variant="body2">Manage your personal information, account security and privacy settings.</Typography>, | ||
user:{ | ||
image: '/assets/images/avatar-john.svg', | ||
image: 'assets/images/avatar-john.svg', | ||
name: 'Matthew', | ||
email: '[email protected]' | ||
}, | ||
|
@@ -116,19 +116,19 @@ function Demo() { | |
{ | ||
title: 'Add your email address', | ||
description: 'You can add your email address to your profile to receive notifications and updates from us.', | ||
illustration: <img src="/assets/images/carousel-illustration.svg" alt="carousel illustration" />, | ||
illustration: <img src="assets/images/carousel-illustration.svg" alt="carousel illustration" />, | ||
action: <Button variant="outlined">Add Email</Button> | ||
}, | ||
{ | ||
title: 'Add your phone number', | ||
description: 'You can add your phone number to your profile to receive notifications and updates from us.', | ||
illustration: <img src="/assets/images/carousel-illustration.svg" alt="carousel illustration" />, | ||
illustration: <img src="assets/images/carousel-illustration.svg" alt="carousel illustration" />, | ||
action: <Button variant="outlined">Add Phone</Button> | ||
}, | ||
{ | ||
title: 'Add your address', | ||
description: 'You can add your address to your profile to receive notifications and updates from us.', | ||
illustration: <img src="/assets/images/carousel-illustration.svg" alt="carousel illustration" />, | ||
illustration: <img src="assets/images/carousel-illustration.svg" alt="carousel illustration" />, | ||
action: <Button variant="outlined">Add Address</Button> | ||
} | ||
], | ||
|
@@ -145,15 +145,15 @@ function Demo() { | |
name="Complete" | ||
args={{ | ||
title: <Typography variant="h5">Welcome Mathew</Typography>, | ||
subheader: <Typography variant="body2">Manage your personal information, account security and privacy settings.</Typography>, | ||
subheader: <Typography variant="body2">Manage your personal information, account security and privacy settings.</Typography>, | ||
user:{ | ||
image: '/assets/images/avatar-john.svg', | ||
image: 'assets/images/avatar-john.svg', | ||
name: 'Matthew', | ||
email: '[email protected]' | ||
}, | ||
accountCompletionStepsTitle: "Complete your Profile. It's at 60%", | ||
accountProgress: 100, | ||
illustration: <img src="/assets/images/action-card-image.svg" alt="image" /> | ||
accountProgress: 100, | ||
illustration: <img src="assets/images/action-card-image.svg" alt="image" /> | ||
}} | ||
> | ||
{Template.bind({})} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,14 +30,14 @@ navigation, and actions. | |
export const basicHeaderVariationOptions = { | ||
brand: { | ||
logo: { | ||
desktop: <img src="/assets/images/oxygen-ui-logo-mini.svg" alt="logo" height="40" />, | ||
mobile: <img src="/assets/images/oxygen-ui-logo-mini.svg" alt="logo" height="40" />, | ||
desktop: <img src="assets/images/oxygen-ui-logo-mini.svg" alt="logo" height="40" />, | ||
mobile: <img src="assets/images/oxygen-ui-logo-mini.svg" alt="logo" height="40" />, | ||
}, | ||
onClick: () => null, | ||
title: 'OxygenUI', | ||
}, | ||
user: { | ||
image: '/assets/images/avatar-john.svg', | ||
image: 'assets/images/avatar-john.svg', | ||
name: 'Matthew', | ||
email: '[email protected]', | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters