1- import { Card , CardBody , CardImg , CardTitle , Button , Ratio } from 'boot-cell' ;
1+ import { Button , Card , CardBody , CardImg , CardTitle , Ratio } from 'boot-cell' ;
22import {
33 Accordion ,
44 AccordionBody ,
55 AccordionHeader ,
66 AccordionItem
77} 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' ;
139
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' ;
1515
16- export default ( ) => (
17- < >
16+ export default observer ( ( ) => (
17+ < div >
1818 < main className = "container" >
1919 < header id = { style . logo } >
2020 < img className = "w-100" src = { banner } />
@@ -32,7 +32,7 @@ export default () => (
3232 </ h2 >
3333 < div className = "row row-cols-1 row-cols-sm-2 row-cols-md-4 g-3" >
3434 { guests ( ) . map ( ( { avatar, name, description } ) => (
35- < div className = "col" key = { name } >
35+ < div key = { name } className = "col" >
3636 < Card id = { 'guest_' + name } >
3737 < CardImg src = { avatar } />
3838 < CardBody >
@@ -106,7 +106,7 @@ export default () => (
106106 < img className = { style . qrcode } src = { qrcode } />
107107 < p className = "mt-0" >
108108 { t ( 'special_thanks' ) }
109- < a target = "_blank" href = "http://918930.lofter.com" >
109+ < a target = "_blank" href = "http://918930.lofter.com" rel = "noreferrer" >
110110 BBD - { t ( 'wang_bo' ) }
111111 </ a >
112112
@@ -119,5 +119,5 @@ export default () => (
119119 />
120120 </ Ratio >
121121 </ footer >
122- </ >
123- ) ;
122+ </ div >
123+ ) ) ;
0 commit comments