@@ -34,9 +34,9 @@ It includes the user's profile picture, name, email, account progress and accoun
34
34
name = " Overview"
35
35
args = { {
36
36
title: <Typography variant = " h5" >Welcome Mathew</Typography >,
37
- subheader: <Typography variant = " body2" >Manage your personal information, account security and privacy settings.</Typography >,
37
+ subheader: <Typography variant = " body2" >Manage your personal information, account security and privacy settings.</Typography >,
38
38
user:{
39
- image: ' / assets/images/avatar-john.svg' ,
39
+ image: ' assets/images/avatar-john.svg' ,
40
40
name: ' Matthew' ,
41
41
42
42
},
@@ -46,19 +46,19 @@ It includes the user's profile picture, name, email, account progress and accoun
46
46
{
47
47
title: ' Add your email address' ,
48
48
description: ' You can add your email address to your profile to receive notifications and updates from us.' ,
49
- illustration: <img src = " / assets/images/carousel-illustration.svg" alt = " carousel illustration" />,
49
+ illustration: <img src = " assets/images/carousel-illustration.svg" alt = " carousel illustration" />,
50
50
action: <Button variant = " outlined" >Add Email</Button >
51
51
},
52
52
{
53
53
title: ' Add your phone number' ,
54
54
description: ' You can add your phone number to your profile to receive notifications and updates from us.' ,
55
- illustration: <img src = " / assets/images/carousel-illustration.svg" alt = " carousel illustration" />,
55
+ illustration: <img src = " assets/images/carousel-illustration.svg" alt = " carousel illustration" />,
56
56
action: <Button variant = " outlined" >Add Phone</Button >
57
57
},
58
58
{
59
59
title: ' Add your address' ,
60
60
description: ' You can add your address to your profile to receive notifications and updates from us.' ,
61
- illustration: <img src = " / assets/images/carousel-illustration.svg" alt = " carousel illustration" />,
61
+ illustration: <img src = " assets/images/carousel-illustration.svg" alt = " carousel illustration" />,
62
62
action: <Button variant = " outlined" >Add Address</Button >
63
63
}
64
64
],
@@ -85,7 +85,7 @@ import AccountOverview from '@oxygen-ui/react/AccountOverview';\n
85
85
function Demo() {
86
86
return <AccountOverview
87
87
user={{
88
- image: '/ assets/images/avatar-john.svg',
88
+ image: 'assets/images/avatar-john.svg',
89
89
name: 'Matthew',
90
90
91
91
}}
@@ -104,9 +104,9 @@ function Demo() {
104
104
name = " Incomplete"
105
105
args = { {
106
106
title: <Typography variant = " h5" >Welcome Mathew</Typography >,
107
- subheader: <Typography variant = " body2" >Manage your personal information, account security and privacy settings.</Typography >,
107
+ subheader: <Typography variant = " body2" >Manage your personal information, account security and privacy settings.</Typography >,
108
108
user:{
109
- image: ' / assets/images/avatar-john.svg' ,
109
+ image: ' assets/images/avatar-john.svg' ,
110
110
name: ' Matthew' ,
111
111
112
112
},
@@ -116,19 +116,19 @@ function Demo() {
116
116
{
117
117
title: ' Add your email address' ,
118
118
description: ' You can add your email address to your profile to receive notifications and updates from us.' ,
119
- illustration: <img src = " / assets/images/carousel-illustration.svg" alt = " carousel illustration" />,
119
+ illustration: <img src = " assets/images/carousel-illustration.svg" alt = " carousel illustration" />,
120
120
action: <Button variant = " outlined" >Add Email</Button >
121
121
},
122
122
{
123
123
title: ' Add your phone number' ,
124
124
description: ' You can add your phone number to your profile to receive notifications and updates from us.' ,
125
- illustration: <img src = " / assets/images/carousel-illustration.svg" alt = " carousel illustration" />,
125
+ illustration: <img src = " assets/images/carousel-illustration.svg" alt = " carousel illustration" />,
126
126
action: <Button variant = " outlined" >Add Phone</Button >
127
127
},
128
128
{
129
129
title: ' Add your address' ,
130
130
description: ' You can add your address to your profile to receive notifications and updates from us.' ,
131
- illustration: <img src = " / assets/images/carousel-illustration.svg" alt = " carousel illustration" />,
131
+ illustration: <img src = " assets/images/carousel-illustration.svg" alt = " carousel illustration" />,
132
132
action: <Button variant = " outlined" >Add Address</Button >
133
133
}
134
134
],
@@ -145,15 +145,15 @@ function Demo() {
145
145
name = " Complete"
146
146
args = { {
147
147
title: <Typography variant = " h5" >Welcome Mathew</Typography >,
148
- subheader: <Typography variant = " body2" >Manage your personal information, account security and privacy settings.</Typography >,
148
+ subheader: <Typography variant = " body2" >Manage your personal information, account security and privacy settings.</Typography >,
149
149
user:{
150
- image: ' / assets/images/avatar-john.svg' ,
150
+ image: ' assets/images/avatar-john.svg' ,
151
151
name: ' Matthew' ,
152
152
153
153
},
154
154
accountCompletionStepsTitle: " Complete your Profile. It's at 60%" ,
155
- accountProgress: 100 ,
156
- illustration: <img src = " / assets/images/action-card-image.svg" alt = " image" />
155
+ accountProgress: 100 ,
156
+ illustration: <img src = " assets/images/action-card-image.svg" alt = " image" />
157
157
}}
158
158
>
159
159
{ Template .bind ({})}
0 commit comments