Skip to content

Commit f002051

Browse files
authored
docs: add feat
1 parent 609572e commit f002051

File tree

1 file changed

+28
-2
lines changed

1 file changed

+28
-2
lines changed

.dumi/pages/index.tsx

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ import React from 'react';
99
// import Zoom from 'react-reveal/Zoom';
1010
import { useLocalFormat } from 'useLocalFormat';
1111

12-
const Zoom = ({ children }: { children: any }) => <>{children}</>;
12+
import { Zoom } from '@components/Animation';
13+
14+
import { baseModelImg } from './const';
15+
16+
// const Zoom = ({ children }: { children: any }) => <>{children}</>;
1317

1418
// import Demo from '@components/Hero/Gif/Demo';
1519

@@ -64,8 +68,30 @@ export default function App() {
6468
</div>
6569
</Zoom>
6670
<TextWrap
71+
style={{ width: '100%' }}
6772
title={format({ id: 'hero.text.modelUI.desc' })}
68-
content={format({ id: 'hero.text.modelUI.content' })}
73+
content={
74+
<div style={{ display: 'flex', alignItems: 'center' }}>
75+
<span style={{ flex: 1 }}>
76+
{format({ id: 'hero.text.modelUI.content' })}
77+
</span>
78+
<span style={{ flex: 1, marginLeft: '10px' }}>
79+
<img src={baseModelImg} alt="" style={{ width: '100%' }} />
80+
</span>
81+
</div>
82+
}
83+
/>
84+
85+
<TextWrap
86+
style={{ width: '50%' }}
87+
title={format({ id: 'hero.text.watch.title.desc' })}
88+
content={format({ id: 'hero.text.watch.content.desc' })}
89+
/>
90+
91+
<TextWrap
92+
style={{ width: '80%' }}
93+
title={format({ id: 'hero.text.watch.area.title.desc' })}
94+
content={format({ id: 'hero.text.watch.area.content.desc' })}
6995
/>
7096

7197
<TextWrap

0 commit comments

Comments
 (0)