@@ -9,7 +9,11 @@ import React from 'react';
9
9
// import Zoom from 'react-reveal/Zoom';
10
10
import { useLocalFormat } from 'useLocalFormat' ;
11
11
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}</>;
13
17
14
18
// import Demo from '@components/Hero/Gif/Demo';
15
19
@@ -64,8 +68,30 @@ export default function App() {
64
68
</ div >
65
69
</ Zoom >
66
70
< TextWrap
71
+ style = { { width : '100%' } }
67
72
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' } ) }
69
95
/>
70
96
71
97
< TextWrap
0 commit comments