mirror of
https://github.com/mue/mue.git
synced 2026-06-11 19:18:57 +02:00
chore: update i18n on 7.0, fix link not opening in new tab
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
"license": "BSD-3-Clause",
|
||||
"version": "7.0.0",
|
||||
"dependencies": {
|
||||
"@eartharoid/i18n": "1.0.4",
|
||||
"@eartharoid/i18n": "1.1.0",
|
||||
"@emotion/react": "^11.10.0",
|
||||
"@emotion/styled": "^11.10.0",
|
||||
"@floating-ui/react-dom": "^1.0.0",
|
||||
|
||||
@@ -45,11 +45,19 @@ export default function Items({
|
||||
<span className="subtitle">{collection.description}</span>
|
||||
</div>
|
||||
{collection.news === true ? (
|
||||
<a className="collectionButton" href={collection.news_link}>
|
||||
<a
|
||||
className="collectionButton"
|
||||
href={collection.news_link}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
{variables.getMessage('modals.main.marketplace.learn_more')} <MdOutlineOpenInNew />
|
||||
</a>
|
||||
) : (
|
||||
<button className="collectionButton" onClick={() => collectionFunction(collection.name)}>
|
||||
<button
|
||||
className="collectionButton"
|
||||
onClick={() => collectionFunction(collection.name)}
|
||||
>
|
||||
<MdOutlineArrowForward />{' '}
|
||||
{variables.getMessage('modals.main.marketplace.explore_collection')}
|
||||
</button>
|
||||
@@ -80,11 +88,13 @@ export default function Items({
|
||||
) : null}
|
||||
{items.length <= 8 ? (
|
||||
<span className="subtitle">
|
||||
{variables.getMessage('modals.main.marketplace.product.showing')} {items.length} / {items.length}
|
||||
{variables.getMessage('modals.main.marketplace.product.showing')} {items.length} /{' '}
|
||||
{items.length}
|
||||
</span>
|
||||
) : (
|
||||
<span className="subtitle">
|
||||
{variables.getMessage('modals.main.marketplace.product.showing')} {count} / {items.length}
|
||||
{variables.getMessage('modals.main.marketplace.product.showing')} {count} /{' '}
|
||||
{items.length}
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user