1
- import { Card , CardBody , CardImg , CardTitle , Button , Ratio } from 'boot-cell' ;
1
+ import { Button , Card , CardBody , CardImg , CardTitle , Ratio } from 'boot-cell' ;
2
2
import {
3
3
Accordion ,
4
4
AccordionBody ,
5
5
AccordionHeader ,
6
6
AccordionItem
7
7
} from 'boot-cell' ;
8
- import { i18n } from '../../i18n' ;
9
- import { LogoList } from './LogoList' ;
10
- import * as style from './index.module.less' ;
11
- import { guests , flows , logos , title } from './data' ;
12
- import { banner , qrcode } from './image' ;
8
+ import { observer } from 'web-cell' ;
13
9
14
- const { t } = i18n ;
10
+ import { t } from '../../i18n' ;
11
+ import { flows , guests , logos , title } from './data' ;
12
+ import { banner , qrcode } from './image' ;
13
+ import * as style from './index.module.less' ;
14
+ import { LogoList } from './LogoList' ;
15
15
16
- export default ( ) => (
17
- < >
16
+ export default observer ( ( ) => (
17
+ < div >
18
18
< main className = "container" >
19
19
< header id = { style . logo } >
20
20
< img className = "w-100" src = { banner } />
@@ -32,7 +32,7 @@ export default () => (
32
32
</ h2 >
33
33
< div className = "row row-cols-1 row-cols-sm-2 row-cols-md-4 g-3" >
34
34
{ guests ( ) . map ( ( { avatar, name, description } ) => (
35
- < div className = "col" key = { name } >
35
+ < div key = { name } className = "col" >
36
36
< Card id = { 'guest_' + name } >
37
37
< CardImg src = { avatar } />
38
38
< CardBody >
@@ -106,7 +106,7 @@ export default () => (
106
106
< img className = { style . qrcode } src = { qrcode } />
107
107
< p className = "mt-0" >
108
108
{ t ( 'special_thanks' ) }
109
- < a target = "_blank" href = "http://918930.lofter.com" >
109
+ < a target = "_blank" href = "http://918930.lofter.com" rel = "noreferrer" >
110
110
BBD - { t ( 'wang_bo' ) }
111
111
</ a >
112
112
@@ -119,5 +119,5 @@ export default () => (
119
119
/>
120
120
</ Ratio >
121
121
</ footer >
122
- </ >
123
- ) ;
122
+ </ div >
123
+ ) ) ;
0 commit comments