feat(directory): updated info style
This commit is contained in:
@@ -166,21 +166,30 @@ export default function Home() {
|
||||
return (
|
||||
<section>
|
||||
{
|
||||
officalUpdate.length > operators.length && (
|
||||
officalUpdate.length === operators.length && (
|
||||
<section>
|
||||
<section className={classes['offical-update']}>
|
||||
<section className={classes.info}>
|
||||
<section className={classes.content}>
|
||||
<section className={classes.text}>{officalUpdate.length - operators.length} {i18n("new_op_wait_to_update")}</section>
|
||||
{officalUpdate[officalUpdate.latest].map((entry, index) => {
|
||||
return (
|
||||
<section key={index} className={classes.list}>
|
||||
{`${i18n(entry.type)}: ${entry.codename[language]}`}
|
||||
return (
|
||||
<section className={classes.container} key={index}>
|
||||
<section className={classes.type}>
|
||||
<CharIcon
|
||||
type={entry.type}
|
||||
viewBox={
|
||||
entry.type === 'operator' ? '0 0 88.969 71.469' : '0 0 94.563 67.437'
|
||||
} />
|
||||
</section>
|
||||
)
|
||||
})}
|
||||
<section className={classes.title}>
|
||||
{entry.codename[language]}
|
||||
</section>
|
||||
</section>
|
||||
)
|
||||
})}
|
||||
</section>
|
||||
|
||||
|
||||
</section>
|
||||
<section className={classes.date}>{officalUpdate.latest}</section>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user