Skip to content

Commit

Permalink
website(page10): update example.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed May 4, 2023
1 parent 57e1b27 commit c3c1945
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pages/page10/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import LoginInnerBgImg from '@react-login-page/page10/inner-bg.jpg';

const Demo = () => (
<Login
style={{ height: 690, backgroundImage: `url(${LoginImg})`, '--login-inner-image': `url(${LoginInnerBgImg})` }}
style={{ height: 690, backgroundImage: `url(${LoginImg})`, '--login-inner-image': `url("${LoginInnerBgImg}")` }}
/>
);

Expand All @@ -44,7 +44,7 @@ import LoginInnerBgImg from '@react-login-page/page10/inner-bg.jpg';

const Demo = () => (
<LoginPage
style={{ height: 690, backgroundImage: `url(${LoginImg})`, '--login-inner-image': `url(${LoginInnerBgImg})` }}
style={{ height: 690, backgroundImage: `url(${LoginImg})`, '--login-inner-image': `url("${LoginInnerBgImg}")` }}
>
<Title />
<TitleSignup>注册</TitleSignup>
Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/Examples.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export const page9: Example = {

const page10Style = {
backgroundImage: `url(${Login10Img})`,
'--login-inner-image': `url(${Login10InnerBgImg})`,
'--login-inner-image': `url("${Login10InnerBgImg}")`,
} as CSSProperties;
export const page10: Example = {
magnify: 2.5,
Expand Down

0 comments on commit c3c1945

Please sign in to comment.